Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Question

Posted

Am adaugat un sistem anti troll hack (avansat + testat pe gm baza).

Cum pot rezolva: 

 error 010: invalid function or declaration
 error 010: invalid function or declaration
 error 017: undefined symbol "defer"


 warning 202: number of arguments does not match definition
Am gasit multe "defer" in sistemu de anti troll (luat din gm eternal times si bagat pe bigzone v1.21).

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

timer antiTrollTimer[ 5000 ]( playerid ) {
    AntiTroll[ playerid ] = 0;
    return true; }

        AntiTroll[ playerid ] ++;
        if( AntiTroll[ playerid ] == 1 ) defer antiTrollTimer( playerid );
        if( AntiTroll[ playerid ] >= 5 ) {
            format( gString, sizeof gString, "Staff Information: %s has been kicked by AdmBot, reason: possible troll-hack.", GetName( playerid ) );
            ABroadCast( COLOR_RED2, gString, 1 );
            KickEx( playerid );
            return false;
        }
 

Edited by Appolo7331
  • 0
Posted

antiTrollTimer[ 5000 ]( playerid ) {
    AntiTroll[ playerid ] = 0;
    return true; }

=>

: error 010: invalid function or declaration
: error 010: invalid function or declaration
: error 017: undefined symbol "antiTrollTimer"

La asta mai am de rezolvat ;)

  • -1
Posted
Acum 5 minute, Appolo7331 a spus:

Am adaugat un sistem anti troll hack (avansat + testat pe gm baza).

Cum pot rezolva: 

 error 010: invalid function or declaration
 error 010: invalid function or declaration
 error 017: undefined symbol "defer"


 warning 202: number of arguments does not match definition
Am gasit multe "defer" in sistemu de anti troll (luat din gm eternal times si bagat pe bigzone v1.21).

Nu ai copiat bine acel sistem :))) variabila defer nu e definita.

Ai mai multe sau mai putine argumente cand apelezi functia fata de cea definita

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.