26.11.2012, 22:31
Every time I change something in my 'Gamemode' it begins to confuse the cars, saying that a car is a bike or otherwise. How do I organize?
forward IsAGangCar(carid); forward IsAGangCar2(carid); forward IsAGangCar3(carid); forward IsAGangCar4(carid); forward IsAGangCar5(carid); forward IsAGangCar6(carid); forward IsAGangCar7(carid); forward IsABike(carid); forward IsAOBike(carid); forward IsATank(carid);
forward IsATruck(carid); forward IsAPizzabike(carid); forward IsABus(carid);
enum eCars { model_id, Float:pos_x, Float:pos_y, Float:pos_z, Float:z_angle, };
new armycar[32]; new governcar[5]; new copcar[37]; new swatcar[11]; new vicecar[13]; new fbicar[20];
new RandCars[20][1] = { {496},{542},{507},{585}, {466},{492},{579},{559}, {400},{551},{516},{475}, {561},{550},{566},{558}, {562},{562},{603},{560} };
public IsABoat(carid) { if(IsModelABoat(carid)) { return 1; } return 0; }
copcar[17] = AddStaticVehicleEx(599,1545.0044,-1671.9329,6.0791,91.5492,-1,-1,30000); // Police ranger 35 swatcar[0] = AddStaticVehicleEx(427,1544.2870,-1659.3522,5.6119,88.5025,0,125,30000);// Police SWAT enforcer 36 swatcar[1] = AddStaticVehicleEx(601,1544.6962,-1663.2948,6.0225,88.9357,-1,-1,30000); // Police SWAT APC 37 copcar[18] = AddStaticVehicleEx(497,1566.6628,-1653.8688,28.5752,91.9445,0,1,30000);// Police maverick 38