SSCANF OR ZCMD? - 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: SSCANF OR ZCMD? (
/showthread.php?tid=626581)
SSCANF OR ZCMD? - iLearner - 17.01.2017
Recently i've updated the YSI library to latest due to some problems, but now i realized some of (mostly admin commands) send usage message even tho delivering all parameters, and some work properly, what could be causing it?
I use zcmd for all of my cmds, and sscanf.
Re: SSCANF OR ZCMD? -
YouHack - 17.01.2017
Using two command functions may be the cause.
Try to use ZCMD only, i prefer it, it's faster and less complicated than sscanf.
Quote:
CMD:command(playerid, params[])
{
//
}
|
looks easy right ?
Re: SSCANF OR ZCMD? -
RyderX - 17.01.2017
Quote:
Originally Posted by YouHack
Using two command functions may be the cause.
Try to use ZCMD only, i prefer it, it's faster and less complicated than sscanf.
looks easy right ? 
|
Re: SSCANF OR ZCMD? - iLearner - 17.01.2017
Sir sscanf and zcmd are 2 different things, sir.
Anyway, i fixed it myself with some effort.
Re: SSCANF OR ZCMD? -
saffierr - 17.01.2017
I'd appreciate your solution on behalf of the forum, to prefent people on posting the same topics each and every time.
Re: SSCANF OR ZCMD? -
YouHack - 17.01.2017
Quote:
Originally Posted by RyderX
|
A callback is obligated :P
Quote:
Originally Posted by iLearner
Sir sscanf and zcmd are 2 different things, sir.
Anyway, i fixed it myself with some effort.
|
I know but using 2 command functions might be complicated enough to ruin your script xD, that what i told you about :/
Anyway good luck with your script.
Re: SSCANF OR ZCMD? -
GoldenLion - 17.01.2017
Quote:
Originally Posted by YouHack
A callback is obligated :P
I know but using 2 command functions might be complicated enough to ruin your script xD, that what i told you about :/
Anyway good luck with your script.
|
sscanf itself has nothing to do with the commands.
Re: SSCANF OR ZCMD? -
Yaa - 17.01.2017
Quote:
Originally Posted by YouHack
I know but using 2 command functions might be complicated enough to ruin your script xD, that what i told you about :/
|
well
....
Re: SSCANF OR ZCMD? -
RyderX - 17.01.2017
Quote:
Originally Posted by Yaa
well
....

|
Dude? stop post haunting bumping thread after 5 Hours,and wrote
WELL ... :PICARD: And by the way stop this
it's annoying be friendly dude ur looking dumb
Re: SSCANF OR ZCMD? -
Yaa - 17.01.2017
Quote:
Originally Posted by RyderX
Dude? stop post haunting bumping thread after 5 Hours,and wrote WELL ... :PICARD: And by the way stop this it's annoying be friendly dude ur looking dumb
|
i like it lol