11.05.2018, 02:20
ja testo ?
PHP Code:
//OnGameModeInit
SetTimer("AtualizarChatBubble", 1000, true);
//Public
forward AtualizarChatBubble();
public AtualizarChatBubble()
{
for(new x = 0; x < MAX_PLAYERS; x++)
{
if(GetPlayerWantedLevel(x) == 1)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 1", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 2)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 2", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 3)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 3", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 4)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 4", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 5)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 5", 0xFF0000AA, 100.0, 100000);
}
if(GetPlayerWantedLevel(x) == 6)
{
SetPlayerChatBubble(x, "Procurado(a) Nнvel: 6", 0xFF0000AA, 100.0, 100000);
}
}
}