SA-MP Forums Archive
[HELP] Command - 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: [HELP] Command (/showthread.php?tid=511959)



[HELP] Command - monster010 - 08.05.2014

Код:
error 017: undefined symbol "params"
pawn Код:
if(strcmp(cmd, "/bet", true) == 0)
    {
            new horse, cash;
            if(!sscanf(params,"ii",horse, cash) && horse < 5 && horse > 0 && cash <= CashHigherBounds && cash >= CashLowerBounds)
            {
.
.
.
.



Re: [HELP] Command - Konstantinos - 08.05.2014

Change both "params" and "cmd" to "cmdtext".