21.07.2018, 20:22
colocando a tag no player.
by:Cycle
PHP код:
public OnPlayerUpdate(playerid)
{
if(pInfo[playerid][Ajudante])
{
SetPlayerColor(playerid, 0xFF00FFAA);
SetPlayerChatBubble(playerid, "Ajudante(a)", 0xFF00FFAA, 100.0, 10000);
}
if(pInfo[playerid][Moderador])
{
SetPlayerColor(playerid, 0x008000AA);
SetPlayerChatBubble(playerid, "Moderador(a)", 0x008000AA, 100.0, 10000);
}
if(pInfo[playerid][Corregedor])
{
SetPlayerColor(playerid, 0x00FFFFAA);
SetPlayerChatBubble(playerid, "Corregedor(a)", 0x00FFFFAA, 100.0, 10000);
}
if(pInfo[playerid][Administrador])
{
SetPlayerColor(playerid, 0xFF0000AA);
SetPlayerChatBubble(playerid, "Administrador(a)", 0xFF0000AA, 100.0, 10000);
}
if(pInfo[playerid][Master])
{
SetPlayerColor(playerid, 0x800000AA);
SetPlayerChatBubble(playerid, "Administrador(a)", 0x800000AA, 100.0, 10000);
}
return 1;
}