SetTimerEx
#2

Make a global variable, once a player uses a pickup set the variable to 1 and use SetTimerEx which will stop after however many seconds, and then when the timer ends set the variable to 0. Under where you're picking up the pickup, make sure that you are checking if the player's variable is set to 1 or 0, if it's 1 then don't let them do whatever the pickup does. Ps: make sure the global variable is arrayed with MAX_PLAYERS.
Reply


Messages In This Thread
SetTimerEx - by CesarLT - 22.09.2013, 23:03
Re: SetTimerEx - by DanishHaq - 22.09.2013, 23:07
Re: SetTimerEx - by CesarLT - 22.09.2013, 23:09
Re: SetTimerEx - by jakejohnsonusa - 23.09.2013, 01:05
Re: SetTimerEx - by CesarLT - 23.09.2013, 01:46
Re: SetTimerEx - by jakejohnsonusa - 23.09.2013, 01:51
AW: SetTimerEx - by BigETI - 23.09.2013, 03:49
Re: SetTimerEx - by CesarLT - 23.09.2013, 09:46

Forum Jump:


Users browsing this thread: 1 Guest(s)