[FilterScript] Car Fuel - 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 Fuel (
/showthread.php?tid=169134)
Car Fuel v1.3 [ Updated 10.03.2011 ] -
Cameltoe - 18.08.2010
- 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.
Respuesta: Car Fuel -
DarkChildren - 18.08.2010
Tanks nice Scrip!!
Re: Car Fuel -
Cameltoe - 18.08.2010
Thanks
Re: Car Fuel -
speediekiller2 - 18.08.2010
as i put it in my server than crash my server.
it's dont working!!!!
Re: Car Fuel -
Cameltoe - 18.08.2010
Quote:
Originally Posted by speediekiller2
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
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?
Re: Car Fuel -
Cameltoe - 20.08.2010
Any suggestions i should add to this script?
Re: Car Fuel -
gamer931215 - 20.08.2010
Can you add an screenshot

?
Re: Car Fuel -
Cameltoe - 20.08.2010
Sure
Edit: Screenshot added.
Re: Car Fuel -
gamer931215 - 20.08.2010
Quote:
Originally Posted by Cameltoe
Sure
Edit: Screenshot added.
|
You died alot :P lol
anyways looking good

i just made my first fuel/speedo yesterday
Re: Car Fuel -
Cameltoe - 20.08.2010
Quote:
Originally Posted by gamer931215
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.