29.07.2017, 17:02
(
Last edited by Hussainkahloon96; 30/07/2017 at 08:11 AM.
Reason: Mistake
)
AUTOMATIC CAR REPAIR SCRIPT
This Is My First Filterscipt Ever And Yes i Am a Noob
This Is My First Filterscipt Ever And Yes i Am a Noob
Q. Dafuq Is This?:
A. This Script Automatically Repairs All The Cars In The Server.
A. This Script Automatically Repairs All The Cars In The Server.
Thats All 

DOWNLOAD:
Pastebin
Code:
/* FIRST EVER FITERSCRIPT OF MINE Do WHAT EVER YOU WANT, PLEASE DONT REMOVE THE CREDITS! ____ ____ ___ | ____ | /\ |\ | | | / \ \ / | / |____ / \ | \ | |__/ | | \/ \____ FILTERSCRIPT | /____\ | \ | | \ | | / \ | / \ | \| |___| \__/ / ____/ */ #define FILTERSCRIPT #include <a_samp> forward FixAllCar(); new FixTimer; public OnFilterScriptInit() { print("\n----------------------------------------"); print(" Automatic Car Fix Filterscript By Fanboy "); print("-----------------------------------------\n"); FixTimer = SetTimer("FixAllCar",1000,true);//After Every 1000 Milisecs, It Will Auto Repair All Cars. } public OnFilterScriptExit() { KillTimer(FixTimer); return 1; } public FixAllCar() { for(new playerid = 0; playerid < MAX_PLAYERS; playerid++) { if(IsPlayerConnected(playerid) && IsPlayerInAnyVehicle(playerid)) { new vehicleid = GetPlayerVehicleID(playerid); SetVehicleHealth(vehicleid,1000.0); } } }