Advertisement
Guest User

Code Error

a guest
Jun 12th, 2016
611
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 17.26 KB | None | 0 0
  1. //This Is The Code
  2.  
  3.  
  4.  
  5. #pragma region Custom Vehicles
  6. {
  7.         switch (SpawnCustomVehicle && CustomIsReadyForObjects)
  8.         {
  9.             Hash prop_weight_15k = 0x37A80361;//prop_weight_15k
  10.             Hash prop_cs_bar = 0xB685E324;//prop_cs_bar
  11.             Hash prop_car_seat = 0x52660DBB;//prop_car_seat
  12.             Hash prop_bumper_02 = 0x9970602C;//prop_bumper_02
  13.             Hash prop_yoga_mat_02 = 0x7AA02CC5;//prop_yoga_mat_02
  14.             Hash prop_power_cell = 0x8538A366;//prop_power_cell
  15.             Hash prop_carcreeper = 0x103C434E;//prop_carcreeper
  16.             Hash prop_car_engine_01 = 0xDD75614;//prop_car_engine_01
  17.             Hash prop_minigun_01 = 0xC89630B8;//prop_minigun_01
  18.             Hash hei_prop_heist_emp = 0x3794ACC9;//hei_prop_heist_emp
  19.             Hash hei_prop_wall_alarm_on = 0x40E01BC1;//hei_prop_wall_alarm_on
  20.             Hash prop_t_sofa = 0x8AEE0C45;//prop_t_sofa
  21.             Hash prop_tornado_wheel = 0x3086F33B;//prop_tornado_whee
  22.  
  23.             (CustomVehicleIndex)
  24.             {
  25.             case 0://Go Kart
  26.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -0.4000, 0.3800, 0.2000, -50.000, 0.0000, 0.0000);//prop_weight_15k
  27.                 CREATE_AND_ATTACH(CustomVehicle, 0xB685E324, -0.4000, 0.5900, -0.1400, 30.000, 0.0000, 0.0000);//prop_cs_bar
  28.                 CREATE_AND_ATTACH(CustomVehicle, 0x52660DBB, -0.4000, -0.1500, -0.5000, 0.0000, 0.0000, 180.0000);//prop_car_seat
  29.                 CREATE_AND_ATTACH(CustomVehicle, 0x9970602C, 0.1800, 0.2500, -0.4100, 0.0000, 0.0000, 90.0000);//prop_bumper_02
  30.                 CREATE_AND_ATTACH(CustomVehicle, 0x9970602C, -0.9800, 0.2500, -0.4100, 0.0000, 0.0000, -90.0000);//prop_bumper_02
  31.                 CREATE_AND_ATTACH(CustomVehicle, 0x7AA02CC5, -0.2000, 0.3000, -0.4500, 0.0000, 0.0000, 90.0000);//prop_yoga_mat_02
  32.                 CREATE_AND_ATTACH(CustomVehicle, 0x7AA02CC5, -0.6000, 0.3000, -0.4500, 0.0000, 0.0000, 90.0000);//prop_yoga_mat_02
  33.                 CREATE_AND_ATTACH(CustomVehicle, 0x7AA02CC5, -0.6000, 0.2000, -0.4500, 0.0000, 0.0000, 90.0000);//prop_yoga_mat_02
  34.                 CREATE_AND_ATTACH(CustomVehicle, 0x7AA02CC5, -0.2000, 0.2000, -0.4500, 0.0000, 0.0000, 90.0000);//prop_yoga_mat_02
  35.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, -0.1500, 1.0700, -0.4500, 0.0000, 0.0000, 90.0000);//prop_power_cell
  36.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, -0.6500, 1.0700, -0.4500, 0.0000, 0.0000, 90.0000);//prop_power_cell
  37.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, -0.4000, 1.0700, -0.4500, 0.0000, 0.0000, 90.0000);//prop_power_cell
  38.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, -0.1500, -0.5700, -0.4500, 0.0000, 0.0000, 90.0000);//prop_power_cell
  39.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, -0.6500, -0.5700, -0.4500, 0.0000, 0.0000, 90.0000);//prop_power_cell
  40.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, -0.4000, -0.5700, -0.4500, 0.0000, 0.0000, 90.0000);//prop_power_cell
  41.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.2400, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  42.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.2700, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  43.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.3000, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  44.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.3300, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  45.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.3600, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  46.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.2400, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  47.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.2700, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  48.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.3000, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  49.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.3300, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  50.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, 0.3600, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  51.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.0200, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  52.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.0500, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  53.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.0800, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  54.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.1100, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  55.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.1400, 0.9300, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  56.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.0200, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  57.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.0500, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  58.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.0800, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  59.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.1100, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  60.                 CREATE_AND_ATTACH(CustomVehicle, 0x37A80361, -1.1400, -0.4400, -0.4500, 0.0000, 0.0000, 90.0000);//prop_weight_15k
  61.                 break;
  62.             case 1://Dragon Fly
  63.                 CustomIsReadyForObjects = true;
  64.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -0.4000, -0.4000, 1.0000, 19.0000, 0.0000, 0.0000);
  65.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -0.4000, 1.5000, 0.8000, 30.7000, 0.0000, 178.0000);
  66.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -0.4000, 1.5000, -0.1000, -16.3000, 0.0000, 178.0000);
  67.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -0.4000, -0.3000, 0.2000, 35.9001, 0.0000, 178.0000);
  68.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -0.7000, 1.3000, 0.7000, 35.9001, 64.6000, 175.7999);
  69.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -0.1000, 1.3000, 0.7000, 35.9001, -67.8000, -176.6998);
  70.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -0.4500, -1.9100, 0.7000, 3.9001, -0.8000, 179.5000);
  71.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, 0.2500, -2.4100, 0.7000, 1.9001, -0.8000, 89.4000);
  72.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -1.2500, -2.4100, 0.7000, 1.9001, -0.8000, -91.6000);
  73.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -1.1500, -2.4100, 1.0000, -47.0999, -0.8000, -91.6000);
  74.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, 0.3300, -2.4100, 1.0000, -47.0999, -0.8000, 92.0000);
  75.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, 0.8300, 0.6900, 0.2000, -19.0999, -0.8000, 89.8000);
  76.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -1.7100, 0.7100, 0.2100, -19.0999, -0.8000, -91.2000);
  77.  
  78.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -2.52, 0.7100, 0.6100, 48.9001, -0.8000, -91.2000);
  79.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, -3.3, 0.7100, 0.6100, 48.9001, -0.8000, 91.0000);
  80.  
  81.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, 2.5200, 0.7100, 0.6100, 48.9001, -0.8000, -91.2000);
  82.                 CREATE_AND_ATTACH(CustomVehicle, prop_carcreeper, 1.6800, 0.7100, 0.6100, 48.9001, -0.8000, 91.0000);
  83.  
  84.                 CREATE_AND_ATTACH(CustomVehicle, prop_car_engine_01, -0.5000, -0.7000, 1.0000, 0.0000, 0.0000, 0.0000);
  85.                 CREATE_AND_ATTACH(CustomVehicle, prop_minigun_01, -0.1000, 2.7000, 0.2000, 0.0000, 0.0000, 88.0000);
  86.                 CREATE_AND_ATTACH(CustomVehicle, prop_minigun_01, -0.6000, 2.7000, 0.2000, 0.0000, 0.0000, 88.0000);
  87.                 CREATE_AND_ATTACH(CustomVehicle, prop_minigun_01, -3.4000, 1.3000, 0.0000, 0.0000, 0.0000, 88.0000);
  88.                 CREATE_AND_ATTACH(CustomVehicle, prop_minigun_01, 2.6000, 1.3000, 0.0000, 0.0000, 0.0000, 88.0000);
  89.                 CREATE_AND_ATTACH(CustomVehicle, prop_car_seat, -0.3000, 0.6000, 0.0000, 0.0000, 0.0000, 180.0000);
  90.                 CREATE_AND_ATTACH(CustomVehicle, hei_prop_heist_emp, -0.3900, -0.6000, 0.6200, 0.0000, 0.0000, 0.0000);
  91.                 CREATE_AND_ATTACH(CustomVehicle, hei_prop_wall_alarm_on, -0.0900, 3.1200, 0.1700, 0.0000, 0.0000, 0.0000);
  92.                 CREATE_AND_ATTACH(CustomVehicle, hei_prop_wall_alarm_on, -0.5900, 3.1200, 0.1700, 0.0000, 0.0000, 0.0000);
  93.                 CREATE_AND_ATTACH(CustomVehicle, hei_prop_wall_alarm_on, -3.3900, 1.7200, -0.0300, 0.0000, 0.0000, 0.0000);
  94.                 CREATE_AND_ATTACH(CustomVehicle, hei_prop_wall_alarm_on, 2.6100, 1.7200, -0.0300, 0.0000, 0.0000, 0.0000);
  95.                 break;
  96.             case 2://Sofa Car
  97.                 CREATE_AND_ATTACH(CustomVehicle, prop_t_sofa, 0, -0.4, 0, 0, 0, 180);
  98.                 CREATE_AND_ATTACH(CustomVehicle, prop_tornado_wheel, -1.05, 0.4, -0.15, 0, 0, 0);
  99.                 CREATE_AND_ATTACH(CustomVehicle, prop_tornado_wheel, -1.05, -0.92, -0.15, 0, 0, 0);
  100.                 CREATE_AND_ATTACH(CustomVehicle, prop_tornado_wheel, 1.05, 0.4, -0.15, 0, 0, 180);
  101.                 CREATE_AND_ATTACH(CustomVehicle, prop_tornado_wheel, 1.05, -0.92, -0.15, 0, 0, 180);
  102.                 CREATE_AND_ATTACH(CustomVehicle, prop_weight_15k, -0.28, -0.31, 0.46, -20, 0, 0);
  103.                 CREATE_AND_ATTACH(CustomVehicle, prop_cs_bar, -0.29, 0, 0.21, 50, 0, 0);
  104.                 break;
  105.             case 3://Motor Toilet
  106.                 CREATE_AND_ATTACH(CustomVehicle, 0x6F9939C7, 0, -0.4, 0.1, 0, 0, 180);//prop_ld_toilet_01
  107.                 break;
  108.             case 4://Petrol Trolley
  109.                 CREATE_AND_ATTACH(CustomVehicle, 0x532B1DD1);//prop_rub_trolley01a
  110.                 break;
  111.             case 5://UFO
  112.                 CREATE_AND_ATTACH(CustomVehicle, 0xB467C540);//p_spinning_anus_s
  113.                 break;
  114.             case 6://Wooden Boat
  115.                 CREATE_AND_ATTACH(CustomVehicle, 0xB58BE281, 0, 0, 0, 0, 0, 180);//prop_byard_rowboat1
  116.                 CREATE_AND_ATTACH(CustomVehicle, 0x9A7DC49F, 0, -3.3, 0.22, 0, 0, 180);//prop_byard_motor_01
  117.                 break;
  118.             case 7://Wheelie Rebel
  119.                 EntityLoc = ENTITY::GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(CustomVehicle, 0, -2, 0);
  120.                 ENTITY::SET_ENTITY_HEADING(OBJECT::CREATE_OBJECT((0x1FCA2A6A), EntityLoc.x, EntityLoc.y, EntityLoc.z, true, true, false), 90);//prop_haybale_01
  121.                 STREAMING::SET_MODEL_AS_NO_LONGER_NEEDED((0x1FCA2A6A));//prop_haybale_01
  122.                 break;
  123.             case 8://Go-Kart v2
  124.                 CREATE_AND_ATTACH(CustomVehicle, 0x52660DBB, -0.3000, -0.9000, -0.2000, 0.0000, 0.0000, -179.0000);//prop_car_seat
  125.                 CREATE_AND_ATTACH(CustomVehicle, 0xC7911492, -0.3000, 0.2000, 0.3300, 137.1005, 0.0000, 0.0000);//prop_carjack
  126.                 CREATE_AND_ATTACH(CustomVehicle, 0xC7911492, 0.1000, 0.3000, -0.8700, 65.8006, 0.0000, 0.0000);//prop_carjack
  127.                 CREATE_AND_ATTACH(CustomVehicle, 0x103C434E, -0.3000, -0.3000, -0.4200, 0.0000, 0.0000, -180.0000);//prop_carcreeper
  128.                 CREATE_AND_ATTACH(CustomVehicle, 0xB9579FFA, -0.3000, -1.1500, -1.5800, 0.0000, 0.0000, -1.0000);//prop_bumper_03
  129.                 CREATE_AND_ATTACH(CustomVehicle, 0xB9579FFA, -0.3000, 0.4500, -1.5800, 0.0000, 0.0000, -180.0000);//prop_bumper_03
  130.  
  131.                 CREATE_AND_ATTACH(CustomVehicle, 0xAB016B30, 0.5760, 0.7000, -0.1800, 0.0000, 0.0000, -89.0000);//prop_wheel_04
  132.                 CREATE_AND_ATTACH(CustomVehicle, 0xAB016B30, 0.5760, -1.5500, -0.1800, 0.0000, 0.0000, -89.0000);//prop_wheel_04
  133.  
  134.                 CREATE_AND_ATTACH(CustomVehicle, 0xD2FB3B23, 0.6760, -1.5500, -0.1800, 0.0000, 0.0000, -89.0000);//prop_wheel_03
  135.                 CREATE_AND_ATTACH(CustomVehicle, 0xD2FB3B23, 0.6360, 0.7000, -0.1800, 0.0000, 0.0000, -89.0000);//prop_wheel_03
  136.  
  137.                 CREATE_AND_ATTACH(CustomVehicle, 0xD2FB3B23, -1.1840, 0.7000, -0.1800, 0.0000, 0.0000, 89.0000);//prop_wheel_03
  138.                 CREATE_AND_ATTACH(CustomVehicle, 0xD2FB3B23, -1.1840, -1.5500, -0.1800, 0.0000, 0.0000, 90.9004);//prop_wheel_03
  139.  
  140.                 CREATE_AND_ATTACH(CustomVehicle, 0xD2FB3B23, -1.2740, -1.5500, -0.1800, 0.0000, 0.0000, 90.9004);//prop_wheel_03
  141.                 CREATE_AND_ATTACH(CustomVehicle, 0xD2FB3B23, -1.2140, 0.7000, -0.1800, 0.0000, 0.0000, 90.9004);//prop_wheel_03
  142.  
  143.                 CREATE_AND_ATTACH(CustomVehicle, 0xC89630B8, 0.1000, -1.5400, -0.1500, 0.0000, 0.0000, 0.0000);//prop_minigun_01
  144.                 CREATE_AND_ATTACH(CustomVehicle, 0xC89630B8, -0.6900, -1.5400, -0.1500, 0.0000, 0.0000, -180.0000);//prop_minigun_01
  145.                 CREATE_AND_ATTACH(CustomVehicle, 0xC89630B8, -0.6400, 0.7000, -0.1500, 0.0000, 0.0000, -180.0000);//prop_minigun_01
  146.                 CREATE_AND_ATTACH(CustomVehicle, 0xC89630B8, 0.0500, 0.7000, -0.1500, 0.0000, 0.0000, -1.0000);//prop_minigun_01
  147.                 CREATE_AND_ATTACH(CustomVehicle, 0xC89630B8, -0.3500, -1.3500, 0.0500, 35.9000, -159.1998, 19.7000);//prop_minigun_01
  148.                 CREATE_AND_ATTACH(CustomVehicle, 0xD535DA56, -0.3300, 0.0000, 0.4000, -130.6998, 0.0000, 0.0000);//v_ilev_fh_lampa_on
  149.                 CREATE_AND_ATTACH(CustomVehicle, 0xD535DA56, -0.3310, 0.6600, -0.1400, 52.3002, 0.0000, 0.0000);//v_ilev_fh_lampa_on
  150.                 CREATE_AND_ATTACH(CustomVehicle, 0xD535DA56, -0.3310, 0.0610, -0.2400, -91.6998, 0.0000, 0.0000);//v_ilev_fh_lampa_on
  151.                 CREATE_AND_ATTACH(CustomVehicle, 0xD535DA56, 0.3990, -0.6590, -0.3000, 1.2902, 89.0000, 91.0000);//v_ilev_fh_lampa_on
  152.                 CREATE_AND_ATTACH(CustomVehicle, 0xD535DA56, 0.3990, -0.0590, -0.3000, 1.2902, 89.0000, -90.6000);//v_ilev_fh_lampa_on
  153.                 CREATE_AND_ATTACH(CustomVehicle, 0xD535DA56, 0.3990, 0.2410, -0.3000, 1.2902, 89.0000, -90.6000);//v_ilev_fh_lampa_on
  154.                 CREATE_AND_ATTACH(CustomVehicle, 0xD535DA56, -0.9410, -0.0590, -0.3000, 1.2902, 89.0000, -90.6000);//v_ilev_fh_lampa_on
  155.                 CREATE_AND_ATTACH(CustomVehicle, 0xD535DA56, -0.9510, -0.6590, -0.3000, 1.2902, 89.0000, 89.0000);//v_ilev_fh_lampa_on
  156.                 CREATE_AND_ATTACH(CustomVehicle, 0xD535DA56, -0.9510, 0.2410, -0.3000, 1.2902, 89.0000, -89.0000);//v_ilev_fh_lampa_on
  157.                 CREATE_AND_ATTACH(CustomVehicle, 0x889E3E33, 0.1500, -1.4700, -0.3100, 0.0000, 0.0000, 0.0000);//hei_prop_wall_alarm_off
  158.                 CREATE_AND_ATTACH(CustomVehicle, 0x889E3E33, -0.7200, -1.4700, -0.3100, 0.0000, 0.0000, 0.0000);//hei_prop_wall_alarm_off
  159.                 CREATE_AND_ATTACH(CustomVehicle, 0xDE83A424, -0.3600, -0.2400, 0.5000, -11.0000, -87.0000, 0.0000);//prop_controller_01
  160.                 CREATE_AND_ATTACH(CustomVehicle, 0xDE83A424, -0.2400, -0.2400, 0.5000, -11.0000, 83.0000, 0.0000);//prop_controller_01
  161.                 CREATE_AND_ATTACH(CustomVehicle, 0xE08EF8F2, 0.2300, -1.1000, -0.9000, 0.0000, 0.0000, 0.0000);//prop_compressor_03
  162.                 CREATE_AND_ATTACH(CustomVehicle, 0xE08EF8F2, 0.2300, -0.7800, -0.9700, 0.0000, 0.0000, 180.0000);//prop_compressor_03
  163.                 CREATE_AND_ATTACH(CustomVehicle, 0x15AB6BAB, 0.2300, -0.4200, -0.1300, -66.0999, -7.0000, -3.0000);//prop_laptop_jimmy
  164.                 break;
  165.             case 9://Batbike
  166.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, 0.0000, -0.1000, 0.4000, 0.0000, 0.0000, 0.0000);//prop_power_cell
  167.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, 0.0000, 0.2000, 0.4000, 0.0000, 0.0000, 0.0000);//prop_power_cell
  168.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, 0.0000, 0.4200, 0.4500, 23.0000, 0.0000, 0.0000);//prop_power_cell
  169.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, 0.0000, 0.7300, 0.5000, -47.0001, 0.0000, 0.0000);//prop_power_cell
  170.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, 0.0000, 0.8300, 0.4000, -47.0001, 0.0000, 0.0000);//prop_power_cell
  171.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, 0.0000, -0.3300, 0.2500, -149.0000, 0.0000, 0.0000);//prop_power_cell
  172.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, 0.0000, -0.3200, 0.1000, 179.0000, 0.0000, 0.0000);//prop_power_cell
  173.                 CREATE_AND_ATTACH(CustomVehicle, 0x8538A366, 0.0000, -0.0000, 0.1000, 179.0000, 0.0000, 0.0000);//prop_power_cell
  174.                 CREATE_AND_ATTACH(CustomVehicle, 0xEE95F258, 0.0100, 1.2400, 0.0000, 0.0000, 0.0000, -91.0000);//prop_wheel_01
  175.                 CREATE_AND_ATTACH(CustomVehicle, 0xEE95F258, 0.0100, -0.8600, 0.0000, 0.0000, 0.0000, -91.0000);//prop_wheel_01
  176.                 CREATE_AND_ATTACH(CustomVehicle, 0xEE95F258, 0.0100, -0.8600, 0.0000, 0.0000, 0.0000, 89.0000);//prop_wheel_01
  177.                 CREATE_AND_ATTACH(CustomVehicle, 0xEE95F258, 0.0100, 1.2400, 0.0000, 0.0000, 0.0000, 89.0000);//prop_wheel_01
  178.                 //CREATE_AND_ATTACH(CustomVehicle, 0xC89630B8, 0.0000, -0.3000, 0.0500, 0.0000);//prop_minigun_01
  179.                 break;
  180.             case 10://Large Sub
  181.                 CREATE_AND_ATTACH(CustomVehicle, 0xF20B1BDD, -0.0000, -8.5000, 4.3000, 0.0000, 0.0000, -180.0000);//hei_prop_heist_tug
  182.                 CREATE_AND_ATTACH(CustomVehicle, 0xF20B1BDD, -0.0000, -8.5000, -0.6400, 0.0000, 180.0000, -180.0000);//hei_prop_heist_tug
  183.                 CREATE_AND_ATTACH(CustomVehicle, 0x98D3236B, 0.8000, -5.6000, 5.8000, 0.0000, 0.0000, 0.0000);//hei_prop_carrier_defense_01
  184.                 CREATE_AND_ATTACH(CustomVehicle, 0x98D3236B, -0.8000, -5.6000, 5.8000, 0.0000, 0.0000, 0.0000);//hei_prop_carrier_defense_01
  185.                 CREATE_AND_ATTACH(CustomVehicle, 0x98D3236B, 0.0000, -5.6000, 5.8000, 0.0000, 0.0000, 0.0000);//hei_prop_carrier_defense_01
  186.                 CREATE_AND_ATTACH(CustomVehicle, 0x8B9108E7, 0.0000, 0.0000, 4.8000, 0.0000, 0.0000, 178.0000);//hei_prop_carrier_defense_02
  187.                 CREATE_AND_ATTACH(CustomVehicle, 0xB2BA5BFE, 0.0000, -5.1800, 12.0000, 0.0000, 0.0000, 0.0000);//prop_flag_eu
  188.                 break;
  189.             case 11://Ramp
  190.                 CREATE_AND_ATTACH(CustomVehicle, 0x93948E5E, 0, -3.4, 0, 0, 0, 0, true);//prop_mp_ramp_03
  191.                 CREATE_AND_ATTACH(CustomVehicle, 0x93948E5E, 0, 4, 0, 0, 0, 180, true);//prop_mp_ramp_03
  192.                 CREATE_AND_ATTACH(CustomVehicle, 0x93948E5E, 4, -3.4, 0, 0, 0, 0, true);//prop_mp_ramp_03
  193.                 CREATE_AND_ATTACH(CustomVehicle, 0x93948E5E, 4, 4, 0, 0, 0, 180, true);//prop_mp_ramp_03
  194.                 CREATE_AND_ATTACH(CustomVehicle, 0x93948E5E, -4, -3.4, 0, 0, 0, 0, true);//prop_mp_ramp_03
  195.                 CREATE_AND_ATTACH(CustomVehicle, 0x93948E5E, -4, 4, 0, 0, 0, 180, true);//prop_mp_ramp_03
  196.                 break;
  197.             case 12://Destruction Derby
  198.                 CREATE_AND_ATTACH(CustomVehicle, 0xDA76FE6E, 0, 4.2, -0.8, -29, 0, 0, true);//prop_container_01a
  199.                 CREATE_AND_ATTACH(CustomVehicle, 0xDA76FE6E, -2.6, 4.2, -0.8, -29, 0, 0, true);//prop_container_01a
  200.                 CREATE_AND_ATTACH(CustomVehicle, 0xDA76FE6E, 2.6, 4.2, -0.8, -29, 0, 0, true);//prop_container_01a
  201.                 break;
  202.             }
  203.             if (CustomVehicleIndex != 13 && CustomVehicleIndex != 14 && CustomVehicleIndex != 15)
  204.             {
  205.                 CustomIsReadyForObjects = false;
  206.                 SpawnCustomVehicle = false;
  207.             }
  208.         }
  209.     }
  210. #pragma endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement