[Ajuda] TAG ADMIN NO CHAT
#5

Quote:
Originally Posted by Whoo
Посмотреть сообщение
Fiz um Exemplo pra vocк Funcional

pawn Код:
public OnPlayerText(playerid, text[])
{
    switch (Administrador[playerid]) // A variavel de Admin
    {
        case 0: // se й Level 0
        {
            new string[256];
            format(string,sizeof(string),"{696969}%s [ID:%d]: {F8F8FF}%s ",Nome(playerid), playerid,text);
            SendClientMessageToAll(playerid,string);
        }
        case 1: // se й Level 1
        {
            new string[256];
            format(string,sizeof(string),"{4876FF}[TEMPORARIO] {696969}%s [ID:%d]: {F8F8FF}%s ",Nome(playerid), playerid,text);
            SendClientMessageToAll(playerid,string);
        }
        case 2: // se й Level 2
        {
            new string[256];
            format(string,sizeof(string),"{4876FF}[COLABORADOR] {696969}%s [ID:%d]: {F8F8FF}%s ",Nome(playerid), playerid,text);
            SendClientMessageToAll(playerid,string);
        }
        case 3: // se й Level 3
        {
            new string[256];
            format(string,sizeof(string),"{4876FF}[MODERADOR] {696969}%s [ID:%d]: {F8F8FF}%s ",Nome(playerid), playerid,text);
            SendClientMessageToAll(playerid,string);
        }
    }
    return 0;
}
pawn Код:
stock Nome(playerid)
{
    new ANome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, ANome, sizeof(ANome));
    return ANome;
}
Tipo no nivel 0 eu vou quero colocar o [JOGADOR]
ai dps do nivel 3000
eu quero colocar o [VIP] tem como??
Reply


Messages In This Thread
TAG ADMIN NO CHAT - by paulotuto - 13.12.2014, 16:10
Re: TAG ADMIN NO CHAT - by iWoodBlack - 13.12.2014, 16:19
Re: TAG ADMIN NO CHAT - by paulotuto - 13.12.2014, 16:38
Re: TAG ADMIN NO CHAT - by Whoo - 13.12.2014, 17:02
Re: TAG ADMIN NO CHAT - by paulotuto - 13.12.2014, 17:13
Re: TAG ADMIN NO CHAT - by Whoo - 13.12.2014, 17:15
Re: TAG ADMIN NO CHAT - by paulotuto - 13.12.2014, 17:17
Re: TAG ADMIN NO CHAT - by Whoo - 13.12.2014, 17:30
Re: TAG ADMIN NO CHAT - by paulotuto - 13.12.2014, 17:35
Re: TAG ADMIN NO CHAT - by Whoo - 13.12.2014, 17:41

Forum Jump:


Users browsing this thread: 2 Guest(s)