05.06.2014, 10:13
Use a textdraw editor: https://sampforum.blast.hk/showthread.php?tid=376758 (use per-player textdraws if it differs for each player)
- You need to get the vehicle's speed (search on ****** how to get the speed).
- You need to get the name of the vehicle (search on ****** how to get the name).
- You need to get the vehicle's health (GetVehicleHealth function).
- You need to get the location (search for the zone include).
After you get all these and a player enters a vehicle, you'll have update the textdraw's text and show the textdraw to the player. When the player exits the vehicle, hide the textdraw.
- You need to get the vehicle's speed (search on ****** how to get the speed).
- You need to get the name of the vehicle (search on ****** how to get the name).
- You need to get the vehicle's health (GetVehicleHealth function).
- You need to get the location (search for the zone include).
After you get all these and a player enters a vehicle, you'll have update the textdraw's text and show the textdraw to the player. When the player exits the vehicle, hide the textdraw.