Help please!
#7

unless you want it that you cant spam 3 different commands, than you could just do this:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext)
{
    spam[playerid]++;
    if(spam[playerid] >=3) {
       SendClientMessage(playerid, RED, "Stop spamming wait 5 sec.");
       SetTimerEx("antispam", 30000, false, "i", playerid);
    }
   return 0;
}
Reply


Messages In This Thread
Help please! - by BigNewBie - 03.06.2009, 13:31
Re: Help please! - by robanswe - 03.06.2009, 13:34
Re: Help please! - by Think - 03.06.2009, 13:37
Re: Help please! - by Correlli - 03.06.2009, 13:38
Re: Help please! - by Think - 03.06.2009, 13:39
Re: Help please! - by BigNewBie - 03.06.2009, 14:12
Re: Help please! - by Think - 03.06.2009, 14:15
Re: Help please! - by BigNewBie - 03.06.2009, 14:27
Re: Help please! - by Backwardsman97 - 03.06.2009, 14:30
Re: Help please! - by BigNewBie - 03.06.2009, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)