SA-MP Forums Archive
help with zcmd 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help with zcmd parameters (/showthread.php?tid=259379)



help with zcmd parameters - Gonad - 04.06.2011

i have a command with zcmd, but i need to get the parameters like /colour 1 2. how do i do this?


Re: help with zcmd parameters - Gonad - 04.06.2011

ffs anyone?


Re: help with zcmd parameters - Gonad - 04.06.2011

HELP IT SIMPLE PROBLEM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Re: help with zcmd parameters - Famalamalam - 04.06.2011

Use sscanf....


Re: help with zcmd parameters - linuxthefish - 04.06.2011

Calm down first, and don't bump so soon!


Re: help with zcmd parameters - Gonad - 04.06.2011

HOW?


Re: help with zcmd parameters - Famalamalam - 04.06.2011

https://sampforum.blast.hk/showthread.php?tid=120356 - sscanf plug-in.

https://sampwiki.blast.hk/wiki/Fast_Commands#sscanf - How to use it.

The rest is up to you.


Re: help with zcmd parameters - Gonad - 04.06.2011

i know how to use one parameter, how do i have two like /colour id id or even 3 params


Re: help with zcmd parameters - Max_Coldheart - 04.06.2011

pawn Код:
new tmp, tmp2;
Quote:
Originally Posted by SA-MP
This forum requires that you wait 120 seconds between posts. Please try again in 55 seconds.



Re: help with zcmd parameters - LiamM - 04.06.2011

Okay first listen to everyone else, Have you got the scanff plugin?