SA-MP Forums Archive
[sampgdk] WARNING: Native function not found: DestroyPlayerObject - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: [sampgdk] WARNING: Native function not found: DestroyPlayerObject (/showthread.php?tid=534905)



[sampgdk] WARNING: Native function not found: DestroyPlayerObject - DarK_FeneR - 31.08.2014

Hello there, i find a bug, think. When i've added a pawn code
pawn Код:
public OnPlayerConnect(playerid)
{
    if (strcmp(pName, "[AFK]", true, 5) == 0)
    {
        strdel(pName, 0, 5);
        SetPlayerName(playerid, pName);
        SendClientMessage(playerid, COLOR_GIALLO, "[AFK]Ti и stata tolta la tag [AFK] (и usata dal server per indicare giocatori Away From the Keyboard (AFK))");
    }
    return 1;
}
when i start and connect on my server give me this warning

Код:
[00:15:02] [sampgdk] WARNING: Native function not found: DestroyPlayerObject

[00:15:02] [sampgdk] WARNING: Native stub

[00:15:02] [sampgdk] WARNING: Native stub

[00:15:02] [sampgdk] WARNING: Native stub

[00:15:02] [sampgdk] WARNING: Native stub
It's a my scripting error or bug of the function?


Re: [sampgdk] WARNING: Native function not found: DestroyPlayerObject - xeeZ - 01.09.2014

Which plugins are you using? One of them appears to be bugged.