Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: [GCK]KoFFe on January 12, 2011, 06:56:10 pm
-
guys what is tickcount??
gettickcount??
i want to run a clock on my server please tell me any code
-
Help here
i saw tickcount from time.inc
i want to run the clock like mirc any one help me plz
-
TickCount returns the number of seconds elapsed.
For example:
Time1=GetTickCount();
Time2=GetTickCount();
Time2-Time1 will be the seconds elapsed between the execution of the above two statements.
-
thx :)
but what is KillTimer?
how to use it!!
-
hiiiiiiiii.........
i am [GCK]Avinash
-
To start a timer:
new MyTimer;
MyTimer=SetTimer("HealAll",1000,true);
It will call the HealAll() function infinite times in 1 second interval.
The timerid for that timer is saved in MyTimer variable.
so on
KillTimer(MyTimer);
The timer will stop.
-
thx but if i had a timer running on Gamemodeinit()
then how to close it and it will automatically start after 15 mins :) i had try this its not works but Bugged
its sick script
SetTimer("putoutofcar",300000,0);