26.02.2015, 14:15
Код:
em OnGameModeInit SetTimer("AtualizarChatBubble", 1000, true); no final da GM adicione isso: forward AtualizarChatBubble(playerid); public AtualizarChatBubble(playerid) { for(new x=0; x < MAX_PLAYERS; x++){ { if(IsPlayerAdmin(playerid)) { SetPlayerChatBubble(x, "Logado RCON", DEFINA COR, 100.0, 1000); } } { if(pAdmin[playerid] == 5) { SetPlayerChatBubble(x, "Admnistrador %s", DEFINA COR, 100.0, 1000); } } { if(pAdmin[playerid] == 4) { SetPlayerChatBubble(x, "Admnistrador %s", DEFINA COR, 100.0, 1000); } } { if(pAdmin[playerid] == 3) { SetPlayerChatBubble(x, "Admnistrador %s", DEFINA COR, 100.0, 1000); } } { if(pAdmin[playerid] == 2) { SetPlayerChatBubble(x, "Admnistrador %s", DEFINA COR, 100.0, 1000); } } { if(pAdmin[playerid] == 1) { SetPlayerChatBubble(x, "Admnistrador %s", DEFINA COR, 100.0, 1000); } } { if(moderador[playerid]) { SetPlayerChatBubble(x, "Moderador", DEFINA COR, 100.0, 1000); } } } }