A question for all
#2

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
Reply


Messages In This Thread
A question for all - by IuLyAnBoSs - 03.07.2012, 11:59
Re: A question for all - by [MM]RoXoR[FS] - 03.07.2012, 12:06

Forum Jump:


Users browsing this thread: 1 Guest(s)