Infinitely Vehicle Health
#6

You could make a timer, which calls the (specific) vehicle and set the vehicle health to 1000.0 everytime.

pawn Код:
SetTimer("SetCarGod", 1000, true);

forward SetCarGod();
public SetCarGod()
{
     for(new i; i < MAX_PLAYERS; i++)
     {
          if(IsPlayerInAnyVehicle(i))
          {
               SetVehicleHealth(GetPlayerVehicleID(i), 1000.0);
          }
     }
}
Reply


Messages In This Thread
Infinitely Vehicle Health - by Blackazur - 13.07.2013, 21:35
Re: Infinitely Vehicle Health - by IceCube! - 13.07.2013, 21:37
AW: Infinitely Vehicle Health - by Blackazur - 13.07.2013, 22:29
AW: Infinitely Vehicle Health - by Macronix - 13.07.2013, 23:22
AW: Infinitely Vehicle Health - by Blackazur - 13.07.2013, 23:29
AW: Infinitely Vehicle Health - by Macronix - 13.07.2013, 23:36

Forum Jump:


Users browsing this thread: 1 Guest(s)