Basic Timer help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Basic Timer help (
/showthread.php?tid=326958)
Basic Timer help -
Gooday - 19.03.2012
Hello guys I need a little Timer who sets with a command (/follow) a marker every 5 secs.
I just need to add every 5 secs a checkpoint:
pawn Код:
CMD:follow(playerid, params[])
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerCheckpoint(i, X, Y, Z, 5.0);
return 1;
}
And a command like /stopfollow who stops the timer and the CP creation. +REP!
Re: Basic Timer help -
Gooday - 19.03.2012
Sorry for bumb but I really need this