TextDraws Help
#6

Quote:
Originally Posted by NaS
View Post
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.
https://i.imgur.com/tFddYmL.png

//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)));
Reply


Messages In This Thread
TextDraws Help - by DarkWorldJack - 12.04.2019, 16:36
Re: TextDraws Help - by SiaReyes - 14.04.2019, 04:11
Re: TextDraws Help - by DarkWorldJack - 14.04.2019, 10:52
Re: TextDraws Help - by DarkWorldJack - 16.04.2019, 11:47
Re: TextDraws Help - by NaS - 16.04.2019, 12:01
Re: TextDraws Help - by DarkWorldJack - 17.04.2019, 19:26
Re: TextDraws Help - by DarkWorldJack - 18.04.2019, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)