12.06.2017, 16:32
(
Последний раз редактировалось jbankss; 12.06.2017 в 17:10.
)
Hi. None of the callbacks in my npcmode are being called
Does anyone have any clues as to why it doesnt work?
Edit: just commented out OnPlayerSpawn and some other callbacks and it works. I'll surely figure out whats going on, thanks.
PHP код:
ConnectNPC("testbot", "test");
PHP код:
// In /npcmodes/test.pwn (.amx)
public OnNPCSpawn() // <--- isnt called (same goes for all of the callbacks I add)
{
SendCommand("/test");
SendChat("OnNPCSpawn");
}
Edit: just commented out OnPlayerSpawn and some other callbacks and it works. I'll surely figure out whats going on, thanks.