[help]vehicle health on all cars
#2

pawn Код:
public OnVehicleSpawn(vehicleid)
{
    SetVehicleHealth(vehicleid, amount);
    return 1;
}
The default vehicles spawn with is 1000, so you want to give them more than that.

https://sampwiki.blast.hk/wiki/OnVehicleSpawn
https://sampwiki.blast.hk/wiki/SetVehicleHealth
Reply


Messages In This Thread
[help]vehicle health on all cars - by PSYCHOBABYKILLA - 02.04.2015, 11:11
Re: [help]vehicle health on all cars - by CalvinC - 02.04.2015, 11:13
Re: [help]vehicle health on all cars - by Konstantinos - 02.04.2015, 11:19
Re: [help]vehicle health on all cars - by PSYCHOBABYKILLA - 02.04.2015, 15:26

Forum Jump:


Users browsing this thread: 2 Guest(s)