SA-MP Forums Archive
What are they? - 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: What are they? (/showthread.php?tid=653845)



What are they? - antixgaming - 14.05.2018

I have a question. What are sscanf parameters. I mean can you give me a list of them. Thanks.


Re: What are they? - Dayrion - 14.05.2018

http://lmgtfy.com/?q=sscanf+samp


Re: What are they? - enzulikeS - 14.05.2018

Код:
if(PlayerInfo[playerid][pMember] != 14) return SendClientMessage(playerid, COLOR_GREY, "To call an ambulance, use /service medic.");
		new action[10], id, sendername[30], giveplayer[30], string[128], Float: X, Float: Y, Float: Z;
		if(sscanf(params, "s[10]u", action, id)) return SendClientMessage(playerid, COLOR_GREY, "Syntax:{FFFFFF} /medic [action] [id]");
in my case, if(sscanf(params, "s[10]u" is used for string, 10 means the number of characters which will be used


Re: What are they? - antixgaming - 14.05.2018

thank you