Admin Tag
#1

Double Post Soz.
Reply
#2

Can you show us your command for ban or kick?

Else try.


pawn Код:
CMD:tag(playerid, params[])
{
 if(IsPlayerAdmin(playerid)
 {
    new player, tagname[20];
    if(sscanf(params, "us", player, tagname)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tag [Playerid] [Tag]");
    new str[128], name[MAX_PLAYER_NAME];
    GetPlayerName(player, name, sizeof(name));
    format(str, sizeof(str), "[%s]%s", tagname, name);
    SetPlayerName(player, str);
    return 1;
 }
    else
    {
        SendClientMessage(playerid, WHITE,"You must login as administrator");
    }
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)