27.04.2011, 17:49
(
Последний раз редактировалось Phanto90; 16.06.2011 в 17:30.
)
[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
Download:
Download PFuel & Engine & Lights System
Download PFuel & Engine & Lights System
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.