Quote:
Originally Posted by Deniz1467
I put it like that, I think I cant put it truely.
pawn Код:
public OnGameModeInit() { for(new i = 0; i < MAX_VEHICLES; i++) { if(GetVehicleModel(i) == 596 || GetVehicleModel(i) == 597 || GetVehicleModel(i) == 598) { SetVehicleHealth(i, 3000); print("Armored Cars Loaded."); } } new
|
You also need to make sure that the vehicles for your server are being loaded first, before performing that function. If the vehicles aren't loaded, it can't set the health, because the cars aren't there. So put it after the vehicle load function.