Doesn't match definition;Differs from prototype
#2

The warning and error are from the sscanf2 include file, not the script.

From what I see, the problem is about OnPlayerDisconnect.

From sscanf2.inc:
pawn Код:
// lines 224-241:
    public OnPlayerDisconnect(playerid, reason)
    {
        #if defined SSCANF_OnPlayerDisconnect
            SSCANF_OnPlayerDisconnect(playerid, reason);
        #endif
        SSCANF_Leave(playerid);
        return 1;
    }

    #if defined _ALS_OnPlayerDisconnect
        #undef OnPlayerDisconnect
    #else
        #define _ALS_OnPlayerDisconnect
    #endif
    #define OnPlayerDisconnect SSCANF_OnPlayerDisconnect
    #if defined SSCANF_OnPlayerDisconnect
        forward SSCANF_OnPlayerDisconnect(playerid, reason);
    #endif
Is it different on your include or in the script OnPlayerDisconnect does not have 2 parameters?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)