Jump to content
  • 0

Problema compilare/sistem


Appolo7331

Question

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).

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • -1
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.