big prob - 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: big prob (
/showthread.php?tid=280769)
big prob -
fordawinzz - 02.09.2011
hello, I have a big problem.. so, when I type in chat '/stats' it takes me the '/s(hout)' command and i get this:
me shouts: tats!!
wtf?!?!
Re: big prob -
Vince - 02.09.2011
I presume you still use strcmp commands? I could go into detail as to why this happens, but I don't have the fut to do that right now. To solve it, move your stats command above the shout command.
Re: big prob -
=WoR=G4M3Ov3r - 02.09.2011
Shout should be like this
/(s)hout
not /s(hout)
fix it in your GM
Re: big prob -
fordawinzz - 02.09.2011
hmm, yes, i use strcmp, but it isn't the problem..
gameover - it itsn't that, every command I use it's the same prob.
1 day ago worked fine, idk what happened oO
Re: big prob -
=WoR=G4M3Ov3r - 02.09.2011
show me the lines of your /(s)hout and /stats
example
PHP код:
if(strcmp(cmd, "/shout", true) == 0 || strcmp(cmd, "/s", true) == 0)
I'm sure you edited something
Re: big prob -
fordawinzz - 02.09.2011
added a backup so fixed, I don't waste my time finding out what I did