Timer Help
#1

Hey ..
i've created a healing pickup which when u pick it up you can heal yourself for some cash ..
anyway i wanted to make timer to force the players to use it only 1 time each 1 min ..
please help me
Reply
#2

Quote:
Originally Posted by hossa
Посмотреть сообщение
Hey ..
i've created a healing pickup which when u pick it up you can heal yourself for some cash ..
anyway i wanted to make timer to force the players to use it only 1 time each 1 min ..
please help me
Use a variable which gets set to 1 when he used the PickUp and starts the timer with
pawn Код:
SetTimerEx(timername[],1000*60,0,"i",playerid);
,than does you forward the timer, creates your Callback to it and sets the variable back to 0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)