31.08.2014, 22:30
Hello there, i find a bug, think. When i've added a pawn code
when i start and connect on my server give me this warning
It's a my scripting error or bug of the function?
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;
}
Код:
[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