06.03.2018, 15:39
Quote:
I have theese
Код:
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; |
Are you sure the recording you use is correct?
The reason you don't see the print messages is because they aren't logged to the server console. NPCs are seperate processes but they don't have a console window where you'd see the messages.