Little debug handler issue - 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: Little debug handler issue (
/showthread.php?tid=631970)
Little debug handler issue -
ManGoe - 07.04.2017
Код:
We used dbg("global", CORE, "[OnScriptExit] in /gamemodes/sss/core/world/safebox.pwn"); in place of d:3:GLOBAL_DEBUG("[OnScriptExit] in /gamemodes/sss/core/world/safebox.pwn");
Then what do we use in place of
d:1:HANDLER("[box_PickUp] Player %p picked up container %d GEID: %d at %f %f %f", playerid, itemid, box_GEID[itemid], x, y, z);?
Southclaw's Scavenge Survive,
sss/core/world/safebox.pwn, editing that.
Re: Little debug handler issue -
Marricio - 07.04.2017
I'm not sure what you're trying to achieve. Give us some more information about your issue.
Re: Little debug handler issue -
ManGoe - 07.04.2017
I meant
dbg("global", CORE, "[OnScriptExit] in /gamemodes/sss/core/world/safebox.pwn");
Was replaced by
d:3:GLOBAL_DEBUG("[OnScriptExit] in /gamemodes/sss/core/world/safebox.pwn");
then what should be replaced by
d:1:HANDLER("[box_PickUp] Player %p picked up container %d GEID: %d at %f %f %f", playerid, itemid, box_GEID[itemid], x, y, z);