18.08.2012, 03:09
ok im trying to make certian vehicles have say 5000hp instead of 1000hp
i have this code
and i get an error message about Vehicle_Armor please help
i have this code
pawn Код:
Vehicle_Armor(iVehicleID) {
switch(GetVehicleModel(iVehicleID)) {
case 596, 597, 598: SetVehicleHealth(iVehicleID, 2000.0);
case 490: SetVehicleHealth(iVehicleID, 2500.0);
case 407, 470: SetVehicleHealth(iVehicleID, 3000.0);
case 428, 433, 447, 427: SetVehicleHealth(iVehicleID, 4000.0);
case 601, 528: SetVehicleHealth(iVehicleID, 5000.0);
case 432, 425: SetVehicleHealth(iVehicleID, 7500.0);
}
}