SA-MP Forums Archive
Checking the parameters - 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: Checking the parameters (/showthread.php?tid=423707)



Checking the parameters - [CG]Milito - 19.03.2013

Hey mates!

I'm trying to optimize my commands, How can I check if the player types a command with MORE parameters?

Example:

/Status HellNo See? That extra parameter "HELLNO", Thats the one I want to check,
The command should be

/Status without parameters

Thanks in-advance


Re: Checking the parameters - MP2 - 19.03.2013

sscanf?


Re: Checking the parameters - [CG]Milito - 19.03.2013

Oh! True!
Thanks