[FilterScript] Car Fuel
#1

- Fuel FS v1.3

What is this:
- This is a Simple fuel system.
- Fuel drops by the speed of the vehicle.
- Stops the vehicle at 0% fuel.
- This system is easy customizable.

How to:
- Compile the fs or put the .amx file inside filterscripts folder.
- Open up server.cfg and under filterscripts add Fuel.
- Inside this fs i redefined MAX_VEHICLES as i didn't want it to loop throught 2k cars.. (change if you got more than 50 cars in your gm)
- That's it.

Command's:
- /refuel

Version:
- v1.3

Download:
Pastebin - V1.3
Mediafire - V1.3

Change log:
Code:
Version 1.1
- Vehicle now stops at 0 fuel
- Converted to use zcmd instead of strcmp
- Fuel drops more realistic

Version 1.2
- Defined FUEL_DECREASE
- Fixed the Refuel CMD
- Added an Money CMD 
- Added an Car CMD
- Fixed all found bugs

Version 1.3
- Fuel bug value turning negative fixed
Comment's:
- Suggestion's is highly appreciated.
- Comment's about the script, bugs etc.
- Haters, save time and don't even post.
- Please report bugs.

Credits:
- Me.
- getty154 - Tester
- Who ever made the GetPlayerSpeed Stock.
- Samp crew.
Reply
#2

Tanks nice Scrip!!
Reply
#3

Thanks
Reply
#4

as i put it in my server than crash my server.

it's dont working!!!!
Reply
#5

Quote:
Originally Posted by speediekiller2
View Post
thnx a simple fuel script i look very long for it.


thanxs!!!!
Thanks a lot

- If anyone have Suggestion's to this fs, ill try to script it


Quote:
Originally Posted by speediekiller2
View Post
as i put it in my server than crash my server.

it's dont working!!!!
- Anyone else get this error?
- Worked perfect while i tested it.
- Could you show me your log?
Reply
#6

Any suggestions i should add to this script?
Reply
#7

Can you add an screenshot ?
Reply
#8

Sure

Edit: Screenshot added.
Reply
#9

Quote:
Originally Posted by Cameltoe
View Post
Sure

Edit: Screenshot added.
You died alot :P lol

anyways looking good i just made my first fuel/speedo yesterday
Reply
#10

Quote:
Originally Posted by gamer931215
View Post
You died alot :P lol

anyways looking good i just made my first fuel/speedo yesterday
Yeah testing something with OnVehicleDeath
actually saw you fuel fs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)