SA-MP Forums Archive
[FilterScript] (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. - 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] (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. (/showthread.php?tid=397471)



Textdraw-ed || (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. - RajatPawar - 05.12.2012

Hello guys. Since this FS was lying in my folder for a long time, I decided to release it. It MIGHT have bugs, because it hasn't been tested for every possibility. Sorry about that.
A guy said that my style of scripting is 'bad', well tell me if it is, I'll try to improve it. Open to suggestions/any bugs!

************************************************** *************************************
1. Features.

*Fuel system, with a timer of around 4.5 seconds for now (Edit-able in the script) and a decrease of -1, you can use Float values too, just redefine it.

*Vehicle names, once you get in a car.

*Vehicle health in percent, doesn't go below 0.

*Gascans that are buy-able, you can buy 'em at a fuel station and use them in your car, refilling them to 100%. However, you can change the amount of fuel the gascan can refuel.

*Carbombs, they are currently simple, you rig a car, and it explodes within 10seconds or something, you can as you need make a /detonate command too.

*Ingame command /fuelstation [Name of fuelstation] (RCON admins' command) to define fuelstation. Once you /fuelstation at a place, go to "Your samp server/scriptfiles/checkpoints.txt", get the last line and just copy paste it in the "OnPlayerEnterInDynamicCP" function!
************************************************** *************************************
2. Installation.
*Download the FilterScript from here.
*Put it in your server.cfg filterscript's line. (filterscripts speed)
*Run your server.
*Report bugs.
************************************************** *************************************
3. Screenshots (Only one now, might add others later!)

************************************************** *************************************
4. Credits.
*gamer78 for his awesome tutorial.
*SACNR and other servers for providing the idea of a textdraw based fuel system.
*pmk1 for his tutorial.
*Please consider that I am new to scripting, this script might have bugs!

Thanks,
Cheers.


Re: (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. - XtremeR - 05.12.2012

Well, this is a nice one! +6 reps


Re: (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. - RajatPawar - 05.12.2012

Thanks a lot, spent some time doing this!


Re: (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. - Socan - 05.12.2012

oh wow ! nice script mate !


Re: (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. - RajatPawar - 05.12.2012

Thanks !


Re: (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. - Plovix - 05.12.2012

Nice job


Re: (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. - Lordzy - 06.12.2012

Nice work though you could make a bit more better on those textdraws.


Re: (Fuel/Speed/Vehicle name/Health) -o-meter with gascan and carbombs. - RajatPawar - 06.12.2012

I know, but I prefer neatness over design! Good to know, you like it. Thanks!