Nenhuma funзгo mostra dano do veiculo em cima do carro, vocк tera que criar um code.
https://sampwiki.blast.hk/wiki/GetVehicleHealth https://sampwiki.blast.hk/wiki/Create3DTextLabel https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer |
https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate
Esta Callback Й propria pra isso, Voce tera que criar um script para aparecer o dano em 3dlabel ou textdraw .. |
https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate
Esta Callback Й propria pra isso, Voce tera que criar um script para aparecer o dano em 3dlabel ou textdraw .. |
error 017: undefined symbol "IsValidDynamic3DTextLabel"
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
stock UpdateBar(playerid)
{
new Float:HP, veh = GetPlayerVehicleID(playerid);
GetVehicleHealth(veh, HP);
UpdateString(HP);
if(IsValidDynamic3DTextLabel(CarLabel[playerid])) //LINHA DO ERRO
{
UpdateDynamic3DTextLabelText(CarLabel[playerid], -1, UpdateString(HP));
}
return 1;
}