strcmp and zcmd with sscanf mixed? - 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: strcmp and zcmd with sscanf mixed? (
/showthread.php?tid=228743)
strcmp and zcmd with sscanf mixed? -
Spiral - 20.02.2011
Hey, I made some zcmd commands, added return 1; to every command, but for some reason the other commands wont work which are made with strcmp. How come? I tried OnPlayerCommandPerformed, but then, it gave me nothing.
Re: strcmp and zcmd with sscanf mixed? -
xRyder - 20.02.2011
I think you can't use bouth.
Re: strcmp and zcmd with sscanf mixed? -
Ash. - 20.02.2011
You can't, as xRyder said.
ZCMD uses a different command processing technique. I take it you are using your "strcmp's" in OnPlayerCommandText?
Re: strcmp and zcmd with sscanf mixed? -
Spiral - 20.02.2011
I am. But yeah I managed that I cant do it myself