[sampgdk] WARNING: Native function not found: DestroyPlayerObject
#1

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?
Reply
#2

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


Forum Jump:


Users browsing this thread: 1 Guest(s)