SA-MP Forums Archive
/stats command returning 0 - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /stats command returning 0 (/showthread.php?tid=100804)



/stats command returning 0 - _Vortex - 06.10.2009

Hey, when I try to view my stats, it says "SERVER: Unknown command".. I'm not sure why.

Here's the command: (I would post it at pastebin.com, but it's not loading for me for some reason.)
http://pastebin.ca/1599062


Re: /stats command returning 0 - MenaceX^ - 06.10.2009

pastebin.com is not working for me neither.
OK, the problem is you don't return the command, you only return the if statements, I suggest you to remove the returns from there and add one for the command itself.


Re: /stats command returning 0 - _Vortex - 06.10.2009

Quote:
Originally Posted by MenaceX^
pastebin.com is not working for me neither.
OK, the problem is you don't return the command, you only return the if statements, I suggest you to remove the returns from there and add one for the command itself.
I'll give it a shot, thanks.

Something like this? http://pastebin.ca/1599084


Re: /stats command returning 0 - MenaceX^ - 06.10.2009

Yea I suggest you to try because it's pretty hard to look through this identitation.


Re: /stats command returning 0 - _Vortex - 06.10.2009

Quote:
Originally Posted by MenaceX^
Yea I suggest you to try because it's pretty hard to look through this identitation.
I ended up just editing the whole command, because everything that I was trying wasn't working :P


Re: /stats command returning 0 - UsaBoy91 - 06.10.2009

i give you a evidence
pawn Код:
new string[128];



Re: /stats command returning 0 - _Vortex - 06.10.2009

Quote:
Originally Posted by Angel φ
i give you a evidence
pawn Код:
new string[128];
Quote:
Originally Posted by [B
Vortex ]
Quote:
Originally Posted by MenaceX^
Yea I suggest you to try because it's pretty hard to look through this identitation.
I ended up just editing the whole command, because everything that I was trying wasn't working :P
Meaning i fixed it.