Code:
new tmpobjid;
tmpobjid = CreateDynamicObject(19905, -523.412658, 2648.239013, 52.414062, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 1, 9514, "711_sfw", "ws_carpark2", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
tmpobjid = CreateDynamicObject(3627, -524.795593, 2554.566406, 56.194080, 0.000000, 0.000000, 89.799995, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 9514, "711_sfw", "ws_carpark2", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 3, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 5, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2635.413085, 54.305477, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2625.762939, 54.305477, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2635.413085, 57.805477, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2625.762207, 57.805477, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2645.132812, 54.305477, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2645.062744, 57.805469, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2653.144531, 57.805469, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2653.144531, 54.245460, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2616.141113, 54.305477, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2616.141113, 57.785476, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2606.479736, 57.785476, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2606.479736, 54.245483, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2606.519042, 54.245483, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2603.277832, 57.785408, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(3749, -503.167236, 2592.833984, 58.054065, 0.000000, 0.000000, 89.399993, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 2047, "cj_ammo_posters", "cj_flag2", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 1281, "benches", "pierdoor02_law", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 19071, "wssections", "wood1", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 3, 19071, "wssections", "wood1", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2578.370117, 54.245483, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2578.370117, 57.775482, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2568.988769, 57.775482, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2568.988769, 54.205474, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2559.387451, 54.205474, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2559.387451, 57.695400, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2549.806152, 57.695400, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -505.037597, 2549.806152, 54.225395, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(3279, -509.495666, 2609.725585, 52.242183, 0.000000, 0.000000, -91.799987, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 6282, "beafron2_law2", "sjmcargr", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 16640, "a51", "wallgreyred128", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 14581, "ab_mafiasuitea", "cof_wood2", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 3, 10101, "2notherbuildsfe", "Bow_Abpave_Gen", 0x00000000);
tmpobjid = CreateDynamicObject(13696, -554.258361, 2629.972167, 52.358943, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "Bow_Abpave_Gen", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 9514, "711_sfw", "brick", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 16093, "a51_ext", "corugwall_sandy", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 4, 1281, "benches", "pierdoor02_law", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 5, 10041, "archybuild10", "rooftop_gz3", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 6, 10101, "2notherbuildsfe", "Bow_Abpave_Gen", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 7, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
tmpobjid = CreateDynamicObject(3866, -486.440979, 2653.637451, 58.351299, 0.000000, 0.000000, -90.100006, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "flatdoor01_law", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 14548, "ab_cargo_int", "metal_frame", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 3, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -509.777801, 2657.799560, 54.245460, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -509.777801, 2657.799560, 57.815471, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -519.167480, 2657.864501, 57.815471, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -519.167480, 2657.864501, 54.345462, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -528.407470, 2657.928955, 54.345462, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -528.407470, 2657.928955, 57.845462, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -537.846862, 2657.993896, 57.845462, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -537.846862, 2657.993896, 54.235469, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -509.724304, 2545.086181, 54.235469, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -519.313842, 2545.153076, 54.235469, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -519.313842, 2545.153076, 57.665496, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -509.774139, 2545.086181, 57.665496, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -528.973815, 2545.219726, 57.665496, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -528.973815, 2545.219726, 54.295513, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -538.403747, 2545.284667, 54.295513, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -538.403747, 2545.284667, 57.645404, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -547.623779, 2545.348388, 57.645404, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -557.233703, 2545.415527, 57.645404, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -566.713256, 2545.481689, 57.645404, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -576.383300, 2545.549560, 57.645404, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -585.953186, 2545.616455, 57.645404, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -547.913085, 2545.351318, 54.295513, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -557.462951, 2545.418212, 54.295513, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -567.102905, 2545.486083, 54.295513, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -576.442626, 2545.550781, 54.295513, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -585.992431, 2545.618164, 54.295513, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -549.607177, 2658.073486, 54.235469, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -558.886474, 2658.136718, 54.235469, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -542.356811, 2658.025146, 54.235469, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -547.406616, 2658.060546, 57.845462, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19450, -556.986450, 2658.128173, 57.845462, 0.000000, 0.000000, -90.400024, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 13659, "8bars", "Upt_Fence_Mesh", 0x00000000);
tmpobjid = CreateDynamicObject(19909, -566.372436, 2555.806884, 52.558013, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 9514, "711_sfw", "ws_carpark2", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 1281, "benches", "pierdoor02_law", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 3, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
tmpobjid = CreateDynamicObject(3244, -579.799133, 2557.262939, 51.844413, 0.000000, 0.000000, 0.000000, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 1, 18642, "taser1", "lightning2-3", 0x00000000);
SetDynamicObjectMaterial(tmpobjid, 2, 11100, "bendytunnel_sfse", "blackmetal", 0x00000000);