Check if player is in a pickup
#3

when you enter the pickup, set a variable containing the actual GetTickCount(), and when the command gets called, compare the stored ticks with the actual ticks: if GetTickCount()-StoredTicks[playerid]<3000, then perform the command, else abort.
Reply


Messages In This Thread
Check if player is in a pickup - by LiamM - 12.01.2012, 17:17
Re: Check if player is in a pickup - by Jakku - 12.01.2012, 17:17
Re: Check if player is in a pickup - by Babul - 12.01.2012, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)