26.03.2013, 11:57
Hello Im Making An OOC event on my Server (Vehicle Deathmatch) I want when the person enters that vehicle (current Vehicles in this event : 6) The Vehicle Will Lock and he won`t get out until the vehicle explodes.
Код:
new vehicle1; new vehicle2; new vehicle3; new vehicle4; new vehicle5; new vehicle6;
Код:
vehicle1 = AddStaticVehicle(494,-1355.2863,934.3497,1036.2472,344.7909,0,0); // car 1 vehicle2 = AddStaticVehicle(494,-1350.6858,933.9694,1036.2368,335.1612,0,0); // car 2 vehicle3 = AddStaticVehicle(494,-1342.4882,936.6886,1036.2679,342.7064,0,0); // car 3 vehicle4 = AddStaticVehicle(494,-1335.2455,939.6367,1036.3094,328.8282,0,0); // car 4 vehicle5 = AddStaticVehicle(494,-1326.0245,942.1704,1036.3363,342.8684,0,0); // car 5 vehicle6 = AddStaticVehicle(494,-1320.7833,945.8101,1036.3868,352.1502,0,0); // car 6 LinkVehicleToInterior(vehicle1, 15);// car 1 LinkVehicleToInterior(vehicle2, 15);// car 2 LinkVehicleToInterior(vehicle3, 15);// car 3 LinkVehicleToInterior(vehicle4, 15);// car 4 LinkVehicleToInterior(vehicle5, 15);// car 5 LinkVehicleToInterior(vehicle6, 15);// car 6 SetVehicleVirtualWorld(vehicle1, 0);// car 1 SetVehicleVirtualWorld(vehicle2, 0);// car 2 SetVehicleVirtualWorld(vehicle3, 0);// car 3 SetVehicleVirtualWorld(vehicle4, 0);// car 4 SetVehicleVirtualWorld(vehicle5, 0);// car 5 SetVehicleVirtualWorld(vehicle6, 0);// car 6