DamageColor
#1

Greedings.I have got textdraw where is cars HP,but i want to make different color like if someone have 30 % HP it will be red.
Reply
#2

https://sampwiki.blast.hk/wiki/GetVehicleHealth
https://sampwiki.blast.hk/wiki/TextDrawSetString
https://sampwiki.blast.hk/wiki/GameTextStyle

Get the vehicles health, and if its 30% or under, make it red (~r~)
Reply
#3

Its ugly red,can i make my own red color ?? like HEX color?
Reply
#4

Not with TextDraws, what I personally do is to attach a 3D text label to a vehicle, and set the color there using {FF0000} for red (for example).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)