Debug with spawn timer
#7

Ok wait
If i got this

Код:
dcmd_v(playerid, params[])
{
static Count[MAX_PLAYERS], Time_To_Wait = 30; //in s
if(Time_To_Wait > (tickcount() - Count[playerid]) / 1000) 
return SendClientMessage(playerid, COLOR_RED, "You need to wait a while till you can spawn a new vehicle");
Count[playerid] = tickcount();

return true;
}
What do i have to change? (im not really good at scripting yet.)
Reply


Messages In This Thread
Debug with spawn timer - by Hef - 19.02.2009, 09:41
Re: Debug with spawn timer - by kc - 19.02.2009, 09:53
Re: Debug with spawn timer - by Hef - 19.02.2009, 09:55
Re: Debug with spawn timer - by kc - 19.02.2009, 09:58
Re: Debug with spawn timer - by Hef - 19.02.2009, 09:59
Re: Debug with spawn timer - by kc - 19.02.2009, 10:00
Re: Debug with spawn timer - by Hef - 19.02.2009, 10:04

Forum Jump:


Users browsing this thread: 1 Guest(s)