SA-MP Forums Archive
[Include] 3D Speedometer v0.2 - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] 3D Speedometer v0.2 (/showthread.php?tid=672391)



3D Speedometer v0.3 - Markski - 10.02.2020

An easy-to-implement 3D Speedometer.

- Include with y_hooks and it will work inmediatly.
- If you don't have y_hooks then making it work is as simple as pasting a few lines of code in 4 callbacks.
- Works automatically by taking it's own measurements, or you can give it your own numbers if preferred, your choise.
- Optional parameter for providing fuel readings.
- Allows to choose between KMH or MPH at compile time with a define.
- Allows to choose english or spanish with a define.

Screenshots:









- TODO:
Allow scripters to provide more personalization such as colour and sizes to their players.

- Known issues
Doesn't work correctly with Planes and other vehicles which are too wide.

- How to contribute
Just open a Pull Request m8

Download, install and usage instructions available at the repository.


Re: 3D Speedometer v0.2 - Symon - 10.02.2020

Always loved this type of speedometers, good job.


Re: 3D Speedometer v0.2 - Fuzzy - 10.02.2020

That's a nice one, good release.


Re: 3D Speedometer v0.2 - m4karow - 11.02.2020

If you using y_hooks why don't you use y_vehicledata instead creating another array for vehicle names?


Re: 3D Speedometer v0.2 - Markski - 11.02.2020

Quote:
Originally Posted by m4karow
View Post
If you using y_hooks why don't you use y_vehicledata instead creating another array for vehicle names?
y_hooks is optional, hence the compiler checks on _INC_y_hooks, so having that array there is necesary one way or the other.

Also, 0.3:

- Added Spanish option
- Added option to disable vehicle names and only show stats


Re: 3D Speedometer v0.2 - RogueDrifter - 16.03.2020

nice


Re: 3D Speedometer v0.2 - Dainteresebuli - 20.03.2020

Time to test it , thanks