#4

pawn Код:
CMD:a(playerid, params[])
{
    new sendername[MAX_PLAYER_NAME], string[160];
    if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, COLOR_RED, "GRESKA: "COL_WHITE"Nemas prava za koristenje ove komande.");
    if(isnull(params)) return SCM(playerid, COLOR_CYAN,"KORISTI: "COL_WHITE"/a [text]");
    GetPlayerName(playerid,sendername,sizeof(sendername));
    sendername[strfind(sendername,"_")] = ' ';
    format(string,160,"*AC* Admin %s: %s", sendername, params);
    SendAdminMessage(COLOR_GOLD, string);
    return 1;
}
There you go.
Reply


Messages In This Thread
help - by TiXz0r - 25.12.2013, 13:26
Re: help - by SilentSoul - 25.12.2013, 13:29
Re: help - by TiXz0r - 25.12.2013, 18:06
Re: help - by J4mmyHD - 25.12.2013, 18:15

Forum Jump:


Users browsing this thread: 3 Guest(s)