13.07.2013, 23:36
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);
}
}
}