SA-MP Forums Archive
Problem zcmd command Stats - 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: Problem zcmd command Stats (/showthread.php?tid=500022)



Problem zcmd command Stats - Cam972 - 10.03.2014

(Sorry for the English i'm french)

Hi, I have problem with the stats command.

When i use it, i have : Server unknown

: This is my script :

http://pastebin.com/N6uKfB0V


Re : Problem zcmd command Stats - Golimad - 10.03.2014

Use instead of a public function, stocks ..
Remove the forward and public function and use instead :
pawn Код:
stock ShowStats(playerid,targetid)
{
same script
}
I hope this works ..


Re : Problem zcmd command Stats - Cam972 - 10.03.2014

doesn't work :/


Re : Problem zcmd command Stats - Cam972 - 11.03.2014

up :/


Re: Problem zcmd command Stats - MP2 - 11.03.2014

Add debug messages so you can see where the script is crashing.

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


Re : Problem zcmd command Stats - Cam972 - 11.03.2014

Fixed ! thanks, The problem was a "coordstring" too large


Re : Problem zcmd command Stats - Cam972 - 11.03.2014

Sorry for the double-post, If you meet the same problem, use : https://sampforum.blast.hk/showthread.php?tid=331688