[Ajuda] Ajuda no Admin Chat
#2

Tenta
Coloca em : OnPlayerText
pawn Code:
if (APlayerData[playerid][PlayerLevel] >= 1) // sua variavel de adm e o level
{
new levelt[20];
if (APlayerData[playerid][PlayerLevel] == 1) levelt= "Ajudante"; // edite o nome de cada level
if (APlayerData[playerid][PlayerLevel] == 2) levelt = "Moderador"; // edite o nome de cada level
if (APlayerData[playerid][PlayerLevel] == 3) levelt= "Administrador"; // edite o nome de cada level
if (APlayerData[playerid][PlayerLevel] == 4) levelt= "Organizador";// edite o nome de cada level
if (APlayerData[playerid][PlayerLevel] == 5) levelt= "Master"; // edite o nome de cada level , e caso for + repita
new string[256], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s[ID:%d]{FFFF00}Cargo[%s]{FFFFFF}diz: %s", pname, playerid,levelt, text);
SendClientMessageToAll(GetPlayerColor(playerid), string);
}
}
Reply


Messages In This Thread
Ajuda no Admin Chat - by #Luca[S]. - 27.05.2014, 22:34
Re: Ajuda no Admin Chat - by Luucass - 28.05.2014, 15:15
Re: Ajuda no Admin Chat - by #Luca[S]. - 29.05.2014, 17:30
Respuesta: Ajuda no Admin Chat - by [BWL]Chamaleon - 29.05.2014, 18:32
Re: Ajuda no Admin Chat - by #Luca[S]. - 29.05.2014, 19:10
Respuesta: Ajuda no Admin Chat - by [BWL]Chamaleon - 01.06.2014, 00:11
Re: Ajuda no Admin Chat - by #Luca[S]. - 02.06.2014, 04:50

Forum Jump:


Users browsing this thread: 1 Guest(s)