SA-MP Forums Archive
sscanf needing help - 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 needing help (/showthread.php?tid=401124)



sscanf needing help - James Bob - 21.12.2012

Could someone help me with ' sscanf ' with like

Abuser: /ban Willowfield hahah

SendClientMessage, playerid COLOR_LIGHTBLUE " You cannot touch the Willowfield "

Like something like that, i've never scripted in sscanf before so kinda learning it.

Would some please show me how to, thanks.


Re: sscanf needing help - LarzI - 21.12.2012

http://forum.sa-mp.com/showthread.ph...ghlight=sscanf

If you read this tutorial, I'm sure you'll understand how it's used. It's an easy-to-read tutorial explaining the basic functions of sscanf.

Also: I hope you're using zcmd with it, as it's the best combination (imo). You could also use y_commands, though.