SA-MP Forums Archive
[FilterScript] Auto Repair/Auto Flip [FS] - 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] Auto Repair/Auto Flip [FS] (/showthread.php?tid=122060)



Auto Repair/Auto Flip [FS] - BLAbla93 - 20.01.2010

Auto Repair/Auto Flip Filter Script
By: Blabla93 a.k.a [T_S]DeStunter
Rules To Using My FS!

1) Give Me Credit For It
2) If You Add It To Your GM Still Give Me Credit For It
3) Do Not Steal This And Release It Saying Its Your Own
4) If You Modify It Do Not Re-Release It!
5) Post Bugs You Find In Here!



How To Use:

1) Download
2) Unpack
3) Add to filter Scripts folder
4) Open server.cfg
5) Add "ArAfFS" in the filter script lines with out the quotes ("")
6) File > Save
7) Start your server



Information:

---< Version 1 >---

This Filter Script Will Automatically Repair Your Vehicle Once It Reaches 350 Health, It Will Also Automatically Flip The Vehicle Over If Auto Repair Goes off 3-5 times in 6 seconds, when the vehicle is flipped the arcounter will reset. Every 6 seconds the arcounter will reset also so the vehicle will only be flipped if its upside down for 3-5 auto repairs preventing spam and server lag.

---< Version 2.0 >---

Added /ar, /autorepair To Turn Auto Repair/Flip On and Off!


Tested?
Yes I have tested it and it works absolutly fine I have tested it in my stunt server and tuned it to reset the auto repairs to 6 secounds so a stunt server wont have problems with people slaming/stunting/jumping into stuff.



Download Link?

Must be logged in to see it, its at the bottom of the page!
---< Version 1 >---

---< Version 2.0 >---


Pictures?

Whats there to see...


Have Fun!


Post Comments Please



Re: Auto Repair/Auto Flip [FS] - John Rockie - 20.01.2010

Awesome


Re: Auto Repair/Auto Flip [FS] - BLAbla93 - 20.01.2010

Quote:
Originally Posted by John Rockie
Awesome
Thanks


Re: Auto Repair/Auto Flip [FS] - ViruZZzZ_ChiLLL - 20.01.2010

Nice!!
________
Vapor genie review


Re: Auto Repair/Auto Flip [FS] - BLAbla93 - 20.01.2010

thanks


Re: Auto Repair/Auto Flip [FS] - AiVAMAN - 20.01.2010

Not bad. keep it up.


Re: Auto Repair/Auto Flip [FS] - Doppeyy - 20.01.2010

Nice work man i think this is usefull for Freeroam or something.

[Doppeyy


Re: Auto Repair/Auto Flip [FS] - _Gangster_ - 20.01.2010

good work.


Re: Auto Repair/Auto Flip [FS] - Geso - 20.01.2010

Does it repair the car's body damage too?


Re: Auto Repair/Auto Flip [FS] - [JIeXa] - 20.01.2010

#include <a_samp>
new AutoRepairUsed[MAX_PLAYERS];
public OnPlayerUpdate()
{
if (IsPlayerInAnyVehicle(playerid))
{
new id = GetPlayerVehicleID(playerid), Float:CarHP; GetVehicleHealth(id, CarHP);
if (AutoRepairUsed[playerid] == 1000) { SetVehicleZAngle(id, 0.0); AutoRepairUsed[playerid] = 0; }
if (CarHP < 350) { RepairVehicle(id); AutoRepairUsed[playerid]++; }
}
return 1;
}

? :P