17.04.2019, 19:26
Quote:
|
Could you show a screenshot of the issue? It might be easier to see what's wrong than just looking at numbers and guess what's wrong.
For the first one I understand that it doesn't scale properly to the health? And for Asta_km you seem to use TextDrawSetPreviewRot although the TD you use is a sprite. TextDrawSetPreviewRot only works with preview models. |
//Asta_km
with Asta_km how can I make it die based on the speed of the vehicle?
//Health vehicle
The 'UserBox' you will see is the life of the vehicle, but when I crash into the vehicle, or it comes out of the black line or goes too low
if(health < 200.0) TextDrawLetterSize(Danni_veicolo[playerid], 0.0, -0.560);
else if(health >= 1000.0) TextDrawLetterSize(Danni_veicolo[playerid], 0.0, -7.517);
else TextDrawLetterSize(Danni_veicolo[playerid], 0.0, floatadd(-0.560, floatdiv(health, 9)));


