/asay command [REP+]
#5

pawn Code:
CMD:a(playerid, params[]){
    if(PlayerInfo[playerid][pAdmin] < 1) return 0;
    if(sscanf(params,"u", strings)) return SendClientMessage(playerid,COLOR_LIGHTBLUE, "USAGE: {FFFFFF}/a [text]");
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, sizeof(Name));
    format(strings, sizeof(strings), "Admin %s: %s", params, name);
    SendClientMessageToAll(0x1874CDAA, strings);
    return 1;
}
^^ version with name

EDIT: NVM u all too fast.
Reply


Messages In This Thread
/asay command [REP+] - by [FoR]EveR - 22.03.2012, 15:29
Re: /asay command [REP+] - by Bogdan1992 - 22.03.2012, 15:31
Re: /asay command [REP+] - by Twisted_Insane - 22.03.2012, 15:32
Re: /asay command [REP+] - by [FoR]EveR - 22.03.2012, 15:34
Re: /asay command [REP+] - by AlTy - 22.03.2012, 15:35
Re: /asay command [REP+] - by Bogdan1992 - 22.03.2012, 15:37
Re: /asay command [REP+] - by [FoR]EveR - 22.03.2012, 15:37
Re: /asay command [REP+] - by Edvin - 22.03.2012, 15:38
Re: /asay command [REP+] - by Ronaldo_raul™ - 22.03.2012, 15:43
Re: /asay command [REP+] - by XinGeR - 31.12.2014, 13:00

Forum Jump:


Users browsing this thread: 1 Guest(s)