2 /me problems
#8

try using zcmd and sscanf first and
pawn Код:
CMD:me(playerid, params[])
{
       new Reasons[128],str[128],Name[MAX_PLAYER_NAME];
    if(sscanf(params,"s", Reasons)) return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [Text]");
    GetPlayerName(playerid,Name, sizeof(Name));
    format(str, sizeof(str), "* %s %s", Name, Reasons);
    SendClientMessageToAll(0xFF9900AA, str);
    return 1;
}
Reply


Messages In This Thread
2 /me problems - by MadalinX5 - 10.08.2011, 14:29
Re: 2 /me problems - by Aprezt - 10.08.2011, 14:34
Re: 2 /me problems - by Anzhelov - 10.08.2011, 15:14
Re: 2 /me problems - by MadeMan - 10.08.2011, 15:21
Re: 2 /me problems - by meD maN - 10.08.2011, 16:46
Re: 2 /me problems - by Aprezt - 10.08.2011, 16:49
Re: 2 /me problems - by Anzhelov - 10.08.2011, 17:39
Re: 2 /me problems - by Tanush123 - 10.08.2011, 17:40
Re: 2 /me problems - by [MG]Dimi - 10.08.2011, 18:04
Re: 2 /me problems - by meD maN - 10.08.2011, 20:36
Re: 2 /me problems - by MadalinX5 - 10.08.2011, 20:37
Re: 2 /me problems - by meD maN - 10.08.2011, 23:35
Re: 2 /me problems - by Zonoya - 10.08.2011, 23:44
Re: 2 /me problems - by Zonoya - 10.08.2011, 23:48

Forum Jump:


Users browsing this thread: 3 Guest(s)