Vehicle System (Name, Speed, Fuel, Health)! -
Luka P. - 14.12.2010
Copyright © 2010, Johny C. and Luka P.
Introduction
This is Vehicle System v1.1 beta. It contains speedometer,vehicle name,vehicle health and fueling system. It is in the bottom of the screen so it wont bother you while driving. When you run out of fuel vehicle will freeze and you wont be able to drive it until you refuel your vehicle. If vehicle is out of fuel you can enter it but not drive it. Speed is expressed in kmph and maximum is 300 kmph. Design is kinda simple. Everything is expressed in decimals, except the speed. It is oftenly refreshing but not laggy. There is a video demonstration on how this system works:
Video / Pictures
[ame]http://www.youtube.com/watch?v=wVUEVVeKtIE&fmt=22[/ame]
Download / How to install?
Download the speed.zip file and extract it to your server directory. After that, add "speed" to the filterscripts line in server configuration file.
Download - click here. (v1.1)
Credits
Credits goes to Betamaster for vehicle name list and to my buddy Johny C. for the design.
Re: Vehicle System (Name, Speed, Fuel, Health)! -
The_Moddler - 14.12.2010
The textdraw is too big for my taste, also maybe some servers have a textdraw down there, and it won't look good with that one.. try making it a rectangle.. anyways, nice script
EDIT:
Also, add a timer when adding fuel
Re: Vehicle System (Name, Speed, Fuel, Health)! -
Luka P. - 14.12.2010
I can't know does some specific server have textdraw down there. If they have, and want to use this filterscript, I'll let them to remove their textdraws, but I'll not change this one. (It would never be good for ALL servers)
Re: Vehicle System (Name, Speed, Fuel, Health)! -
Infamous - 14.12.2010
Looks like a nice system, I actually like what you have done with the textdraws. Good job buddy.
Re: Vehicle System (Name, Speed, Fuel, Health)! -
Luka P. - 14.12.2010
Quote:
Originally Posted by Infamous
Looks like a nice system, I actually like what you have done with the textdraws. Good job buddy.
|
I just made the script, my buddy Johny Cole (he's also registred here) made the design. Thanks!
Re: Vehicle System (Name, Speed, Fuel, Health)! -
faeldk - 14.12.2010
Nice man!
Re: Vehicle System (Name, Speed, Fuel, Health)! -
wups - 14.12.2010
Is this necessary?
pawn Код:
forward Float:GetVehicleVelocityX(vehicleid); stock Float:GetVehicleVelocityX(vehicleid)
Re: Vehicle System (Name, Speed, Fuel, Health)! -
Luka P. - 14.12.2010
It's my style of scripting, looks more read-able for me.
Re: Vehicle System (Name, Speed, Fuel, Health)! -
wups - 14.12.2010
Quote:
Originally Posted by Luka P.
It's my style of scripting, looks more read-able for me.
|
I mean, you don't have to forward stock functions.
Re: Vehicle System (Name, Speed, Fuel, Health)! -
Luka P. - 14.12.2010
Quote:
Originally Posted by Noss*
It looks perfect and neat.Thanks a lot,do you mind if i edit the price for /refuel?
|
Thanks, you can do whatever you want with this script.
Quote:
Originally Posted by wups
I mean, you don't have to forward stock functions.
|
You have to, if they have tags.