/n chat help please
#2

pawn Код:
new W30SEC;

CMD:n(playerid,params[])
{
    if(GetPVarInt("UsedCmd" == 1))
    {
        SendClientMessage(playerid,-1,"Wait! N00B!");
    }
    SetPVarInt("UsedCmd",1);
    W30SEC = SetTimer("Wait",30000,true);
    SendClientMessage(playerid,-1,"Yay, it r work!");
    return 1;
}

forward Wait();
public Wait()
{
    SetPVarInt("USedCmd",0);
    KillTimer(W30SEC);
    return 1;
}
Might work, I just did this quickly.
Reply


Messages In This Thread
/n chat help please - by darkknight123 - 17.01.2011, 18:01
Re: /n chat help please - by WillyP - 17.01.2011, 18:05
Re: /n chat help please - by Alex_Valde - 17.01.2011, 18:09

Forum Jump:


Users browsing this thread: 1 Guest(s)