Timer / SetPlayertime
#5

try this:
Код:
if(strcmp(cmdtext, "/noc", true) == 0)
{
SetPlayerTime(playerid, 20 , 0);
KillTimer(czas);
return 1;
}

if(strcmp(cmdtext, "/czas", true) == 0)
{
SetTimer("czas",100,1);
return 1;
}
The /czas command start the Timer again. ( I think )
Reply


Messages In This Thread
Timer / SetPlayertime - by XxerykxX - 24.03.2010, 17:19
Re: Timer / SetPlayertime - by Drake1994 - 24.03.2010, 17:24
Re: Timer / SetPlayertime - by Correlli - 24.03.2010, 17:25
Re: Timer / SetPlayertime - by XxerykxX - 24.03.2010, 17:47
Re: Timer / SetPlayertime - by Drake1994 - 24.03.2010, 18:06
Re: Timer / SetPlayertime - by XxerykxX - 24.03.2010, 19:04
Re: Timer / SetPlayertime - by Drake1994 - 24.03.2010, 20:01
Re: Timer / SetPlayertime - by XxerykxX - 24.03.2010, 20:44

Forum Jump:


Users browsing this thread: 2 Guest(s)