[FilterScript] Automatic Car Repair - Fanboy's Filterscipt
#1

AUTOMATIC CAR REPAIR SCRIPT
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.

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);
		}
	}
}
Reply
#2

Bad release.
If you want to earn reputation points, don't ask for it and release something well scripted, which is useful for the community and not made within a minute.
-1 star.
Reply
#3

Quote:
Originally Posted by JustMe.77
View Post
Bad release.
If you want to earn reputation points, don't ask for it and release something well scripted, which is useful for the community and not made within a minute.
-1 star.
Woah woah woah !
This guy is new, and it's our job to teach him what to do and what Not.

So, i appreciate that he shared this eith the community.

+Rep
Reply
#4

PHP Code:
public FixAllCar()
{
    for(new 
GetVehiclePoolSize(); <= ji++)
        
RepairVehicle(i);

Why not like this? Its useless to loop thought all players to just repairs the cars, why not loop thought cars?
Reply
#5

Quote:
Originally Posted by H4RR1s
View Post
Woah woah woah !
This guy is new, and it's our job to teach him what to do and what Not.

So, i appreciate that he shared this eith the community.

+Rep
Yeah, I see it nice that you give points to useless craps to get points in return for being capable of posting a server advertisement. That won't work out buddy, already obvious.

OT: Giving 1-star to this release is pointless, it shouldn't be ranked at all. I wish I could give negative points, unfortunately, not possible.

You people think you can earn reputation by posting shits, sharing things you don't even know anything about and asking for points for the awesomely done work done.
Reply
#6

Quote:
Originally Posted by JustMe.77
View Post
Bad release.
If you want to earn reputation points, don't ask for it and release something well scripted, which is useful for the community and not made within a minute.
-1 star.
Removed it -_- Nigga
Reply
#7

Quote:
Originally Posted by Variable™
View Post
Yeah, I see it nice that you give points to useless craps to get points in return for being capable of posting a server advertisement. That won't work out buddy, already obvious.

OT: Giving 1-star to this release is pointless, it shouldn't be ranked at all. I wish I could give negative points, unfortunately, not possible.

You people think you can earn reputation by posting shits, sharing things you don't even know anything about and asking for points for the awesomely done work done.
FFS M New To Scripting Man, aig naog madsojg adjg ad gfadsg adga
Reply
#8

This is very easy to do really should not turn into a filterscript
Reply
#9

Quote:
Originally Posted by C4rtm4n
View Post
This is very easy to do really should not turn into a filterscript
More into tutorials.
Reply
#10

Quote:
Originally Posted by Astralis
View Post
More into tutorials.
More into Snippets.
Reply
#11

Not bad 6/10
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)