SA-MP Forums Archive
Any way to log all callback calls? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Any way to log all callback calls? (/showthread.php?tid=365286)



Any way to log all callback calls? - Siralos - 02.08.2012

Hi all,

I'm having problem with NPC connecting but not spawning; I have inserted a check in all (or at least I think so) callbacks similar to this:

if(IsPlayerNPC(playerid)) return 1;

Is there a way to get a log of all the callback logs to see if I am missing some of them?

Thanks and regards,

Siralos


Re: Any way to log all callback calls? - Stigg - 02.08.2012

Use:

https://sampwiki.blast.hk/wiki/Print

In your callbacks, to see if they are being called.
Is that what you mean ??