commands - 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: commands (
/showthread.php?tid=104478)
commands -
thuron - 24.10.2009
when i have commands like this:
Код:
if(!strcmp("/dm", cmdtext, true,3))
i cannot make any more commands that begin with "/dm" or it will just keep doing the 1st command. how can i make it so, that i can also make more commands, like dm and dmteams?...
Re: commands -
dice7 - 24.10.2009
Remove the numbers from your strcmp calls
Re: commands -
thuron - 24.10.2009
thank you!