SA-MP Forums Archive
A question for all - 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: A question for all (/showthread.php?tid=356352)



A question for all - IuLyAnBoSs - 03.07.2012

So.
Sscanf2 with samp server can help?
March could not understand what this plugin help.
Please enlightened me.
Thank you.


Are very bad with English. sorry


Re: A question for all - [MM]RoXoR[FS] - 03.07.2012

To use sscanf2

pawn Код:
#include <sscanf2>

dcmd_mute(playerid, params[])
{

new targetid,reason[30];
if(sscanf(params, "us[30]", targetid,reason)) return SendClientMessage(playerid, red, "ERROR MESSAGE HERE");
//here is scanfs if targetid  is either a playerid/name and reason is a string.
in server.cgf
Код:
plugins sscanf
Read this : https://sampforum.blast.hk/showthread.php?tid=120356