[Help] Vehicle Health For Police Cars
#6

thats true, vehicle Full health is 1000. but even we can set any vehicle health value (like 5000 or more) .
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
   if(GetVehicleModel(vehicleid) == 596/*|| GetVehicleModel(vehicleid) == other police car ids */)
    {
        SetVehicleHealth(vehicleid,5000);
    }
    return 1;
}
improve above code yourself for your script. (you should block vehicle health refill when player re-enter the car)
Reply


Messages In This Thread
[Help] Vehicle Health For Police Cars - by AchievementMaster360 - 18.02.2013, 00:27
Re: [Help] Vehicle Health For Police Cars - by Kontrol - 18.02.2013, 00:39
Re: [Help] Vehicle Health For Police Cars - by AchievementMaster360 - 18.02.2013, 00:40
Re: [Help] Vehicle Health For Police Cars - by Scenario - 18.02.2013, 00:42
Re: [Help] Vehicle Health For Police Cars - by Kontrol - 18.02.2013, 00:42
Re: [Help] Vehicle Health For Police Cars - by Jewell - 18.02.2013, 04:53

Forum Jump:


Users browsing this thread: 2 Guest(s)