How can i make this ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How can i make this ? (
/showthread.php?tid=517499)
How can i make this ? -
Johnson_Brooks - 05.06.2014
I know its been answered before , i searched but i couldn't find what i wanted.
How can i make a speedometer showing the Location , the Speed and Health of the vehicle .
Like :
I've never done something like that before , and i have no idea of how to make it . Thats why im asking help.
Re: How can i make this ? - SupaFool - 05.06.2014
Maybe go on ****** and type what you want? ****** is your friend.
Or have a look in here
https://sampforum.blast.hk/showthread.php?tid=358810
Re: How can i make this ? -
Johnson_Brooks - 05.06.2014
Quote:
Originally Posted by SupaFool
|
Its not what im looking for .
As i said before ,i've searched before asking for help and i didn't find anything like the one i wanted.
Re: How can i make this ? -
Konstantinos - 05.06.2014
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.
Re: How can i make this ? -
Johnson_Brooks - 05.06.2014
Quote:
Originally Posted by Konstantinos
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.
|
Thanks .