[FilterScript] Realistic Transmission Speedometer
#1

Introduction:
I have created this speedometer for my server but after all i thought to release it.


Contains:
-Vehicle Name
-Vehicle Model
-Vehicle Health
-Vehicle Fuel
-Vehicle Speed
-Vehicle Gear (7 Gears: P, 1, 2, 3, 4, 5, R)


Pictures:

More Pictures
Click here
v2.0

Credits:
Код:
/************************** 
            Credits  
   ZCMD: Zeex
  
   foreach: Kar & ******
  
   SpeedoMeter: CaptainBoi
 **************************/

Download:
Pastebin v1.0
Pastebin v2.0
Github v1.0
Github v2.0
Reply
#2

Too colorful, i like it simple.Yet the effort gets a plus.
Reply
#3

Quote:
Originally Posted by Mike861
Посмотреть сообщение
Too colorful, i like it simple.Yet the effort gets a plus.
Thanks
Reply
#4

Perfect
Reply
#5

I dont like the health cause it could be on fire and health will be displayed between 0-250

i use for mine

PHP код:
GetVehicleHP(vehicleid)
{
    new 
hp_resultFloat:hp;
    
GetVehicleHealth(vehicleidhp);
    
hp_result floatround((floatsub(hp250))/7.5);
    if(
hp_result 0) return hp_result;
    return 
0;

Reply
#6

Quote:
Originally Posted by AlphaDeLaCOD
Посмотреть сообщение
Perfect
Do you have any clue what you are talking about? I think not.

1.) Improper speed calculation - look this up you will see why it is out-to-lunch.
2.) Lousy health calculation. A car catches fire at 250hp.
3.) Improper use of textdraws. You are burning up textdraws for no reason!

Код:
new Text:speedo[MAX_PLAYERS][22];
This script could work for a maximum of 90 players before failure use player textdraws. Additionally use regular textdraws for any textdraws that don't change.
Reply
#7

See this for a tutorial regarding correct use of (player)textdraws.
Reply
#8

Version 2.0 Added
-Whole Code Changed.
-Created A New Design.
Reply
#9

Your speed calculation is still wrong.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)