NPC callbacks not being called within npcmode
#1

Hi. None of the callbacks in my npcmode are being called

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");  

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.
Reply


Messages In This Thread
[solved] NPC callbacks not being called within npcmode - by jbankss - 12.06.2017, 16:32

Forum Jump:


Users browsing this thread: 2 Guest(s)