06.03.2018, 14:58
I have theese
And nothing printed. Just the simply [npc:join] text that you can see in the server log, but the NPC exist. You can see the picture...
statechange is builded well, always returning with 1 and NPC-s just exceptions
Код:
public OnNPCSpawn() { printf("npctest: OnNPCConnect"); return 1; }
Код:
public OnNPCConnect(myplayerid) { printf("npctest: OnNPCConnect(My playerid=%d)", myplayerid); return 1; }
statechange is builded well, always returning with 1 and NPC-s just exceptions
Код:
if(!IsPlayerNPC(playerid)) { .... } return 1;