Problem with this
#1

Hello,i maked a small limit to vehicles,players must wait 5 seconds each before entering in a vehicle:

OnPlayerStateChange

pawn Код:
if(GetPVarInt(playerid,"VWTIMER")>GetTickCount())return SendClientMessage(playerid,0xFF0000FF,"You must wait 5 seconds before entering in a vehicle again.");
   SetPVarInt(playerid,"VWTIMER",GetTickCount()+5000);
   RemovePlayerFromVehicle(playerid);
But dont work,what's wrong?
Reply


Messages In This Thread
Problem with this - by Face9000 - 13.01.2012, 10:19
Re: Problem with this - by JamesC - 13.01.2012, 10:37
Re: Problem with this - by Face9000 - 13.01.2012, 10:43

Forum Jump:


Users browsing this thread: 1 Guest(s)