02.11.2012, 04:12
GetPlayerHealth nгo returna a vida.
pawn Код:
public AtualizarChatBubble()
{
for(new x = 0; x < MAX_PLAYERS; x++)
{
if(NaArena[x] == 1 || NaGZ[x] == 1)
{
new string[60], Float:Vida; GetPlayerHealth(x, Vida);
format(string, sizeof(string), "{F0F000}Vida {FF5151}%f", Vida);
SetPlayerChatBubble(x, string, -1, 30.0, 999999);
}
}
return 1;
}