Vehicles' Health
#1

Hello,

I wonder how to make a Vehicles' Health system using GetVehicleHealth and Textdraws. I searched all over the forum, I found some but I didn't really understand how to make it. I appreciate any help .

EDIT: I've successfully made one thanks a lot!
Reply
#2

Bump in purpose of help <
Reply
#3

You gotta first GetVehicleHealth and then create a textdraw who's text is the GetVehicleHealth
Reply
#4

Quote:
Originally Posted by §с†¶e®РµРe
Посмотреть сообщение
You gotta first GetVehicleHealth and then create a textdraw who's text is the GetVehicleHealth
You've just told him what he's asked for, which, suprisingly, he knows, as he asked it. He's asking HOW, not what.

The following articles may help you:

https://sampwiki.blast.hk/wiki/SetTimer
https://sampwiki.blast.hk/wiki/SetTimerEx
https://sampwiki.blast.hk/wiki/OnPlayerUpdate
https://sampwiki.blast.hk/wiki/GetPlayerVehicleID
https://sampwiki.blast.hk/wiki/GetVehicleHealth
https://sampwiki.blast.hk/wiki/format
https://sampwiki.blast.hk/wiki/TextDrawCreate
https://sampwiki.blast.hk/wiki/TextDrawSetString
https://sampwiki.blast.hk/wiki/OnPlayerStateChange
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)