Set/Kill Timer and Pickup for Player
#1

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?
Reply
#2

I think yes,but you can add
SetTimerEx,its above the SetTimer
Reply
#3

You give examples? How will?
Reply
#4

You will need to delete the 'playerid' param in all of those functions.
Reply
#5

I created code and code is working. My code:

pawn Код:
TA = SetTimerEx("TatilAlani", 1000, false, "i", "playerid");
pawn Код:
KillTimer(TA);
But this code does not work when entering the game 2 or high people. Where is the problem ?
Reply
#6

Quote:
Originally Posted by Emrets61
I created code and code is working. My code:

pawn Код:
TA = SetTimerEx("TatilAlani", 1000, false, "i", "playerid");
pawn Код:
KillTimer(TA);
But this code does not work when entering the game 2 or high people. Where is the problem ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)