need help
#2

PHP код:
#include <a_samp>

forward test(playerid);

new 
timer;
new 
count 120

public 
OnPlayerCommandText(playeridcmdtext[])
{
    if(
strcmp("/startcount"cmdtexttrue11) == 0)
    {
        
timer SetTimerEx("test"10000"d"playerid);
        return 
1;
    }
}
public 
test(playerid)
{
    
count--;
    new 
string[24];
    
format(stringsizeof(string), "Please wait: %d"count); 
    return 
GameTextForPlayer(playeridstring1005);

Reply


Messages In This Thread
need help - by lanix - 12.08.2015, 13:03
Re: need help - by jlalt - 12.08.2015, 13:05
Re: need help - by lanix - 12.08.2015, 13:11
Re: need help - by jlalt - 12.08.2015, 13:23
Re: need help - by lanix - 12.08.2015, 14:00
Re: need help - by jlalt - 12.08.2015, 14:04
Re: need help - by lanix - 12.08.2015, 14:10
Re: need help - by jlalt - 12.08.2015, 19:06
Re: need help - by lanix - 12.08.2015, 20:03
Re: need help - by jlalt - 12.08.2015, 20:41

Forum Jump:


Users browsing this thread: 1 Guest(s)