Pawno Eror
#1

Hi i update my streamer and i have this eror

pawn Код:
D:\Desktop Windows 8\Game4Win RolePlay\pawno\include\streamer.inc(297) : warning 202: number of arguments does not match definition
D:\Desktop Windows 8\Game4Win RolePlay\pawno\include\streamer.inc(304) : error 025: function heading differs from prototype
D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\G4W.pwn(5196) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value
line 297 is space
pawn Код:
static const TLD[][] = { ".org", ".net", ".org", ".info", ".ru", ".ro", ".pl", ".tk", ".cc", "forteam", "for-team", "skyzone", "af-school", "afschool", "saveg", "egaming", "e-gaming", "pronion", "prounion", "93.119.26.11", "soft-gaming", "softgaming", "9play", "pro-gaming", "gamebook", "anormal", "b-gaming"};

// Game4Win Roleplay
#define CDP CreatePickup
Line 304
pawn Код:
#define LIME        0x88AA62FF
Line 5196 is } at final
pawn Код:
}
    if(gPlayerLogged[playerid] != 0) { OnPlayerDateUpdateX2(playerid); Update(playerid, pRespectx); Update(playerid, pConnectedTimex); Update(playerid, pPointsx); }
    //OnPlayerUpdateEx(playerid);
    }
Reply
#2

pawn Код:
}
    if(gPlayerLogged[playerid] != 0) { OnPlayerDateUpdateX2(playerid); Update(playerid, pRespectx); Update(playerid, pConnectedTimex); Update(playerid, pPointsx); }
    //OnPlayerUpdateEx(playerid);
    }
It should be most likely:
pawn Код:
{
    if(gPlayerLogged[playerid] != 0) // I just narrowed it to know which '{' goes to its '}'
    {
        OnPlayerDateUpdateX2(playerid);
        Update(playerid, pRespectx);
        Update(playerid, pConnectedTimex);
        Update(playerid, pPointsx);
    }
    //OnPlayerUpdateEx(playerid);
}
Reply
#3

Resolved T/C
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)