Anti Command Spam
#9

Quote:
Originally Posted by Hawky133
View Post
Oh sorry.
Change
pawn Code:
public OnPlayerCommandPerformed(playerid, cmdtext[], success){
    if(success){
        lastcommand[playerid]=gettime();
        //sets the variable to the current UNIX timestamp- see below for details
    }
}
to

pawn Code:
public OnPlayerCommandPerformed(playerid, cmdtext[], success){
    if(success){
        lastcommand[playerid]=gettime();
        //sets the variable to the current UNIX timestamp- see below for details
    }
    return 1;//Forgot this!
}
and now its not working nothing happens.. i have a Luxadmin filterscript with anti spam should i disable it or remove from the script?
Reply


Messages In This Thread
Anti Command Spam - by kbalor - 25.06.2012, 16:30
Re: Anti Command Spam - by Hawky133 - 25.06.2012, 16:39
Re: Anti Command Spam - by kbalor - 25.06.2012, 16:43
Re: Anti Command Spam - by leonardo1434 - 25.06.2012, 17:04
Re: Anti Command Spam - by kbalor - 25.06.2012, 17:13
Re: Anti Command Spam - by Hawky133 - 25.06.2012, 17:16
Re: Anti Command Spam - by kbalor - 25.06.2012, 17:24
Re: Anti Command Spam - by Hawky133 - 25.06.2012, 17:27
Re: Anti Command Spam - by kbalor - 25.06.2012, 17:33
Re: Anti Command Spam - by Hawky133 - 25.06.2012, 19:40

Forum Jump:


Users browsing this thread: 2 Guest(s)