[FilterScript] PFuel & Engine & Lights system - 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] PFuel & Engine & Lights system (
/showthread.php?tid=251578)
PFuel & Engine & Lights system -
Phanto90 - 27.04.2011
[INC]PFuel & Engine & Lights system by Phanto
Version: 1.0
Description:
This week I decided to script a simple & nice fuel system, and in one hour of work and few tests here it is.
I decided to use Incognito's Streamer for the TextLabel. Actually it is pretty useless for the Filterscript itself, but i thought a lot of Gamemodes uses it. If you don't use Incognito's streamer, simply modify the script.
System:
•Fuel system (airplane, helicopters, boats and some other vehicle do not use fuel for a simple reason: they cannon reach common gas station or simply are not fuel-powered)
•Engine system on/off (press ALT SX | no waste of fuel when the engine is off)
•Lights system on/off (press 2)
•Some Fuel Station added (I don't think i added every fuel station in San Andreas,
but you can modify that by increasing/decreasing MAX_STATIONS and coords)
•If your vehicle run out of fuel you can buy some tanks at a gas station and refill it by typing
/refuel when you are in it (I know it's not RP, but I've no time to search for an animation)
•Functional & nice system
Screens:
•Goto 7 screens!
Known bug:
•Posted some Fuel Bar problems. Maybe i messed up the code while trying to fix the error, I will check out as soon as possibile
Changelog:
•v 1.0 fixed a little error that permits to refill without limit a vehicle with fuel tanks.
Credits:
•Thanks to Incognito for his Streamer.
Hoping you will enjoy my work! Best Regards Phanto
Faq:
-The Server do not run when I load PFuel. What should I do?
•Be sure to have Incognito's Streamer Plugin loaded. You can find it on forum-samp.
Note: -Be sure not to have other Fuel System loaded on your server.
-I noticed that if it is loaded Zamaroth's Textdraws Editor, the FS does
not work properly. Be sure not to have it loaded when using PFuel.
Re: PFuel & Engine & Lights system -
wheelman_WM - 27.04.2011
Nice
Re: PFuel & Engine & Lights system -
justsomeguy - 27.04.2011
testing...
Re: PFuel & Engine & Lights system -
Phanto90 - 27.04.2011
Remember incognito streamer's plugin :P
Let me know how it goes
Re: PFuel & Engine & Lights system -
elledioi90 - 27.04.2011
Another nice work
Re: PFuel & Engine & Lights system -
hackzor4 - 27.04.2011
Your link doesen't work , please post another
Re: PFuel & Engine & Lights system -
Phanto90 - 27.04.2011
Try now :P Sorry for the inconvenient
Re: PFuel & Engine & Lights system -
Millionaire - 27.04.2011
Awesome work
Re: PFuel & Engine & Lights system -
fie - 27.04.2011
That is amazing! Luv the lights system

great for rp
Re: PFuel & Engine & Lights system -
GaGlets(R) - 27.04.2011
Your try to make great script fails. Please stop scripting things that we already have, please.