Help me, please /a chat
#2

pawn Code:
CMD:a(playerid, params[])
{
    new sendername[MAX_PLAYER_NAME];
    if(!PlayerInfo[playerid][pAdmin] >= 1) return SCM(playerid, COLOR_GREY,"You are not authorized to use this command");
    if(isnull(params)) return SCM(playerid,COLOR_GOLD,"USAGE: /a [chat]");
    GetPlayerName(playerid,sendername,sizeof(sendername));
    format(string,160,"*%d Admin %s: %s",PlayerInfo[playerid][pAdmin],sendername,params);
    SendAdminMessage(COLOR_GOLD, string);
    return 1;
}
Reply


Messages In This Thread
Help me, please /a chat - by Jafet_Macario - 24.08.2011, 10:19
Re: Help me, please /a chat - by =WoR=Varth - 24.08.2011, 10:32
Re: Help me, please /a chat - by Jafet_Macario - 24.08.2011, 10:39
Re: Help me, please /a chat - by =WoR=Varth - 24.08.2011, 10:48
Re: Help me, please /a chat - by Jafet_Macario - 24.08.2011, 11:06

Forum Jump:


Users browsing this thread: 1 Guest(s)