Help with jail timer and when connecting will check if in jail
#9

Quote:
Originally Posted by PaulDinam
View Post
I made something like this
PrisonTimer[playa] = SetTimerEx("SetFree", money * 60000, false, "d", playa);

and how i make that onplayerconnect it will check if he has time
Save the array upon player disconnect. And then when he connects again, assign the saved value to the array and check.

pawn Code:
if(PrisonTimer[playerid] > 0)
     JailThePlayer(playerid);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)