Set/Kill Timer and Pickup for Player - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Set/Kill Timer and Pickup for Player (
/showthread.php?tid=82939)
Set/Kill Timer and Pickup for Player -
Emrets61 - 21.06.2009
As in the example that I want.
Example:
Код:
ex = SetTimer(playerid, "Example", 1000, true);
Код:
KillTimer(playerid, ex);
Код:
pickup = CreatePickup(playerid, pickupid, x,y,z);
Код:
DestroyPickup(playerid, pickup);
This be?
Re: Set/Kill Timer and Pickup for Player -
The_Tough - 21.06.2009
I think yes,but you can add
SetTimerEx,its above the SetTimer
Re: Set/Kill Timer and Pickup for Player -
Emrets61 - 21.06.2009
You give examples? How will?
Re: Set/Kill Timer and Pickup for Player -
Grim_ - 21.06.2009
You will need to delete the 'playerid' param in all of those functions.
Re: Set/Kill Timer and Pickup for Player -
Emrets61 - 22.06.2009
I created code and code is working. My code:
pawn Код:
TA = SetTimerEx("TatilAlani", 1000, false, "i", "playerid");
But this code does not work when entering the game 2 or high people. Where is the problem ?
Re: Set/Kill Timer and Pickup for Player -
Emrets61 - 23.06.2009
Quote:
Originally Posted by Emrets61
I created code and code is working. My code:
pawn Код:
TA = SetTimerEx("TatilAlani", 1000, false, "i", "playerid");
But this code does not work when entering the game 2 or high people. Where is the problem ?
|