24.06.2011, 01:22
Код:
public OnVehicleSpawn(vehicleid) { switch(GetVehicleModel(vehicleid)) { case 427, 428, 432, 601, 528: SetVehicleHealth(vehicleid, 5000.0); // Enforcer, Securicar, Rhino, SWAT Tank, FBI truck - this is the armour plating. } systemVariables[vehicleCounts][1] = 0; foreach(Player, x) { if(doesVehicleExist(playerVariables[x][pCarID])) { systemVariables[vehicleCounts][1]++; } } return 1; }