18.03.2012, 08:02
you do not need sscanf for that you could just
pawn Код:
CMD:me(playerid, params[])
{
new string[128], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /me <text>");
format(string,sizeof(string),"*%s %s",pname,msg);
SendClientMessageToAll(COLOR_GREY,string);
return 1;
}