vehicle health
#7

Quote:
Originally Posted by Rufio
Посмотреть сообщение
Hello there!

The problem is, vehicle already blows once it reaches like ~350 health, I am not so sure about that, you might want to increase the minimum health.

Edit: Do it something like this;

pawn Код:
public carcheck()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
           new vehicle, Float:health;
           vehicle = GetPlayerVehicleID(i);
           GetVehicleHealth(vehicle, health);
           if(health <= 480)
           {
                RemovePlayerFromVehicle(i);
                health += 75;
                SetVehicleHealth(vehicle, health);
   
           }
     }
     return 1;
}
Edit 2; About your second question regarding increasing burning time, it isn't possible as far as I know, so I can't help about that.
Thanks for warning, tho'.
Reply


Messages In This Thread
vehicle health - by cyberlord - 06.01.2015, 21:23
Re: vehicle health - by Rufio - 06.01.2015, 21:27
Re: vehicle health - by cyberlord - 06.01.2015, 21:40
Re: vehicle health - by Rufio - 06.01.2015, 21:54
Re: vehicle health - by cyberlord - 06.01.2015, 21:56
Re: vehicle health - by Dignity - 06.01.2015, 22:00
Re: vehicle health - by Rufio - 06.01.2015, 22:01
Re: vehicle health - by cyberlord - 06.01.2015, 22:10

Forum Jump:


Users browsing this thread: 1 Guest(s)