02.01.2012, 19:35
mhh, im not sure but i think he meant to check if the time the player entered is in a range you want it to be.
As there could occur bugs if a player enters a negative time value, strings, floats or whatever.
To prevent this just do smth. like this: (this is just an example you have to adjust it to ur needs ofc.)
Hope this helps
As there could occur bugs if a player enters a negative time value, strings, floats or whatever.
To prevent this just do smth. like this: (this is just an example you have to adjust it to ur needs ofc.)
pawn Код:
if(thetime<1)return SendClientMessage(playerid,0xFF0000FF,"The JailTime must be at least 1 minute!");