Autorepair ....Help
#5

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, x, y, z))
{
    RepairVehicle(GetPlayerVehicleID(playerid));
    SetVehicleHealt(GetPlayerVehicleID(playerid), 1000.0);
    return 1;
}
Add that to a timer and then make it check every X seconds. That way it'll automatically repair when in range of that place.
Reply


Messages In This Thread
Autorepair ....Help - by HaiderABbas - 28.04.2013, 18:55
Re: Autorepair ....Help - by saiberfun - 28.04.2013, 20:33
Re: Autorepair ....Help - by HaiderABbas - 29.04.2013, 07:43
Re: Autorepair ....Help - by saiberfun - 29.04.2013, 12:52
Re: Autorepair ....Help - by iGetty - 29.04.2013, 20:54
Re: Autorepair ....Help - by HaiderABbas - 30.04.2013, 08:35
Re: Autorepair ....Help - by HaiderABbas - 30.04.2013, 08:40
Re: Autorepair ....Help - by Potassium - 30.04.2013, 09:12
Re: Autorepair ....Help - by HaiderABbas - 30.04.2013, 10:17
Re: Autorepair ....Help - by FFX - 30.04.2013, 10:30

Forum Jump:


Users browsing this thread: 1 Guest(s)