SA-MP Forums Archive
[FilterScript] Car Health V2.0 - 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)
+--- Thread: [FilterScript] Car Health V2.0 (/showthread.php?tid=553832)



Car Health V2.0 - UltraScripter - 31.12.2014

Hi Guys i updated my car health textdraw now it's with progress bar before it was with litle dots!!! ! .

Pics :









Pastebin :

http://pastebin.com/8H4J9jxh

Merry Christmas !!!! ! .


Re: Car Health V2.0 - Schneider - 31.12.2014

That's a huge chunk of code in OnPlayerUpdate... why don't you use a timer with a (half)second interval? Also using a switch-function would be way more efficient than a bunch of if-statements.

Edit: It would also be more efficient if you create all the new variables and vehicle-checks AFTER you check if the player is in a vehicle.


Re: Car Health V2.0 - UltraScripter - 31.12.2014

ok ill do it on v3.0


Re: Car Health V2.0 - Daewoo - 31.12.2014

Sorry.1/10 only because they are proƛcirjsze and easier ways to zrobinie the progress bar. Eg . The progress bar to torribo


Re: Car Health V2.0 - Ryz - 01.01.2015

Nice work but don't use onplayerupdate next time. Merry Christmas!! enjoy


Re: Car Health V2.0 - Glossy42O - 01.01.2015

It's awesome but, get that bar little bit lower.


Re: Car Health V2.0 - Team_PRO - 01.01.2015

I don't like the bars on it mabye change it.


Re: Car Health V2.0 - UltraScripter - 02.01.2015

If you dont like the bar you can use this : !

https://sampforum.blast.hk/showthread.php?tid=553569


Re: Car Health V2.0 - shadowstorm - 10.04.2015

Good job