SA-MP Forums Archive
Random CMDS ain't working - 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: Random CMDS ain't working (/showthread.php?tid=300222)



Random CMDS ain't working - DJ123 - 29.11.2011

Hello,

Currently I'm having a little problem. Just random commands aren't working. What can cause the problem? I am using ZCMD for commands. For example my /slap command is working but my /test command ain't working, example of a test command:
pawn Код:
CMD:test(playerid, params[])
{
    return 1;
}
This is so fucking strange and annoying, I think I'm returning everything correct.


Re: Random CMDS ain't working - Kostas' - 29.11.2011

Show us the code here, if you don't mind, to fix it.
Also, explain me if you can, what about random commands. Do you mean by this?


Re: Random CMDS ain't working - DJ123 - 29.11.2011

What you want me to show if I don't know where the fail is. About the random commands: Just some commands works but some not, the command aren't bugged they just perfectly scripted. I just want to know what can cause the problem.


Re: Random CMDS ain't working - Kostas' - 29.11.2011

pawn Код:
CMD:test(playerid, params[])
{
    return 1;
}
This is okay, but the point is about the code inside. You might changed / edited anything and this caused? I am just asking you


Re: Random CMDS ain't working - DJ123 - 29.11.2011

It's a really basic script, I just want to know if someone knows this problem, it's just strange because this never ever happens to me.


Re: Random CMDS ain't working - DJ123 - 29.11.2011

Anyway, I found the problem. There was a bugged stock. Thanks for reply's. ;')