/me & /g
#4

pawn Код:
CMD:me(playerid, params[])
{
    new name[MAX_PLAYER_NAME], str[128];
    GetPlayerName(playerid, name, sizeof(name));
    if(isnull(params))
        return SendClientMessage(playerid,COLOR_LIGHTBLUE -1,"[SYNTAX]: /me [Action]");
    format(str,sizeof(str),"%s %s",name, params);
    ProxDetector(30.0, playerid, str, COLOR_LIGHTBLUE, COLOR_LIGHTBLUE, COLOR_LIGHTBLUE, COLOR_LIGHTBLUE, COLOR_LIGHTBLUE);
    return 1;
}
pawn Код:
CMD:g(playerid, params[])
{
    new sendername[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    strreplace(sendername, '_', ' ');
    format(string, sizeof(string), "((Global)) %s: %s", sendername, params);
    SendClientMessageToAll(COLOR_SAEGREEN, string);
    return 1;
}
Reply


Messages In This Thread
/me & /g - by Ghost252 - 14.01.2012, 12:06
Re: /me & /g - by Mean - 14.01.2012, 12:25
Re: /me & /g - by thimo - 14.01.2012, 14:12
Re: /me & /g - by Gooday - 14.01.2012, 14:23
Re: /me & /g - by Ghost252 - 14.01.2012, 14:45
Re: /me & /g - by Mean - 14.01.2012, 15:18
Re: /me & /g - by Scenario - 14.01.2012, 15:24
Re: /me & /g - by Ghost252 - 16.01.2012, 13:44
Re: /me & /g - by Ghost252 - 16.01.2012, 13:54
Re: /me & /g - by Tigerkiller - 16.01.2012, 13:57

Forum Jump:


Users browsing this thread: 1 Guest(s)