03.07.2012, 12:06
To use sscanf2
in server.cgf
Read this : https://sampforum.blast.hk/showthread.php?tid=120356
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.
Код:
plugins sscanf