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


Forum Jump:


Users browsing this thread: 1 Guest(s)