[FilterScript] PFuel & Engine & Lights system
#1


[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.
Reply
#2

Nice
Reply
#3

testing...
Reply
#4

Remember incognito streamer's plugin :P
Let me know how it goes
Reply
#5

Another nice work
Reply
#6

Your link doesen't work , please post another
Reply
#7

Try now :P Sorry for the inconvenient
Reply
#8

Awesome work
Reply
#9

That is amazing! Luv the lights system great for rp
Reply
#10

Your try to make great script fails. Please stop scripting things that we already have, please.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)