problem with chat
#2

pawn Код:
COMMAND:a(playerid, params[])
{
    if(!PLVL[playerid]) return 0;
    if(PlayerInfo[playerid][pAdminLevel] < 1) return false;
    if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid,Yellow, "Usage: /a <message>");
    new name[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "Level: %d | Admin %s: %s", PlayerInfo[playerid][pAdminLevel], name, params);
    MessageToAdmins(AdminColor, string);
    return 1;
}
Reply


Messages In This Thread
problem with chat - by xir - 13.02.2011, 15:09
Re: problem with chat - by HyperZ - 13.02.2011, 15:22
Re: problem with chat - by Stigg - 13.02.2011, 15:24
Re: problem with chat - by xir - 13.02.2011, 15:26
Re: problem with chat - by Stigg - 13.02.2011, 15:28

Forum Jump:


Users browsing this thread: 1 Guest(s)