Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Castagna on April 26, 2011, 11:33:51 pm
-
Hi guys , well today I will share this useful comand for squirrel by me :) .This command give you the total time(expresed in minutes) , that your server has been hosted , or turned on...
very simple ;D
}
if ( cmd == "host" )
{
MessagePlayer( "The server has been online for" + floor( GetTickCount() / 60000 ) + " minutes.", player );
}
-
floor or float
fix it Babe
MessagePlayer( "The server has been online for" + floor( GetTickCount() / 60000 ) + " minutes.", player );
New hosting !
-
floor or float
fix it Babe
MessagePlayer( "The server has been online for" + floor( GetTickCount() / 60000 ) + " minutes.", player );
New hosting !
Actually, floor() is a valid function in Squirrel. It means to round down to the nearest whole number. Anyways, good job, Castagna!
-
Yes i Forgot About it ... thanks for Reminder :P
-
yea it works lol ;D
-
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Utils/GetTickCount
Nice Copy & Paste..
-
TROLL
-
copy & paste ? lol i created no stealing
i didn't see that example thijin O.O . totally coincidence
-
do you copied castagna? X_X
-
do you copied castagna? X_X
isnt it obvious ?
-
Copy & paste, no coincidence since you knew about squirrel wiki
-
(http://www.allfunnypictures.com/images3/copycats.jpg)
xDD
-
omfg , if i had taken the commando from squirrel wiki , i would't post here -.-
-
Hello (Pawn / Squirrel) Scripter BIG[H],
floor or float
float does not exist.
(In case anymore "(Pawn / Squirrel) Scripter"s get confused)
-
Hello (Pawn / Squirrel) Scripter BIG[H],
floor or float
float does not exist.
(In case anymore "(Pawn / Squirrel) Scripter"s get confused)
Yea That a Really ******* Situation and some Time i use SendClientMessage() instead of Message() In Squirrel ...Then i got confused What Happened to my Script and player.Team is Bugged That's why .... I can't Make a Function of Balancing Team