From eafaaea840cae006228b209825de6753f3f9de17 Mon Sep 17 00:00:00 2001 From: Lorenc Date: Mon, 23 Oct 2017 02:36:23 +1100 Subject: [PATCH] bunker --- filterscripts/objects.pwn | 197 +++++++++ gamemodes/sf-cnr.pwn | 907 +++++++++++++++++++++++++++----------- pawno/include/sf-cnr.inc | 852 ++++++++++++++++++++++++++++++++++- server.cfg | 2 +- 4 files changed, 1703 insertions(+), 255 deletions(-) diff --git a/filterscripts/objects.pwn b/filterscripts/objects.pwn index f38e727..1056b13 100644 --- a/filterscripts/objects.pwn +++ b/filterscripts/objects.pwn @@ -310,6 +310,191 @@ public OnFilterScriptInit() CreateDynamicObject( 1685, -1752.553588, 59.633178, 866.292968, 0.000000, 0.000000, 0.000000 ); CreateDynamicObject( 1685, -1752.472534, 57.522521, 866.292968, 0.000000, 0.000000, 0.000000 ); SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1748.673706, 4.254638, 867.267089, 0.000000, 0.000000, 0.000000 ), 0, 10631, "queensammo_sfs", "ammu_gunboard3", 1 ); + + // Zach's Buz + CreateDynamicObject( 19834, 2140.468750, -2291.720947, 21.069238, 0.000000, 30.099998, 45.099987 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19545, 2168.511474, -2252.383300, 12.313515, 0.000000, 0.000000, 135.000000 ), 0, 0, "none", "none", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19545, 2157.956298, -2241.828125, 12.313515, 0.000000, 0.000000, 135.000000 ), 0, 0, "none", "none", 0 ); + CreateDynamicObject( 11714, 2133.285156, -2283.336669, 20.924314, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 11714, 2120.378417, -2270.217529, 20.924314, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 19858, 2129.707519, -2283.862548, 20.904302, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 19858, 2127.364013, -2281.519042, 20.874313, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 19858, 2125.071289, -2279.226318, 20.904293, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 19858, 2122.713623, -2276.868652, 20.904306, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 1279, 2145.469970, -2266.766113, 13.265235, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1279, 2146.541015, -2267.817138, 13.265235, 0.000000, 0.000000, 70.499992 ); + SetDynamicObjectMaterial( CreateDynamicObject( 14394, 2135.101318, -2297.169921, 12.863609, 0.000000, 0.000000, -45.000000 ), 0, 8459, "vgsland2", "Heliconcrete", 0 ); + CreateDynamicObject( 11714, 2158.137939, -2303.824218, 13.754689, -0.399999, 0.000000, 45.000000 ); + CreateDynamicObject( 11714, 2154.817382, -2300.503662, 13.721961, -0.399999, 0.000000, 45.000000 ); + CreateDynamicObject( 11714, 2151.546386, -2297.232666, 13.659720, -0.399999, 0.000000, 45.000000 ); + CreateDynamicObject( 1279, 2147.966308, -2269.212402, 13.265235, 0.000000, 0.000000, 70.499992 ); + CreateDynamicObject( 1279, 2148.932373, -2270.186767, 13.265235, 0.000000, 0.000000, 15.799990 ); + SetDynamicObjectMaterialText( CreateDynamicObject( 4731, 2150.383056, -2238.99, 15.793542, 0.000000, 0.000000, 75.300018 ), 0, "Zach's Drug Pound", 120, "Times New Roman", 64, 0, -1, 0, 1 ); + CreateDynamicObject( 931, 2140.652832, -2290.355712, 14.757051, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 931, 2139.003417, -2292.005126, 14.757051, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 931, 2142.293701, -2288.714843, 14.757051, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 931, 2143.941894, -2287.066650, 14.757051, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 370, 2144.239257, -2286.332763, 15.246766, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 370, 2142.575927, -2287.996093, 15.246766, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 370, 2140.919433, -2289.652587, 15.246766, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 370, 2139.258056, -2291.313964, 15.246766, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 370, 2141.776123, -2288.795898, 15.246766, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 370, 2143.432373, -2287.139648, 15.246766, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 370, 2140.106689, -2290.465332, 15.246766, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 370, 2138.465576, -2292.106445, 15.246766, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1271, 2144.558349, -2286.978759, 14.160052, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1271, 2143.447265, -2287.325195, 14.160052, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1271, 2142.944335, -2288.592773, 14.160052, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1271, 2141.813476, -2288.958984, 14.160052, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1271, 2140.081298, -2290.691162, 14.160052, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1271, 2138.409423, -2292.363037, 14.160052, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1271, 2141.360595, -2290.176513, 14.160052, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1271, 2139.607177, -2291.929931, 14.160052, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 2475, 2135.379638, -2290.077880, 14.356434, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 2475, 2134.324951, -2289.023193, 14.356434, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 2475, 2133.278076, -2287.976318, 14.356434, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 2475, 2132.231201, -2286.929443, 14.356434, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 2475, 2124.060058, -2278.758300, 14.356434, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 2475, 2123.003417, -2277.701660, 14.356434, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 2475, 2121.947509, -2276.645751, 14.356434, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 2475, 2120.888427, -2275.586669, 14.356434, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 1242, 2135.360351, -2289.993896, 15.457800, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 1242, 2134.553710, -2289.187255, 15.457800, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 1242, 2133.706298, -2288.339843, 15.457800, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 1242, 2132.818603, -2287.452148, 15.457800, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 1242, 2131.929199, -2286.562744, 15.457800, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 371, 2134.961425, -2289.645507, 15.425987, 0.000000, 0.000000, -42.000000 ); + CreateDynamicObject( 371, 2134.074951, -2288.793945, 15.425987, 0.000000, 0.000000, -42.000000 ); + CreateDynamicObject( 371, 2133.236328, -2287.931152, 15.425987, 0.000000, 0.000000, -42.000000 ); + CreateDynamicObject( 371, 2132.312988, -2287.062500, 15.425987, 0.000000, 0.000000, -42.000000 ); + CreateDynamicObject( 1654, 2135.630371, -2290.005859, 14.566637, -40.000000, 90.000000, 45.000000 ); + CreateDynamicObject( 1654, 2135.333740, -2289.709228, 14.567790, -40.000000, 90.000000, 45.000000 ); + CreateDynamicObject( 1654, 2135.019531, -2289.395019, 14.571393, -40.000000, 90.000000, 45.000000 ); + CreateDynamicObject( 1654, 2134.711425, -2289.086914, 14.573780, -40.000000, 90.000000, 45.000000 ); + CreateDynamicObject( 1654, 2134.396728, -2288.772216, 14.563299, -40.000000, 90.000000, 45.000000 ); + CreateDynamicObject( 363, 2132.087402, -2286.411865, 14.776203, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 363, 2132.505126, -2286.829589, 14.776203, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 363, 2132.929931, -2287.254394, 14.776203, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 363, 2132.158203, -2286.751708, 14.776203, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 363, 2132.575927, -2287.169433, 14.776203, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 19602, 2133.215576, -2287.582763, 14.576332, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 19602, 2133.612060, -2287.979248, 14.576332, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 19602, 2134.022216, -2288.389404, 14.576332, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 19602, 2133.505859, -2287.688964, 14.576332, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 19602, 2133.902343, -2288.085449, 14.576332, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 346, 2131.598632, -2286.347167, 16.155935, 0.000000, 0.000000, -55.000000 ); + CreateDynamicObject( 346, 2131.968505, -2286.724609, 16.155935, 0.000000, 0.000000, -55.000000 ); + CreateDynamicObject( 346, 2132.374267, -2287.100585, 16.155935, 0.000000, 0.000000, -55.000000 ); + CreateDynamicObject( 348, 2133.077148, -2287.806396, 16.155935, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 348, 2133.416992, -2288.146240, 16.155935, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 348, 2133.770507, -2288.499755, 16.155935, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 3631, 2121.526611, -2269.128173, 14.294548, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 347, 2134.570556, -2289.299804, 16.145935, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 347, 2134.974121, -2289.703369, 16.145935, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 347, 2135.370605, -2290.099853, 16.145935, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 3631, 2126.909912, -2263.744873, 14.294548, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 3631, 2123.245117, -2267.409667, 15.414561, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 362, 2120.356445, -2274.903076, 14.674069, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 361, 2121.382080, -2275.928710, 14.674069, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 361, 2122.443603, -2276.990234, 14.674069, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 362, 2123.497558, -2278.044189, 14.674069, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 360, 2123.893310, -2278.667724, 15.424036, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 360, 2121.854980, -2276.629394, 15.424036, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 359, 2122.852539, -2277.626953, 15.444038, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 359, 2120.778808, -2275.553222, 15.444038, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 355, 2123.748779, -2278.422607, 16.139148, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 355, 2122.722412, -2277.396240, 16.139148, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 356, 2121.689208, -2276.363037, 16.139148, 0.000000, 0.000000, -45.000000 ); + CreateDynamicObject( 356, 2120.740478, -2275.414306, 16.139148, 0.000000, 0.000000, -45.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 937, 2142.748046, -2250.056152, 12.753512, 0.000000, 0.000000, 45.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 937, 2141.411865, -2251.392333, 12.755512, 0.000000, 0.000000, 45.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 937, 2151.113281, -2258.421386, 12.753512, 0.000000, 0.000000, 45.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 937, 2147.217529, -2254.525634, 12.753512, 0.000000, 0.000000, 45.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 937, 2145.889404, -2255.855712, 12.755512, 0.000000, 0.000000, 45.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 937, 2149.784912, -2259.749267, 12.755512, 0.000000, 0.000000, 45.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 936, 2144.775878, -2248.005859, 12.763504, 0.000000, 0.000000, 135.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 936, 2149.213134, -2252.443115, 12.763504, 0.000000, 0.000000, 135.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 936, 2153.137695, -2256.367675, 12.763504, 0.000000, 0.000000, 135.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + CreateDynamicObject( 2418, 2147.127441, -2243.104980, 12.293500, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 2418, 2148.775390, -2241.457031, 12.293500, 0.000000, 0.000000, 45.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 941, 2156.834472, -2264.695312, 12.783499, 0.000000, 0.000000, 45.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 941, 2159.676513, -2264.671142, 12.783499, 0.000000, 0.000000, 135.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 941, 2157.179931, -2262.174560, 12.783499, 0.000000, 0.000000, 135.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1581, 2160.010253, -2261.506103, 13.273510, 90.000000, 0.000000, 135.000000 ), 0, 10789, "xenon_sfse", "slab64", -16 ); + CreateDynamicObject( 938, 2150.405761, -2259.123046, 14.373530, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 2991, 2166.020019, -2264.762695, 12.933506, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 939, 2134.813232, -2256.224853, 14.723518, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 938, 2146.512207, -2255.229492, 14.373530, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 938, 2142.034667, -2250.751953, 14.373530, 0.000000, 0.000000, 45.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19940, 2150.394287, -2259.121582, 14.544137, 0.000000, 0.000000, 135.000000 ), 0, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19940, 2146.497558, -2255.224853, 14.534132, 0.000000, 0.000000, 135.000000 ), 0, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19940, 2142.016845, -2250.744140, 14.533535, 0.000000, 0.000000, 135.000000 ), 0, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19940, 2143.425781, -2249.335205, 14.533535, 0.000000, 0.000000, 135.000000 ), 0, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19940, 2147.906494, -2253.815917, 14.534132, 0.000000, 0.000000, 135.000000 ), 0, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19940, 2151.760742, -2257.755126, 14.544137, 0.000000, 0.000000, 135.000000 ), 0, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + CreateDynamicObject( 1271, 2160.972412, -2261.688232, 12.653497, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1271, 2159.159667, -2265.860351, 12.653497, 0.000000, 0.000000, -70.900009 ); + CreateDynamicObject( 1271, 2159.802978, -2266.466064, 12.653497, 0.000000, 0.000000, -40.800014 ); + CreateDynamicObject( 1271, 2156.678466, -2260.190917, 12.653497, 0.000000, 0.000000, -70.900009 ); + CreateDynamicObject( 1271, 2155.129394, -2264.302490, 12.653497, 0.000000, 0.000000, -116.600013 ); + CreateDynamicObject( 1271, 2155.129394, -2264.302490, 13.333500, 0.000000, 0.000000, -86.300010 ); + CreateDynamicObject( 1279, 2158.964843, -2262.528076, 13.293514, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 1279, 2157.527587, -2262.563476, 13.293514, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1279, 2158.943603, -2263.979492, 13.293514, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 1279, 2157.549072, -2263.943847, 13.293514, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 1579, 2157.013427, -2264.871582, 13.203512, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 1575, 2156.903808, -2262.372314, 13.243513, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1579, 2157.317871, -2264.567138, 13.203512, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 1579, 2156.921386, -2264.170654, 13.203512, 0.000000, 0.000000, 135.000000 ); + CreateDynamicObject( 1579, 2157.028808, -2264.602050, 13.323513, 0.000000, 0.000000, 96.700019 ); + CreateDynamicObject( 1575, 2157.253173, -2261.973144, 13.243513, 0.000000, 0.000000, -41.399993 ); + CreateDynamicObject( 1575, 2157.128173, -2262.177246, 13.393513, 0.000000, 0.000000, 54.600006 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1581, 2156.408447, -2261.430175, 13.273510, 90.000000, 0.000000, 45.000000 ), 0, 10789, "xenon_sfse", "slab64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1581, 2159.988281, -2265.010009, 13.273510, 90.000000, 0.000000, 45.000000 ), 0, 10789, "xenon_sfse", "slab64", -16 ); + CreateDynamicObject( 1576, 2159.489990, -2264.177001, 13.233510, 0.000000, 0.000000, 44.600009 ); + CreateDynamicObject( 1576, 2159.194824, -2264.550537, 13.233510, 0.000000, 0.000000, -32.499988 ); + CreateDynamicObject( 1576, 2159.291748, -2264.375000, 13.383516, 0.000000, 0.000000, 44.600009 ); + SetDynamicObjectMaterial( CreateDynamicObject( 941, 2159.333251, -2262.196533, 12.783499, 0.000000, 0.000000, 45.000000 ), 1, 2951, "a51_labdoor", "ws_metalpanel1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1581, 2156.420654, -2265.095703, 13.273510, 90.000000, 0.000000, 135.000000 ), 0, 10789, "xenon_sfse", "slab64", -16 ); + CreateDynamicObject( 1348, 2153.609619, -2272.211669, 13.003511, 0.000000, 0.000000, -30.399997 ); + CreateDynamicObject( 922, 2153.940185, -2237.146972, 13.193511, 0.000000, 0.000000, -128.399993 ); + CreateDynamicObject( 922, 2157.205810, -2233.104492, 13.193511, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 3577, 2159.920410, -2234.750488, 13.023509, 0.000000, 0.000000, 149.199981 ); + CreateDynamicObject( 1358, 2166.871826, -2240.358886, 13.513519, 0.000000, 0.000000, -45.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, 2127.844238, -2282.731933, 16.533525, -90.000000, 90.000000, -135.000000 ), 0, 14784, "genintwarehsint3", "sjmlawardra1", 0 ); + CreateDynamicObject( 952, 2155.090820, -2247.864746, 13.583514, 0.000000, 0.000000, 45.000000 ); + CreateDynamicObject( 952, 2161.414794, -2254.188720, 13.583514, 0.000000, 0.000000, 45.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19561, 2148.582519, -2252.206298, 13.253513, 0.000000, 0.000000, 0.000000 ), 0, 3193, "cxref_desert", "BIG_COCK", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2147.395996, -2254.596923, 13.213512, 0.000000, 0.000000, -32.000000 ), 0, 3914, "snow", "mp_snow", -16 ); + CreateDynamicObject( 19809, 2145.231689, -2256.005126, 13.273511, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2146.951416, -2254.523681, 13.223510, 0.000000, 0.000000, 154.000030 ), 0, 3914, "snow", "mp_snow", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2146.097656, -2255.977050, 13.213512, 0.000000, 0.000000, -32.000000 ), 0, 3914, "snow", "mp_snow", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2145.847167, -2255.654785, 13.213512, 0.000000, 0.000000, 139.300003 ), 0, 3914, "snow", "mp_snow", -16 ); + CreateDynamicObject( 19809, 2146.925292, -2255.154296, 13.273511, 0.000000, 0.000000, 63.599998 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2149.681152, -2259.507812, 13.223510, 0.000000, 0.000000, 139.300003 ), 0, 3914, "snow", "mp_snow", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2149.856445, -2260.013916, 13.223510, 0.000000, 0.000000, -35.199985 ), 0, 3914, "snow", "mp_snow", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2150.942382, -2258.278320, 13.223510, 0.000000, 0.000000, 165.200042 ), 0, 3914, "snow", "mp_snow", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2151.412597, -2258.480468, 13.223510, 0.000000, 0.000000, -23.399972 ), 0, 3914, "snow", "mp_snow", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2141.213378, -2251.231689, 13.223510, 0.000000, 0.000000, 145.700027 ), 0, 3914, "snow", "mp_snow", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2142.569335, -2249.860839, 13.223510, 0.000000, 0.000000, 162.599960 ), 0, 3914, "snow", "mp_snow", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2141.495849, -2251.652587, 13.223510, 0.000000, 0.000000, -26.499980 ), 0, 3914, "snow", "mp_snow", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2806, 2142.741943, -2250.410888, 13.223510, 0.000000, 0.000000, -26.499980 ), 0, 3914, "snow", "mp_snow", -16 ); + CreateDynamicObject( 19809, 2149.412841, -2252.983642, 13.303512, 0.000000, 0.000000, 33.299999 ); + CreateDynamicObject( 19809, 2149.598388, -2252.563720, 13.303512, 0.000000, 0.000000, 78.999992 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19561, 2148.932861, -2252.596679, 13.253513, 0.000000, 0.000000, 62.299999 ), 0, 3193, "cxref_desert", "BIG_COCK", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1581, 2149.105224, -2252.002929, 13.253512, 90.000000, 0.000000, 135.000000 ), 0, 10789, "xenon_sfse", "slab64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1581, 2153.494628, -2256.392333, 13.253512, 90.000000, 0.000000, 135.000000 ), 0, 10789, "xenon_sfse", "slab64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1581, 2144.936279, -2247.833984, 13.243512, 90.000000, 0.000000, 135.000000 ), 0, 10789, "xenon_sfse", "slab64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19561, 2144.969970, -2248.622802, 13.253513, 0.000000, 0.000000, 0.000000 ), 0, 3193, "cxref_desert", "BIG_COCK", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19561, 2145.260253, -2248.342529, 13.253513, 0.000000, 0.000000, -61.300003 ), 0, 3193, "cxref_desert", "BIG_COCK", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19561, 2144.720703, -2248.341064, 13.253513, 0.000000, 0.000000, -59.500000 ), 0, 3193, "cxref_desert", "BIG_COCK", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19561, 2152.820800, -2255.700927, 13.253513, 0.000000, 0.000000, 0.000000 ), 0, 3193, "cxref_desert", "BIG_COCK", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19561, 2153.107421, -2255.901367, 13.253513, 0.000000, 0.000000, 55.299995 ), 0, 3193, "cxref_desert", "BIG_COCK", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19561, 2152.721435, -2256.166015, 13.253513, 0.000000, 0.000000, -49.799999 ), 0, 3193, "cxref_desert", "BIG_COCK", 0 ); + CreateDynamicObject( 19809, 2152.950927, -2256.565673, 13.293514, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 19809, 2153.454101, -2256.911376, 13.293514, 0.000000, 0.000000, -76.500000 ); + CreateDynamicObject( 19809, 2144.375976, -2247.935546, 13.293514, 0.000000, 0.000000, -76.500000 ); + CreateDynamicObject( 19809, 2144.409423, -2247.444580, 13.293514, 0.000000, 0.000000, -30.100011 ); return 1; } @@ -320,5 +505,17 @@ public OnFilterScriptExit() public OnPlayerConnect(playerid) { + // Zach's Drug Business + RemoveBuildingForPlayer(playerid, 5171, 2124.9453, -2275.4531, 20.1406, 0.25); + RemoveBuildingForPlayer(playerid, 3577, 2131.3281, -2274.6484, 16.0156, 100.0); + RemoveBuildingForPlayer(playerid, 3631, 2149.1406, -2266.9063, 12.8750, 100.0); + RemoveBuildingForPlayer(playerid, 5260, 2161.3438, -2264.9141, 14.0156, 0.25); + RemoveBuildingForPlayer(playerid, 3633, 2142.9141, -2256.3359, 13.9297, 100.0); + RemoveBuildingForPlayer(playerid, 3632, 2144.2969, -2258.1484, 13.9297, 100.0); + RemoveBuildingForPlayer(playerid, 5262, 2152.7109, -2256.7813, 15.2109, 0.25); + RemoveBuildingForPlayer(playerid, 5261, 2152.2578, -2239.4609, 14.5000, 0.25); + RemoveBuildingForPlayer(playerid, 5269, 2146.3750, -2248.7969, 14.6172, 0.25); + RemoveBuildingForPlayer(playerid, 5132, 2163.2891, -2251.6094, 14.1406, 0.25); + RemoveBuildingForPlayer(playerid, 5259, 2168.8438, -2246.7813, 13.9375, 0.25); return 1; } diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index e5453fe..81c2221 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -165,7 +165,7 @@ new bool: False = false, szNormalString[ 144 ]; #define CreateBillboard(%0,%1,%2,%3,%4) SetDynamicObjectMaterialText(CreateDynamicObject(7246,%1,%2,%3,0,0,%4),0,(%0),120,"Arial",24,0,-1,-16777216,1) /* ** Configuration ** */ -#define FILE_BUILD "v11.2.10" +#define FILE_BUILD "v11.5.12" #define SERVER_NAME "San Fierro Cops And Robbers (0.3.7)" #define SERVER_WEBSITE "www.irresistiblegaming.com" #define SERVER_IP "192.169.82.202:7777" @@ -189,11 +189,6 @@ new bool: False = false, szNormalString[ 144 ]; #define VW_METH 110 #define VW_SHAMAL 220 -#define LANGUAGE_EN ( 0 ) -#define LANGUAGE_ES ( 1 ) -#define LANGUAGE_BA ( 2 ) -#define LANGUAGE_PH ( 3 ) - #define VIP_REGULAR ( 1 ) #define VIP_BRONZE ( 2 ) #define VIP_GOLD ( 3 ) @@ -391,8 +386,8 @@ const #define DIALOG_WEAPON_LOCKER_BUY 126 + 1000 #define DIALOG_FEEDBACK 127 + 1000 #define DIALOG_IC_MARKET_2 128 + 1000 -// #define DIALOG_MAP_TAX_PAY 129 + 1000 -// #define DIALOG_MAP_TAX_TRANSFER 130 + 1000 +#define DIALOG_BUSINESS_CAR 129 + 1000 +#define DIALOG_BUSINESS_HELI 130 + 1000 #define DIALOG_ACC_GUARD 131 + 1000 #define DIALOG_ACC_GUARD_EMAIL 132 + 1000 #define DIALOG_ACC_GUARD_MODE 133 + 1000 @@ -412,6 +407,8 @@ const #define DIALOG_BUSINESS_ADD_MEMBER 147 + 1000 #define DIALOG_BUSINESS_MEMBERS 148 + 1000 #define DIALOG_BUSINESS_WITHDRAW 149 + 1000 +#define DIALOG_BUSINESS_UPGRADES 150 + 1000 +#define DIALOG_BUSINESSES 151 + 1000 /* ** Progress Bars ** */ #define PROGRESS_CRACKING 0 @@ -443,7 +440,7 @@ const #define CLASS_MEDIC ( 3 ) /* ** Checkpoints ** */ -#define ALL_CHECKPOINTS ( 42 ) +#define ALL_CHECKPOINTS ( 43 ) #define CP_BOMB_SHOP ( 0 ) #define CP_BANK_MENU ( 1 ) @@ -487,6 +484,7 @@ const #define CP_BIZ_TERMINAL_COKE ( 39 ) #define CP_BIZ_TERMINAL_METH ( 40 ) #define CP_BIZ_TERMINAL_WEED ( 41 ) +#define CP_BIZ_TERMINAL_WEAP ( 42 ) /* ** Discord ** */ //#include @@ -3108,27 +3106,32 @@ new /* ** VIP House Display ** */ #define MAX_BUSINESSES ( 100 ) #define MAX_DROPS ( 5 ) -#define MAX_BUSINESS_MEMBERS ( 4 ) +#define MAX_BUSINESS_MEMBERS ( 8 ) +#define MAX_BIZ_VEH_MODELS ( 18 ) +#define MAX_BIZ_ACTORS ( 9 ) #define BUSINESS_WEED ( 0 ) #define BUSINESS_METH ( 1 ) #define BUSINESS_COKE ( 2 ) +#define BUSINESS_WEAPON ( 3 ) -#define MAX_WEED_AMOUNT ( 30 ) -#define MAX_METH_AMOUNT ( 20 ) +#define MAX_WEED_AMOUNT ( 10 ) +#define MAX_METH_AMOUNT ( 10 ) #define MAX_COKE_AMOUNT ( 10 ) +#define MAX_WEAPON_AMOUNT ( 5 ) -#define IsBusinessAerialVehicle(%0) (%0 == 417) +#define IsBusinessAerialVehicle(%0,%1) (%1 == g_businessData[%0][E_HELI_MODEL_ID]) enum E_BUSINESS_DATA { - E_NAME[ 32 ], E_COST, E_INTERIOR_ID, + E_NAME[ 32 ], E_COST, E_WORLD, E_OWNER_ID, E_INTERIOR_TYPE, E_MEMBERS[ MAX_BUSINESS_MEMBERS ], E_SUPPLIES, E_PRODUCT, Text3D: E_PROD_LABEL, - E_EQUIPMENT_LVL, E_STAFF_LVL, E_PROD_TIMESTAMP, + E_PROD_TIMESTAMP, E_BANK, - E_BANK, + E_CAR_MODEL_ID, E_HELI_MODEL_ID, E_EXTRA_MEMBERS, + bool: E_CAR_NOS, bool: E_CAR_RIMS, E_UPGRADES, E_EXPORT_CP[ MAX_DROPS ], E_EXPORT_ICON[ MAX_DROPS ], E_EXPORT_INDEX[ MAX_DROPS ], E_EXPORT_VALUE, E_EXPORT_CIRCLE[ MAX_DROPS ], E_EXPORT_STARTED, @@ -3141,18 +3144,61 @@ enum E_BUSINESS_DATA enum E_BUSINESS_INT_DATA { - E_NAME[ 5 ], + E_NAME[ 8 ], + Float: E_X, Float: E_Y, Float: E_Z, Float: E_PROD_X, Float: E_PROD_Y, Float: E_PROD_Z, - E_COST_PRICE, E_PRODUCTION_TIME, E_MAX_SUPPLIES + + E_COST_PRICE, E_PRODUCTION_TIME, E_MAX_SUPPLIES, + E_UPGRADE_COST +}; + +enum E_BUSINESS_VEHICLE_DATA +{ + E_ID, // used only for saving it in the database (change MAX_BIZ_VEH_MODEL on new entry) + + E_NAME[ 12 ], E_MODEL, E_BOOT_OPEN, + + E_OBJECT_MODEL, + Float: E_O_X, Float: E_O_Y, Float: E_O_Z, + Float: E_O_RX, Float: E_O_RY, Float: E_O_RZ, + + E_COST }; new - g_businessInteriorData [ 3 ] [ E_BUSINESS_INT_DATA ] = + g_businessInteriorData [ 4 ] [ E_BUSINESS_INT_DATA ] = { - { "Weed", -1719.1877, -1377.3049, 5874.8721, -1734.094, -1374.4567, 5874.1475, 10000, 10, MAX_WEED_AMOUNT }, // 10 * 30 = 300 - { "Meth", 2040.54810, 1011.41470, 1513.2777, 2029.2456, 1003.55200, 1510.2416, 18000, 8, MAX_METH_AMOUNT }, // 25 * 20 = 450 - { "Coke", 2566.50070, -1273.2887, 1143.7203, 2558.5261, -1290.6298, 1143.7242, 50000, 6, MAX_COKE_AMOUNT } // 50 * 10 = 750 + { "Weed", -1719.1877, -1377.3049, 5874.8721, -1734.094, -1374.4567, 5874.1475, 10000, 12, MAX_WEED_AMOUNT, 2500000 }, + { "Meth", 2040.54810, 1011.41470, 1513.2777, 2029.2456, 1003.55200, 1510.2416, 18000, 16, MAX_METH_AMOUNT, 4000000 }, + { "Coke", 2566.50070, -1273.2887, 1143.7203, 2558.5261, -1290.6298, 1143.7242, 50000, 20, MAX_COKE_AMOUNT, 7500000 }, + { "Weapons", -4314.9248, 195.699300, 1303.4542, -4306.674, 223.979000, 1303.6268, 125000, 48, MAX_WEAPON_AMOUNT, 16000000 } + }, + g_businessCarModelData[ ] [ E_BUSINESS_VEHICLE_DATA ] = + { + { -1, "Yosemite", 554, 0, 3800, 0.000000, -1.200000, 0.000000, 0.000000, 0.000000, 0.000000, 0 }, + { 0, "Buccaneer", 518, 0, 1279, 0.000000, -2.250000, -0.07500, 21.60000, 0.000000, 0.000000, 500000 }, + { 1, "Dune", 573, 0, 0, 0.000000, 0.0000000, 0.000000, 0.000000, 0.000000, 0.000000, 1000000 }, + { 2, "Sabre", 475, 1, 1279, 0.000000, -2.175000, -0.07500, 24.30000, 0.000000, 0.000000, 2500000 }, + { 3, "Patriot", 470, 1, 1279, 0.000000, -1.800000, 0.150000, 29.70000, 0.000000, 0.000000, 10000000 }, + { 4, "Buffalo", 402, 1, 1279, 0.000000, -2.250000, 0.225000, 140.3999, 0.000000, 0.000000, 15000000 }, + { 5, "Elegy", 562, 1, 1279, 0.000000, -1.875000, 0.075000, 21.60000, 0.000000, 0.000000, 18000000 }, + { 6, "Savanna", 567, 1, 1279, 0.000000, -1.875000, 0.075000, 21.60000, 0.000000, 0.000000, 20000000 }, + { 7, "Sultan", 560, 1, 1279, 0.000000, -1.875000, 0.150000, 29.70000, 0.000000, 0.000000, 25000000 }, + { 8, "Infernus", 411, 0, 0, 0.000000, 0.0000000, 0.000000, 0.000000, 0.000000, 0.000000, 27500000 }, + { 9, "Turismo", 451, 0, 18694, 0.000000, -2.475000, -1.95000, 0.000000, 0.000000, 180.0000, 30000000 }, + { 10, "ChuffSec", 428, 0, 19601, -0.075000, 3.000001, -0.52499, -10.800000, 0.0000, 180.8998, 1337 } + }, + g_businessAirModelData[ ] [ E_BUSINESS_VEHICLE_DATA ] = + { + { -1, "Levetian", 417, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0 }, + { 11, "Raindance", 563, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 5000000 }, + { 12, "Sparrow", 469, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 12500000 }, + { 13, "Shamal", 519, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 17500000 }, + { 14, "Dodo", 593, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 20000000 }, + { 15, "Maverick", 487, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 25000000 }, + { 16, "Rustler", 476, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 30000000 }, + { 17, "Seasparrow", 447, 0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1337 } }, Float: g_roadBusinessExportData[ 3 ] [ 20 ] [ 3 ] = { @@ -3214,8 +3260,10 @@ new } }, g_businessData [ MAX_BUSINESSES ] [ E_BUSINESS_DATA ], + g_businessActors [ MAX_BUSINESSES ] [ MAX_BIZ_ACTORS ], g_isBusinessVehicle [ MAX_VEHICLES ] = { -1, ... }, g_businessVehicle [ MAX_BUSINESSES ] = { INVALID_VEHICLE_ID, ... }, + bool: g_businessVehicleUnlocked [ MAX_BUSINESSES ] [ MAX_BIZ_VEH_MODELS char ], Iterator:business ; @@ -3356,7 +3404,7 @@ new p_Fires [ MAX_PLAYERS ], p_ApartmentEnter [ MAX_PLAYERS char ], p_ApartmentEditing [ MAX_PLAYERS ], - p_ApartmentSpawnLocation [ MAX_PLAYERS ] = { 0xFF, ... }, + p_ApartmentSpawnLocation [ MAX_PLAYERS ] = { -1, ... }, p_AntiTieSpam [ MAX_PLAYERS ], p_RansomPlacer [ MAX_PLAYERS ] = { INVALID_PLAYER_ID, ... }, p_RansomAmount [ MAX_PLAYERS ], @@ -3464,7 +3512,8 @@ new p_TiedAtTimestamp [ MAX_PLAYERS ], bool: p_AutoSpin [ MAX_PLAYERS char ], p_InBusiness [ MAX_PLAYERS ] = { -1, ... }, - p_VehicleBringCooldown [ MAX_PLAYERS ] + p_VehicleBringCooldown [ MAX_PLAYERS ], + p_BusinessSpawnLocation [ MAX_PLAYERS ] = { -1, ... } ; /* ** Server Data ** */ @@ -3498,7 +3547,7 @@ new bool: g_ServerLocked = false, bool: g_CommandLogging = false, bool: g_DialogLogging = false, - szRules [ 3 ] [ 3300 ], + szRules [ 3300 ], g_BannedDrivebyWeapons [ ] = { 24, 26, 27, 34, 33 @@ -4758,9 +4807,7 @@ public OnGameModeInit() rl_ServerUpdate = SetTimer( "OnServerUpdate", 960, true ); rl_ZoneUpdate = SetTimer( "ZoneTimer", 980, true ); - HTTP( LANGUAGE_EN, HTTP_GET, "files.irresistiblegaming.com/en_rules.txt", "", "OnRulesHTTPResponse" ); - HTTP( LANGUAGE_ES, HTTP_GET, "files.irresistiblegaming.com/es_rules.txt", "", "OnRulesHTTPResponse" ); - HTTP( LANGUAGE_BA, HTTP_GET, "files.irresistiblegaming.com/ba_rules.txt", "", "OnRulesHTTPResponse" ); + HTTP( 0, HTTP_GET, "files.irresistiblegaming.com/en_rules.txt", "", "OnRulesHTTPResponse" ); printf( "[SF-CNR] SF-CnR has been successfully initiaized. (Build: "#FILE_BUILD" | Time: %d)", ( g_ServerUptime = gettime( ) ) ); return 1; @@ -6028,8 +6075,8 @@ public OnRulesHTTPResponse( index, response_code, data[ ] ) { if ( response_code == 200 ) { - printf( "[RULES] [%d] Rules have been updated! Character Size: %d", index, strlen( data ) ); - strcpy( szRules[ index ], data ); + printf( "[RULES] Rules have been updated! Character Size: %d", strlen( data ) ); + strcpy( szRules, data ); } return 1; } @@ -6674,11 +6721,12 @@ public OnPlayerDisconnect( playerid, reason ) p_forcedAnticheat[ playerid ] = 0; p_StartedLumberjack{ playerid } = false; p_RconLoginFails{ playerid } = 0; + p_BusinessSpawnLocation[ playerid ] = -1; p_IncorrectLogins{ playerid } = 0; p_VehicleBringCooldown[ playerid ] = 0; p_DamageSpamCount{ playerid } = 0; p_AntiTextSpamCount{ playerid } = 0; - p_ApartmentSpawnLocation[ playerid ] = 0xFF; + p_ApartmentSpawnLocation[ playerid ] = -1; p_treeExportLocation[ playerid ] = 0xFF; ResetPlayerVendingMachineData( playerid ); Delete3DTextLabel( p_SpawnKillLabel[ playerid ] ); @@ -7713,9 +7761,16 @@ public OnPlayerDeath(playerid, killerid, reason) if ( p_Class[ killerid ] == CLASS_POLICE ) { if ( p_Class[ killerid ] == p_Class[ playerid ] ) { - SendClientMessageToAdmins( -1, ""COL_PINK"[FAKE-KILL]{FFFFFF} Traces of fake-kill have came from %s: "COL_GREY"%s", ReturnPlayerName( playerid ), ReturnPlayerIP( playerid ) ); - KickPlayerTimed( playerid ); - return 1; + // SendClientMessageToAdmins( -1, ""COL_PINK"[FAKE-KILL]{FFFFFF} Traces of fake-kill have came from %s: "COL_GREY"%s", ReturnPlayerName( playerid ), ReturnPlayerIP( playerid ) ); + // KickPlayerTimed( playerid ); + SendClientMessageFormatted( killerid, -1, ""COL_BLUE"[INNOCENT KILL]{FFFFFF} You have killed a team mate %s, you have lost 2 score and "COL_GOLD"$10,000{FFFFFF}.", ReturnPlayerName( playerid ) ); + GivePlayerCash( killerid, -10000 ); + GivePlayerScore( killerid, -2 ); + JailPlayer( killerid, 200, 1 ); + cmd_rules( killerid, "" ); + WarnPlayerClass( killerid, p_inArmy{ killerid } ); + SendGlobalMessage( -1, ""COL_GOLD"[JAIL]{FFFFFF} %s(%d) has been sent to jail for 200 seconds by the server "COL_GREEN"[REASON: Killing Teammate(s)]", ReturnPlayerName( killerid ), killerid ); + return 1; } else { @@ -8777,6 +8832,18 @@ CMD:business( playerid, params[ ] ) new iBusiness = p_InBusiness[ playerid ]; + if ( strmatch( params, "spawn" )) + { + if ( p_OwnedBusinesses[ playerid ] < 1 ) + return SendError( playerid, "You need to be associated with a business in-order to use this." ); + + format( szLargeString, sizeof( szLargeString ), ""COL_GREY"Set Back To Normal\n" ); + + foreach (new b : business) if ( IsBusinessAssociate( playerid, b ) ) { + format( szLargeString, sizeof( szLargeString ), "%s%s\n", szLargeString, g_businessData[ b ] [ E_NAME ] ); + } + return ShowPlayerDialog( playerid, DIALOG_BUSINESSES, DIALOG_STYLE_LIST, "{FFFFFF}Business Spawn Location", szLargeString, "Select", "Cancel" ); + } if ( strmatch( params, "buy" ) ) { if ( p_OwnedBusinesses[ playerid ] >= getPlayerBusinessCapacity( playerid ) ) return SendError( playerid, "You cannot purchase any more businesses, you've reached the limit." ); @@ -8816,9 +8883,8 @@ CMD:business( playerid, params[ ] ) p_OwnedBusinesses[ playerid ] --; g_businessData[ iBusiness ] [ E_OWNER_ID ] = 0; - g_businessData[ iBusiness ] [ E_PRODUCT ] = 0; - g_businessData[ iBusiness ] [ E_SUPPLIES ] = 0; + ResetBusiness( iBusiness ); StopBusinessExportMission( iBusiness ); UpdateBusinessData( iBusiness ); UpdateBusinessTitle( iBusiness ); // No point querying (add on resale) @@ -9827,7 +9893,7 @@ CMD:idletime( playerid, params[ ] ) iPlayer; if ( sscanf( params, ""#sscanf_u"", iPlayer ) ) return SendUsage( playerid, "/idletime [PLAYER_ID]" ); - if ( !IsPlayerConnected( iPlayer ) ) return SendError( playerid, "This player isn't connected." ); + if ( !IsPlayerConnected( iPlayer ) || IsPlayerNPC( iPlayer ) ) return SendError( playerid, "This player isn't connected." ); new Float: iTime = float( GetTickCount( ) - p_AFKTime[ iPlayer ] ); @@ -10557,7 +10623,7 @@ CMD:flat( playerid, params[ ] ) } else if ( strmatch( params, "stopspawn" ) ) { - p_ApartmentSpawnLocation[ playerid ] = 0xFF; + p_ApartmentSpawnLocation[ playerid ] = -1; SendServerMessage( playerid, "Your spawning location has been set to the default positions." ); } else SendUsage( playerid, "/flat [CONFIG/STOPSPAWN]" ); @@ -11041,15 +11107,24 @@ CMD:mech( playerid, params[ ] ) if ( isnull( params ) ) return SendUsage( playerid, "/(mech)anic [FIX/NOS/REMP/FLIP/FLIX/PRICE/NEARBY]" ); else if ( strmatch( params, "fix" ) ) { - if ( ( GetTickCount( ) - p_AntiMechFixSpam[ playerid ] ) < 10000 ) return SendError( playerid, "You must wait 10 seconds before using this feature again." ); - if ( !IsPlayerInAnyVehicle( playerid ) ) return SendError( playerid, "You are not in any vehicle." ); - if ( GetPlayerCash( playerid ) < 250 ) return SendError( playerid, "You need $250 to fix this vehicle." ); + if ( ( GetTickCount( ) - p_AntiMechFixSpam[ playerid ] ) < 10000 ) + return SendError( playerid, "You must wait 10 seconds before using this feature again." ); + + if ( !IsPlayerInAnyVehicle( playerid ) ) + return SendError( playerid, "You are not in any vehicle." ); + + new + cost = g_isBusinessVehicle[ iVehicle ] ? 500 : 250; + + if ( GetPlayerCash( playerid ) < cost ) + return SendError( playerid, "You need %s to fix this vehicle.", ConvertPrice( cost ) ); + PlayerPlaySound( playerid, 1133, 0.0, 0.0, 5.0 ); p_DamageSpamCount{ playerid } = 0; RepairVehicle( iVehicle ); SendServerMessage( playerid, "You have repaired this vehicle." ); p_AntiMechFixSpam[ playerid ] = GetTickCount( ); - GivePlayerCash( playerid, -250 ); + GivePlayerCash( playerid, -cost ); } else if ( strmatch( params, "nos" ) ) { @@ -12203,22 +12278,7 @@ CMD:radio( playerid, params[ ] ) CMD:rules( playerid, params[ ] ) { - new - iLanguage = LANGUAGE_EN; - - if ( !isnull( params ) ) - { - if ( strmatch( params, "ES" ) ) - SendServerMessage( playerid, "Certifique-se de verificar as regras regularmente! Para visualizar as regras em outro idioma, escreva "COL_GREY"/rules [ES/BA]" ), iLanguage = LANGUAGE_ES; - else if ( strmatch( params, "BA" ) ) - SendServerMessage( playerid, "Be sure to check the rules regularly! To view rules in another language, type "COL_GREY"/rules [ES/BA]" ), iLanguage = LANGUAGE_BA; - } - else - { - SendServerMessage( playerid, "Be sure to check the rules regularly! To view rules in another language, type "COL_GREY"/rules [ES/BA]" ); - } - - ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_MSGBOX, "{FFFFFF}Rules", szRules[ iLanguage ], "Okay", "" ); + ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_MSGBOX, "{FFFFFF}Rules", szRules, "Okay", "" ); return 1; } @@ -12587,6 +12647,9 @@ CMD:h( playerid, params[ ] ) if ( p_OwnedHouses[ playerid ] < 1 ) return SendError( playerid, "You need to own a house in-order to use this." ); + if ( p_BusinessSpawnLocation[ playerid ] != -1 ) + return SendError( playerid, "You currently have a business spawn set, remove it through "COL_GREY"/business spawn"COL_WHITE"." ); + format( szLargeString, sizeof( szLargeString ), ""COL_GREY"Set Back To Normal\n" ); for( new i = 0; i < MAX_HOUSES; i++ ) { @@ -12768,7 +12831,6 @@ stock SwitchHouseOwners( ID, playerid, buyerid ) if ( p_HouseSpawnLocation[ playerid ] == ID ) p_HouseSpawnLocation[ playerid ] = -1; - SetPlayerInterior( playerid, 0 ); SetPlayerVirtualWorld( playerid, 0 ); SendServerMessage( playerid, "You have successfully sold your house for "COL_GOLD"%s", ConvertPrice( ( g_houseData[ ID ] [ E_COST ] / 2 ) ) ); @@ -17379,7 +17441,7 @@ CMD:createbusiness( playerid, params[ ] ) if ( p_AdminLevel[ playerid ] < 5 ) return SendError( playerid, ADMIN_COMMAND_REJECT ); else if ( sscanf( params, "dd", cost, type ) ) return SendUsage( playerid, "/createbusiness [COST] [TYPE]" ); else if ( cost < 100 ) return SendError( playerid, "The price must be located above 100 dollars." ); - else if ( ! ( 0 <= type <= 2 ) ) return SendError( playerid, "Invalid business type (Weed=0, Meth=1, Coke=2)." ); + else if ( ! ( 0 <= type <= 3 ) ) return SendError( playerid, "Invalid business type (Weed=0, Meth=1, Coke=2, Weapons=3)." ); else { GetPlayerPos( playerid, X, Y, Z ); @@ -17721,9 +17783,7 @@ CMD:updaterules( playerid, params[ ] ) if ( p_AdminLevel[ playerid ] < 6 ) return SendError( playerid, ADMIN_COMMAND_REJECT ); - HTTP( LANGUAGE_EN, HTTP_GET, "files.irresistiblegaming.com/en_rules.txt", "", "OnRulesHTTPResponse" ); - HTTP( LANGUAGE_ES, HTTP_GET, "files.irresistiblegaming.com/es_rules.txt", "", "OnRulesHTTPResponse" ); - HTTP( LANGUAGE_BA, HTTP_GET, "files.irresistiblegaming.com/ba_rules.txt", "", "OnRulesHTTPResponse" ); + HTTP( 0, HTTP_GET, "files.irresistiblegaming.com/en_rules.txt", "", "OnRulesHTTPResponse" ); SendServerMessage( playerid, "Rules should be updated now." ); return 1; } @@ -18301,12 +18361,8 @@ CMD:kickall( playerid, params[ ] ) if ( !IsPlayerAdmin( playerid ) ) return 0; SetServerRule( "password", "updating" ); SendClientMessageToAll( -1, ""COL_PINK"[ADMIN]"COL_WHITE" Everyone has been kicked from the server due to a server update." ); - for( new i, g = GetMaxPlayers( ); i < g; i++ ) - { - if ( IsPlayerConnected( i ) ) - { - Kick( i ); - } + for( new i; i < MAX_PLAYERS; i++ ) if ( IsPlayerConnected( i ) && ! IsPlayerNPC( i ) && p_AccountID[ i ] != 1 ) { + Kick( i ); } return 1; } @@ -18978,7 +19034,7 @@ public OnPlayerDriveVehicle(playerid, vehicleid) if ( p_WantedLevel[ playerid ] < 12 ) GivePlayerWantedLevel( playerid, 12 - p_WantedLevel[ playerid ] ); - if ( IsBusinessAerialVehicle( model ) && g_businessData[ businessid ] [ E_EXPORT_STARTED ] < 2 ) + if ( IsBusinessAerialVehicle( businessid, model ) && g_businessData[ businessid ] [ E_EXPORT_STARTED ] < 2 ) { new ignore_drop_ids[ sizeof( g_airBusinessExportData[ ] ) ] = { -1, ... }; @@ -19299,7 +19355,7 @@ public OnPlayerEnterDynamicCP(playerid, checkpointid) if ( checkpointid == g_Checkpoints[ CP_VEHDEALER ] || checkpointid == g_Checkpoints[ CP_VEHDEALER_2 ] || checkpointid == g_Checkpoints[ CP_VEHDEALER_3 ] ) return ShowBuyableVehiclesList( playerid ); - if ( checkpointid == g_Checkpoints[ CP_BIZ_TERMINAL_COKE ] || checkpointid == g_Checkpoints[ CP_BIZ_TERMINAL_METH ] || checkpointid == g_Checkpoints[ CP_BIZ_TERMINAL_WEED ] ) + if ( checkpointid == g_Checkpoints[ CP_BIZ_TERMINAL_COKE ] || checkpointid == g_Checkpoints[ CP_BIZ_TERMINAL_METH ] || checkpointid == g_Checkpoints[ CP_BIZ_TERMINAL_WEED ] || checkpointid == g_Checkpoints[ CP_BIZ_TERMINAL_WEAP ] ) return ShowBusinessTerminal( playerid ); if ( checkpointid == g_Checkpoints[ CP_247_MENU ] ) @@ -19545,12 +19601,12 @@ public OnPlayerEnterDynamicArea( playerid, areaid ) } // alert player if hes near the drugs - if ( g_isBusinessVehicle[ iVehicle ] != -1 && Iter_Contains( business, g_isBusinessVehicle[ iVehicle ] ) && IsBusinessAerialVehicle( iModel ) ) + if ( g_isBusinessVehicle[ iVehicle ] != -1 && Iter_Contains( business, g_isBusinessVehicle[ iVehicle ] )) { new businessid = g_isBusinessVehicle[ iVehicle ]; - if ( IsBusinessAssociate( playerid, businessid ) ) + if ( IsBusinessAerialVehicle( businessid, iModel ) && IsBusinessAssociate( playerid, businessid ) ) { for ( new i = 0; i < 2; i ++ ) if ( areaid == g_businessData[ businessid ] [ E_EXPORT_CIRCLE ] [ i ] ) { ShowPlayerHelpDialog( playerid, 5000, "~y~~h~Press ~k~~PED_FIREWEAPON~ to drop off the drugs!" ); @@ -19787,13 +19843,13 @@ public OnPlayerEnterDynamicRaceCP( playerid, checkpointid ) } printf("Entered Race Checkpoint : {user:%s,veh:%d,biz_veh:%d,valid_biz:%d}", ReturnPlayerName( playerid ), iVehicle, g_isBusinessVehicle[ iVehicle ],Iter_Contains( business, g_isBusinessVehicle[ iVehicle ] )); - if ( p_Class[ playerid ] == CLASS_CIVILIAN && g_isBusinessVehicle[ iVehicle ] != -1 && Iter_Contains( business, g_isBusinessVehicle[ iVehicle ] ) && ! IsBusinessAerialVehicle( GetVehicleModel( iVehicle ) ) ) + if ( p_Class[ playerid ] == CLASS_CIVILIAN && g_isBusinessVehicle[ iVehicle ] != -1 && Iter_Contains( business, g_isBusinessVehicle[ iVehicle ] ) ) { new businessid = g_isBusinessVehicle[ iVehicle ]; printf("Is Associate : {user:%s,veh:%d,associate:%d}", ReturnPlayerName( playerid ), iVehicle, IsBusinessAssociate( playerid, businessid )); - if ( IsBusinessAssociate( playerid, businessid ) ) + if ( ! IsBusinessAerialVehicle( businessid, GetVehicleModel( iVehicle ) ) && IsBusinessAssociate( playerid, businessid ) ) { for ( new i = 0; i < MAX_DROPS; i ++ ) { @@ -20915,12 +20971,12 @@ public OnPlayerKeyStateChange( playerid, newkeys, oldkeys ) new vehicleid = GetPlayerVehicleID( playerid ); - if ( p_Class[ playerid ] == CLASS_CIVILIAN && g_isBusinessVehicle[ vehicleid ] != -1 && Iter_Contains( business, g_isBusinessVehicle[ vehicleid ] ) && IsBusinessAerialVehicle( GetVehicleModel( vehicleid ) ) ) + if ( p_Class[ playerid ] == CLASS_CIVILIAN && g_isBusinessVehicle[ vehicleid ] != -1 && Iter_Contains( business, g_isBusinessVehicle[ vehicleid ] ) ) { new businessid = g_isBusinessVehicle[ vehicleid ]; - if ( IsBusinessAssociate( playerid, businessid ) ) + if ( IsBusinessAerialVehicle( businessid, GetVehicleModel( vehicleid ) ) && IsBusinessAssociate( playerid, businessid ) ) { new Float: playerZ, tempObject, moveSpeed; @@ -21252,8 +21308,8 @@ public OnPlayerKeyStateChange( playerid, newkeys, oldkeys ) pauseToLoad( playerid ); p_InBusiness[ playerid ] = b; SetPlayerPos( playerid, g_businessInteriorData[ bType ] [ E_X ], g_businessInteriorData[ bType ] [ E_Y ], g_businessInteriorData[ bType ] [ E_Z ] ); - SetPlayerVirtualWorld( playerid, bType + 1 ); - SetPlayerInterior( playerid, g_businessData[ b ] [ E_INTERIOR_ID ] ); + SetPlayerVirtualWorld( playerid, g_businessData[ b ] [ E_WORLD ] ); + SetPlayerInterior( playerid, g_businessData[ b ] [ E_INTERIOR_TYPE ] + 20 ); return 1; } else if ( IsPlayerInDynamicCP( playerid, g_businessData[ b ] [ E_EXIT_CP ] ) ) @@ -21742,6 +21798,7 @@ thread OnPlayerLogin( playerid, password[ ] ) p_IrresistiblePoints[ playerid ]= cache_get_field_content_float( 0, "RANK", dbHandle ); p_ExtraAssetSlots{ playerid } = cache_get_field_content_int( 0, "EXTRA_SLOTS", dbHandle ); p_forcedAnticheat[ playerid ] = cache_get_field_content_int( 0, "FORCE_AC", dbHandle ); + p_BusinessSpawnLocation[ playerid ] = cache_get_field_content_int( 0, "BUSINESS_ID", dbHandle ); if ( p_forcedAnticheat[ playerid ] > 0 && ! IsPlayerUsingSampAC( playerid ) ) { SendError( playerid, "You must install an anticheat to play the server. Visit "COL_GREY"www.samp-ac.com"COL_WHITE" to install the anticheat." ); @@ -21749,10 +21806,13 @@ thread OnPlayerLogin( playerid, password[ ] ) return 1; } - // Gang validation + // house & biz validation if ( p_HouseSpawnLocation[ playerid ] != -1 && !strmatch( g_houseData[ p_HouseSpawnLocation[ playerid ] ] [ E_OWNER ], ReturnPlayerName( playerid ) ) ) p_HouseSpawnLocation[ playerid ] = -1; + if ( p_BusinessSpawnLocation[ playerid ] != -1 && ! IsBusinessAssociate( playerid, p_BusinessSpawnLocation[ playerid ] ) ) + p_BusinessSpawnLocation[ playerid ] = -1; + // Load some other variables too p_OwnedHouses [ playerid ] = GetPlayerOwnedHouses( playerid ); p_OwnedBusinesses [ playerid ] = GetPlayerOwnedBusinesses( playerid ); @@ -22342,7 +22402,7 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) cmd_h( playerid, "spawn" ); break; } - p_HouseSpawnLocation[ playerid ] = i; + p_BusinessSpawnLocation[ playerid ] = -1, p_ApartmentSpawnLocation[ playerid ] = -1, p_HouseSpawnLocation[ playerid ] = i; SendServerMessage( playerid, "House spawning has been set at "COL_GREY"%s"COL_WHITE".", g_houseData[ i ] [ E_HOUSE_NAME ] ); break; } @@ -22351,6 +22411,34 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) } } } + if ( ( dialogid == DIALOG_BUSINESSES ) && response ) + { + if ( listitem == 0 ) + { + p_BusinessSpawnLocation[ playerid ] = -1; + SendServerMessage( playerid, "You have canceled your business spawning." ); + return 1; + } + else + { + new + x = 1; + + foreach (new b : business) + { + if ( IsBusinessAssociate( playerid, b ) ) + { + if ( x == listitem ) + { + p_HouseSpawnLocation[ playerid ] = -1, p_ApartmentSpawnLocation[ playerid ] = -1, p_BusinessSpawnLocation[ playerid ] = b; + SendServerMessage( playerid, "Business spawning has been set at "COL_GREY"%s"COL_WHITE".", g_businessData[ b ] [ E_NAME ] ); + break; + } + x ++; + } + } + } + } if ( ( dialogid == DIALOG_CITY_HALL ) && response ) { switch( listitem ) @@ -22851,8 +22939,8 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { switch( listitem ) { - case 0: ShowPlayerDialog( playerid, DIALOG_PERKS_P, DIALOG_STYLE_LIST, "{FFFFFF}Game Perks", "Unlimited Ammunition for "COL_GOLD"100 XP", "Select", "Back" ); - case 1: ShowPlayerDialog( playerid, DIALOG_PERKS_V, DIALOG_STYLE_LIST, "{FFFFFF}Game Perks", "Fix & Flip vehicle for "COL_GOLD"180 XP\nFlip vehicle for "COL_GOLD"50 XP\n"COL_WHITE"Add NOS for "COL_GOLD"80 XP\n"COL_WHITE"Repair vehicle for "COL_GOLD"120 XP", "Select", "Back" ); + case 0: ShowPlayerDialog( playerid, DIALOG_PERKS_P, DIALOG_STYLE_TABLIST, "{FFFFFF}Game Perks", "Unlimited Ammunition\t"COL_GOLD"100 XP", "Select", "Back" ); + case 1: ShowPlayerDialog( playerid, DIALOG_PERKS_V, DIALOG_STYLE_TABLIST, "{FFFFFF}Game Perks", "Fix & Flip vehicle\t"COL_GOLD"200 XP\nFlip vehicle\t"COL_GOLD"50 XP\n"COL_WHITE"Add NOS\t"COL_GOLD"80 XP\n"COL_WHITE"Repair Vehicle\t"COL_GOLD"120 XP", "Select", "Back" ); } } if ( ( dialogid == DIALOG_PERKS_P ) ) @@ -22894,14 +22982,14 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { case 0: { - if ( p_XP[ playerid ] >= 180 ) + if ( p_XP[ playerid ] >= 200 ) { new Float: vZ, vehicleid = GetPlayerVehicleID( playerid ); GetVehicleZAngle( vehicleid, vZ ), SetVehicleZAngle( vehicleid, vZ ); p_DamageSpamCount{ playerid } = 0; RepairVehicle( GetPlayerVehicleID( playerid ) ); - GivePlayerXP( playerid, -180 ); - SendServerMessage( playerid, "You have fixed and flipped your vehicle for 180 XP." ); + GivePlayerXP( playerid, -200 ); + SendServerMessage( playerid, "You have fixed and flipped your vehicle for 200 XP." ); PlayerPlaySound( playerid, 1133, 0.0, 0.0, 5.0 ); } else return SendError( playerid, "You don't have enough XP for this." ); @@ -24587,7 +24675,7 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) return ShowPlayerDialog( playerid, DIALOG_FLAT_CONTROL, DIALOG_STYLE_LIST, "{FFFFFF}Owned Apartments", "Spawn Here\nLock Apartment\nModify Apartment Name\nSell Apartment\nFurniture", "Select", "Back" ); new id = p_ApartmentEditing{ playerid }; - p_ApartmentSpawnLocation[ playerid ] = 0xFF; + p_ApartmentSpawnLocation[ playerid ] = -1; g_apartmentData[ id ] [ E_CREATED ] = false; strcpy( g_apartmentData[ id ] [ E_OWNER ], "No-one" ); @@ -26198,10 +26286,188 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) case 4: ShowPlayerDialog( playerid, DIALOG_BUSINESS_BUY, DIALOG_STYLE_TABLIST_HEADERS, ""COL_GREY"Business System", sprintf( ""COL_WHITE"Your business has %d supplies\t \nBuy Supply\t%s\nSteal Supplies\t"COL_YELLOW"FREE", g_businessData[ businessid ] [ E_SUPPLIES ], ConvertPrice( GetResupplyPrice( business_type ) ) ), "Select", "Back" ); // upgrade - case 5: ShowBusinessTerminal( playerid ), SendError( playerid, "This feature is currently under construction." ); + case 5: ShowBusinessUpgrades( playerid, businessid ); } return 1; } + if ( dialogid == DIALOG_BUSINESS_UPGRADES ) + { + new + businessid = p_InBusiness[ playerid ]; + + if ( p_Class[ playerid ] != CLASS_CIVILIAN || ! Iter_Contains( business, businessid ) || ! IsBusinessAssociate( playerid, businessid ) ) + return SendError( playerid, "You do not have access to this feature." ); + + if ( ! response ) + return ShowBusinessTerminal( playerid ); + + new + business_type = g_businessData[ businessid ] [ E_INTERIOR_TYPE ]; + + switch ( listitem ) + { + // upgrade car + case 0: + { + szLargeString = ""COL_WHITE"Vehicle\t"COL_WHITE"Cost\n"; + + for ( new i = 0; i < sizeof( g_businessCarModelData ); i ++ ) + { + new vehicle_model_index = g_businessCarModelData[ i ] [ E_ID ], bool: is_unlocked = ( 0 <= vehicle_model_index < MAX_BIZ_VEH_MODELS ) ? ( g_businessVehicleUnlocked[ businessid ] { vehicle_model_index } ) : false; + format( szLargeString, sizeof( szLargeString ), "%s%s%s\t"COL_GOLD"%s\n", szLargeString, is_unlocked ? ( COL_LGREEN ) : ( "" ), g_businessCarModelData[ i ] [ E_NAME ], ConvertPrice( g_businessCarModelData[ i ] [ E_COST ] ) ); + } + + return ShowPlayerDialog( playerid, DIALOG_BUSINESS_CAR, DIALOG_STYLE_TABLIST_HEADERS, ""COL_GREY"Business System", szLargeString, "Purchase", "Back" ); + } + + // upgrade heli + case 1: + { + szLargeString = ""COL_WHITE"Vehicle\t"COL_WHITE"Cost\n"; + + for ( new i = 0; i < sizeof( g_businessAirModelData ); i ++ ) { + new vehicle_model_index = g_businessAirModelData[ i ] [ E_ID ], bool: is_unlocked = ( 0 <= vehicle_model_index < MAX_BIZ_VEH_MODELS ) ? ( g_businessVehicleUnlocked[ businessid ] { vehicle_model_index } ) : false; + format( szLargeString, sizeof( szLargeString ), "%s%s%s\t"COL_GOLD"%s\n", szLargeString, is_unlocked ? ( COL_LGREEN ) : ( "" ), g_businessAirModelData[ i ] [ E_NAME ], ConvertPrice( g_businessAirModelData[ i ] [ E_COST ] ) ); + } + + return ShowPlayerDialog( playerid, DIALOG_BUSINESS_HELI, DIALOG_STYLE_TABLIST_HEADERS, ""COL_GREY"Business System", szLargeString, "Purchase", "Back" ); + } + + // upgrade staff + case 2: + { + if ( g_businessData[ businessid ] [ E_UPGRADES ] ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "Your business production has been already upgraded." ); + + if ( GetPlayerCash( playerid ) < g_businessInteriorData[ business_type ] [ E_UPGRADE_COST ] ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You don't have enough money to upgrade this business (%s).", ConvertPrice( g_businessInteriorData[ business_type ] [ E_UPGRADE_COST ] ) ); + + CreateBusinessActors( businessid ); + g_businessData[ businessid ] [ E_UPGRADES ] = 1; + GivePlayerCash( playerid, - g_businessInteriorData[ business_type ] [ E_UPGRADE_COST ] ); + mysql_single_query( sprintf( "UPDATE `BUSINESSES` SET `UPGRADES`=1 WHERE `ID`=%d", businessid ) ); + return ShowBusinessUpgrades( playerid, businessid ), SendServerMessage( playerid, "You have upgraded business production for "COL_GOLD"%s"COL_WHITE".", ConvertPrice( g_businessInteriorData[ business_type ] [ E_UPGRADE_COST ] ) ); + } + + // upgrade slots + case 3: + { + if ( g_businessData[ businessid ] [ E_EXTRA_MEMBERS ] >= 4 ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You have maximized the number of business member slots." ); + + if ( GetPlayerCash( playerid ) < 500000 ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You don't have enough money to buy an additional member slot ($500,000)." ); + + GivePlayerCash( playerid, -500000 ); + g_businessData[ businessid ] [ E_EXTRA_MEMBERS ] ++; + mysql_single_query( sprintf( "UPDATE `BUSINESSES` SET `EXTRA_MEMBERS`=%d WHERE `ID`=%d", g_businessData[ businessid ] [ E_EXTRA_MEMBERS ], businessid ) ); + return ShowBusinessUpgrades( playerid, businessid ), SendServerMessage( playerid, "You have bought an additional member slot for "COL_GOLD"$500,000"COL_WHITE"." ); + } + + // nos + case 4: + { + if ( g_businessData[ businessid ] [ E_CAR_NOS ] ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You have already purchased business car nitrous." ); + + if ( GetPlayerCash( playerid ) < 250000 ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You don't have enough money to buy business car nitrous ($250,000)." ); + + GivePlayerCash( playerid, -250000 ); + g_businessData[ businessid ] [ E_CAR_NOS ] = true; + mysql_single_query( sprintf( "UPDATE `BUSINESSES` SET `HAS_NOS`=1 WHERE `ID`=%d", businessid ) ); + return ShowBusinessUpgrades( playerid, businessid ), SendServerMessage( playerid, "You have bought nitrous for "COL_GOLD"$250,000"COL_WHITE"." ); + } + + // rims + case 5: + { + if ( g_businessData[ businessid ] [ E_CAR_RIMS ] ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You have already purchased gold rims for the business vehicle." ); + + if ( GetPlayerCash( playerid ) < 250000 ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You don't have enough money to buy gold rims ($250,000)." ); + + GivePlayerCash( playerid, -250000 ); + g_businessData[ businessid ] [ E_CAR_RIMS ] = true; + mysql_single_query( sprintf( "UPDATE `BUSINESSES` SET `HAS_RIMS`=1 WHERE `ID`=%d", businessid ) ); + return ShowBusinessUpgrades( playerid, businessid ), SendServerMessage( playerid, "You have bought gold rims for "COL_GOLD"$250,000"COL_WHITE"." ); + } + } + return 1; + } + if ( dialogid == DIALOG_BUSINESS_HELI ) + { + new + businessid = p_InBusiness[ playerid ]; + + if ( p_Class[ playerid ] != CLASS_CIVILIAN || ! Iter_Contains( business, businessid ) || ! IsBusinessAssociate( playerid, businessid ) ) + return SendError( playerid, "You do not have access to this feature." ); + + if ( ! response ) + return ShowBusinessUpgrades( playerid, businessid ); + + new + vehicle_model_index = g_businessAirModelData[ listitem ] [ E_ID ]; + + if ( vehicle_model_index != -1 && vehicle_model_index < MAX_BIZ_VEH_MODELS && ! g_businessVehicleUnlocked[ businessid ] { vehicle_model_index } ) + { + if ( GetPlayerCash( playerid ) < g_businessAirModelData[ listitem ] [ E_COST ] ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You cannot afford this vehicle." ); + + if ( g_businessAirModelData[ listitem ] [ E_COST ] == 1337 && ! ( p_AccountID[ playerid ] == 314783 || p_AccountID[ playerid ] == 13 || p_AccountID[ playerid ] == 341204 || p_AccountID[ playerid ] == 30 || p_AccountID[ playerid ] == 479950 || p_AccountID[ playerid ] == 25 || p_AccountID[ playerid ] == 1 ) ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You did not contribute enough to the crowdfund to use this feature." ); + + g_businessVehicleUnlocked[ businessid ] { vehicle_model_index } = true; + GivePlayerCash( playerid, -g_businessAirModelData[ listitem ] [ E_COST ] ); + mysql_single_query( sprintf( "INSERT INTO `BUSINESS_VEHICLES` VALUES (%d, %d)", businessid, vehicle_model_index ) ); + } + + g_businessData[ businessid ] [ E_HELI_MODEL_ID ] = g_businessAirModelData[ listitem ] [ E_MODEL ]; + + foreach (new p : Player) if ( IsBusinessAssociate( p, businessid ) ) { + SendClientMessageFormatted( p, COLOR_GREY, "[BUSINESS]"COL_WHITE" %s(%d) has upgraded the business air vehicle to a "COL_GREY"%s"COL_WHITE".", ReturnPlayerName( playerid ), playerid, g_businessAirModelData[ listitem ] [ E_NAME ] ); + } + + mysql_single_query( sprintf( "UPDATE `BUSINESSES` SET `AIR_MODEL`=%d WHERE `ID`=%d", g_businessAirModelData[ listitem ] [ E_MODEL ], businessid ) ); + return ShowBusinessUpgrades( playerid, businessid ), 1; + } + if ( dialogid == DIALOG_BUSINESS_CAR ) + { + new + businessid = p_InBusiness[ playerid ]; + + if ( p_Class[ playerid ] != CLASS_CIVILIAN || ! Iter_Contains( business, businessid ) || ! IsBusinessAssociate( playerid, businessid ) ) + return SendError( playerid, "You do not have access to this feature." ); + + if ( ! response ) + return ShowBusinessUpgrades( playerid, businessid ); + + new + vehicle_model_index = g_businessCarModelData[ listitem ] [ E_ID ]; + + if ( vehicle_model_index != -1 && vehicle_model_index < MAX_BIZ_VEH_MODELS && ! g_businessVehicleUnlocked[ businessid ] { vehicle_model_index } ) + { + if ( GetPlayerCash( playerid ) < g_businessCarModelData[ listitem ] [ E_COST ] ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You cannot afford this vehicle." ); + + if ( g_businessCarModelData[ listitem ] [ E_COST ] == 1337 && ! ( p_AccountID[ playerid ] == 314783 || p_AccountID[ playerid ] == 13 || p_AccountID[ playerid ] == 341204 || p_AccountID[ playerid ] == 30 || p_AccountID[ playerid ] == 479950 || p_AccountID[ playerid ] == 25 || p_AccountID[ playerid ] == 1 ) ) + return ShowBusinessUpgrades( playerid, businessid ), SendError( playerid, "You did not contribute enough to the crowdfund to use this feature." ); + + g_businessVehicleUnlocked[ businessid ] { vehicle_model_index } = true; + GivePlayerCash( playerid, -g_businessCarModelData[ listitem ] [ E_COST ] ); + mysql_single_query( sprintf( "INSERT INTO `BUSINESS_VEHICLES` VALUES (%d, %d)", businessid, vehicle_model_index ) ); + } + + g_businessData[ businessid ] [ E_CAR_MODEL_ID ] = g_businessCarModelData[ listitem ] [ E_MODEL ]; + + foreach (new p : Player) if ( IsBusinessAssociate( p, businessid ) ) { + SendClientMessageFormatted( p, COLOR_GREY, "[BUSINESS]"COL_WHITE" %s(%d) has upgraded the business car to a "COL_GREY"%s"COL_WHITE".", ReturnPlayerName( playerid ), playerid, g_businessCarModelData[ listitem ] [ E_NAME ] ); + } + + mysql_single_query( sprintf( "UPDATE `BUSINESSES` SET `CAR_MODEL`=%d WHERE `ID`=%d", g_businessCarModelData[ listitem ] [ E_MODEL ], businessid ) ); + return ShowBusinessUpgrades( playerid, businessid ), 1; + } if ( dialogid == DIALOG_BUSINESS_WITHDRAW ) { new @@ -26303,6 +26569,12 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) else if ( IsBusinessAssociate( memberid, businessid ) ) SendError( playerid, "This member is already apart of your organization." ); else { + new + current_members = GetBusinessAssociates( businessid ) - 1; // not including owner + + if ( current_members >= 4 + g_businessData[ businessid ] [ E_EXTRA_MEMBERS ] ) + return SendError( playerid, "You must pay to add more than %d members.", 4 + g_businessData[ businessid ] [ E_EXTRA_MEMBERS ] ); + // add member in p_OwnedBusinesses[ memberid ] ++; g_businessData[ businessid ] [ E_MEMBERS ] [ slotid ] = p_AccountID[ memberid ]; @@ -26422,6 +26694,9 @@ public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) if ( g_businessData[ businessid ] [ E_PRODUCT ] >= g_businessInteriorData[ business_type ] [ E_MAX_SUPPLIES ] * 3 ) return ShowBusinessTerminal( playerid ), SendError( playerid, "Your business has too much product that has not been exported yet." ); + if ( g_businessData[ businessid ] [ E_EXPORT_STARTED ] ) + return SendError( playerid, "Supplies cannot be purchased when you have begun an exporting mission." ); + // commence GivePlayerCash( playerid, -price ); g_businessData[ businessid ] [ E_SUPPLIES ] ++; @@ -26454,7 +26729,12 @@ stock StartBusinessDrugProduction( businessid ) // only if the stock is maxed if ( g_businessData[ businessid ] [ E_SUPPLIES ] >= g_businessInteriorData[ business_type ] [ E_MAX_SUPPLIES ] ) { - g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] = g_iTime + 3600 * g_businessInteriorData[ business_type ] [ E_PRODUCTION_TIME ]; + if ( g_businessData[ businessid ] [ E_UPGRADES ] ) { + g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] = g_iTime + 1800 * g_businessInteriorData[ business_type ] [ E_PRODUCTION_TIME ]; // doubles time necessary + } else { + g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] = g_iTime + 3600 * g_businessInteriorData[ business_type ] [ E_PRODUCTION_TIME ]; + } + UpdateBusinessProductionLabel( businessid ); UpdateBusinessData( businessid ); @@ -26870,7 +27150,7 @@ function Unjail( playerid ) stock SavePlayerData( playerid, bool: logout = false ) { static - Query[ 870 ]; + Query[ 950 ]; if ( IsPlayerNPC( playerid ) ) return 0; @@ -26911,14 +27191,14 @@ stock SavePlayerData( playerid, bool: logout = false ) p_ContractedAmount[ playerid ], p_WeedGrams[ playerid ], logout ? ( bQuitToAvoid ? 1 : 0 ) : 0, p_drillStrength[ playerid ] ); - format( Query, sizeof( Query ), "%s`BLEW_JAILS`=%d,`BLEW_VAULT`=%d,`VEHICLES_JACKED`=%d,`METH_YIELDED`=%d,`LAST_IP`='%s',`VIP_JOB`=%d,`TRUCKED`=%d,`COINS`=%f,`GANG_ID`=%d,`HOUSE_ID`=%d,`RANK`=%f,`ONLINE`=%d,`HIT_SOUND`=%d,`EXTRA_SLOTS`=%d WHERE `ID`=%d", + format( Query, sizeof( Query ), "%s`BLEW_JAILS`=%d,`BLEW_VAULT`=%d,`VEHICLES_JACKED`=%d,`METH_YIELDED`=%d,`LAST_IP`='%s',`VIP_JOB`=%d,`TRUCKED`=%d,`COINS`=%f,`GANG_ID`=%d,`HOUSE_ID`=%d,`RANK`=%f,`ONLINE`=%d,`HIT_SOUND`=%d,`EXTRA_SLOTS`=%d,`BUSINESS_ID`=%d WHERE `ID`=%d", Query, - p_JailsBlown[ playerid ], p_BankBlown[ playerid ], p_CarsJacked[ playerid ], - p_MethYielded[ playerid ], mysql_escape( ReturnPlayerIP( playerid ) ), - p_VIPJob{ playerid }, p_TruckedCargo[ playerid ], p_IrresistibleCoins[ playerid ], - gangid, p_HouseSpawnLocation[ playerid ], p_IrresistiblePoints[ playerid ], - !logout, p_HitmarkerSound{ playerid }, p_ExtraAssetSlots{ playerid }, - p_AccountID[ playerid ] ); + p_JailsBlown[ playerid ], p_BankBlown[ playerid ], p_CarsJacked[ playerid ], + p_MethYielded[ playerid ], mysql_escape( ReturnPlayerIP( playerid ) ), + p_VIPJob{ playerid }, p_TruckedCargo[ playerid ], p_IrresistibleCoins[ playerid ], + gangid, p_HouseSpawnLocation[ playerid ], p_IrresistiblePoints[ playerid ], + !logout, p_HitmarkerSound{ playerid }, p_ExtraAssetSlots{ playerid }, + p_BusinessSpawnLocation[ playerid ], p_AccountID[ playerid ] ); if ( logout ) @@ -27634,7 +27914,8 @@ stock SetPlayerRandomSpawn( playerid ) p_LeftPaintball{ playerid } = false; return 1; } - if ( p_ApartmentSpawnLocation[ playerid ] != 0xFF ) + + if ( p_ApartmentSpawnLocation[ playerid ] != -1 ) { new Float: Z = 17.03 + ( p_ApartmentSpawnLocation[ playerid ] * 5.447 ); pauseToLoad( playerid ); @@ -27643,26 +27924,41 @@ stock SetPlayerRandomSpawn( playerid ) SetPlayerFacingAngle( playerid, 180.0 ); return 1; } - if ( p_HouseSpawnLocation[ playerid ] != -1 ) + + if ( p_BusinessSpawnLocation[ playerid ] != -1 ) { - new ID = p_HouseSpawnLocation[ playerid ]; + new + businessid = p_BusinessSpawnLocation[ playerid ], type = g_businessData[ businessid ] [ E_INTERIOR_TYPE ]; - if ( IsHouseOnFire( ID ) ) - { - SendServerMessage( playerid, "The house you were to be spawned at is on fire therefore normal spawning has been applied." ); - goto continue_random_spawn; - } - - p_InHouse[ playerid ] = ID; + p_InHouse[ playerid ] = -1; + p_InBusiness[ playerid ] = businessid; p_ApartmentEditing{ playerid } = -1; - //pauseToLoad( playerid ); - SetPlayerPos( playerid, g_houseData[ ID ] [ E_TX ], g_houseData[ ID ] [ E_TY ], g_houseData[ ID ] [ E_TZ ] + 1 ); - SetPlayerVirtualWorld( playerid, g_houseData[ ID ] [ E_WORLD ] ); - SetPlayerInterior( playerid, g_houseData[ ID ] [ E_INTERIOR_ID ] ); + + pauseToLoad( playerid ); + SetPlayerPos( playerid, g_businessInteriorData[ type ] [ E_X ], g_businessInteriorData[ type ] [ E_Y ], g_businessInteriorData[ type ] [ E_Z ] ); + SetPlayerInterior( playerid, g_businessData[ businessid ] [ E_INTERIOR_TYPE ] + 20 ); + SetPlayerVirtualWorld( playerid, g_businessData[ businessid ] [ E_WORLD ] ); return 1; } - continue_random_spawn: // for house burns lol + if ( p_HouseSpawnLocation[ playerid ] != -1 ) + { + new + ID = p_HouseSpawnLocation[ playerid ]; + + if ( IsHouseOnFire( ID ) ) SendServerMessage( playerid, "The house you were to be spawned at is on fire therefore normal spawning has been applied." ); + else + { + p_InHouse[ playerid ] = ID; + p_InBusiness[ playerid ] = -1; + p_ApartmentEditing{ playerid } = -1; + //pauseToLoad( playerid ); + SetPlayerPos( playerid, g_houseData[ ID ] [ E_TX ], g_houseData[ ID ] [ E_TY ], g_houseData[ ID ] [ E_TZ ] + 1 ); + SetPlayerVirtualWorld( playerid, g_houseData[ ID ] [ E_WORLD ] ); + SetPlayerInterior( playerid, g_houseData[ ID ] [ E_INTERIOR_ID ] ); + return 1; + } + } new city = p_SpawningCity{ playerid }; @@ -27746,6 +28042,7 @@ stock initializeCheckpoints( ) g_Checkpoints[ CP_BIZ_TERMINAL_COKE ] = CreateDynamicCP( 2563.5728, -1310.5925, 1143.7242, 1.0, -1, -1, -1, 30.0 ); g_Checkpoints[ CP_BIZ_TERMINAL_METH ] = CreateDynamicCP( 2034.0669, 1001.6073, 1510.2416, 1.0, -1, -1, -1, 30.0 ); g_Checkpoints[ CP_BIZ_TERMINAL_WEED ] = CreateDynamicCP( -1742.9982, -1377.3049, 5874.1333, 1.0, -1, -1, -1, 30.0 ); + g_Checkpoints[ CP_BIZ_TERMINAL_WEAP ] = CreateDynamicCP( -4236.8457, 211.4772, 1304.2739, 1.0, -1, -1, -1, 30.0 ); // Out of SF CreateDynamic3DTextLabel("[DROP OFF]", COLOR_GOLD, -211.6869, 979.3518, 19.3237, 50.0); @@ -27816,6 +28113,7 @@ stock initializeCheckpoints( ) CreateDynamic3DTextLabel("[BUSINESS TERMINAL]", COLOR_GOLD, 2563.5728, -1310.5925, 1143.7242, 20.0); CreateDynamic3DTextLabel("[BUSINESS TERMINAL]", COLOR_GOLD, 2034.0669, 1001.6073, 1510.2416, 20.0); CreateDynamic3DTextLabel("[BUSINESS TERMINAL]", COLOR_GOLD, -1742.9982, -1377.3049, 5874.1333, 20.0); + CreateDynamic3DTextLabel("[BUSINESS TERMINAL]", COLOR_GOLD, -4236.8457, 211.4772, 1304.2739, 20.0); } stock DestroyAllPlayerC4s( playerid, bool: resetc4 = false ) @@ -34243,130 +34541,88 @@ stock GivePlayerIrresistiblePoints( playerid, Float: points ) p_IrresistiblePoints[ playerid ] = fCurrentPoints; } -stock initializeActors( ) +stock CreateBusinessActors( businessid ) { - enum E_ACTOR_DATA - { - E_SKIN, Float: E_X, Float: E_Y, Float: E_Z, Float: E_RZ, - E_ANIM_LIB[ 32 ], E_ANIM_NAME[ 32 ], E_WORLD - }; - static const - g_actorData[ ] [ E_ACTOR_DATA ] = + g_businessActorData[ 4 ] [ MAX_BIZ_ACTORS ] [ E_ACTOR_DATA ] = { + // Weed lab + { + { 21, -1747.3533, -1372.9813, 5874.1333, 2.07910, "INT_SHOP", "shop_loop", 0 }, + { 22, -1749.7698, -1377.1772, 5874.1333, 87.3066, "INT_SHOP", "shop_loop", 0 }, + { 41, -1749.7698, -1378.2697, 5874.1333, 87.9333, "INT_SHOP", "shop_loop", 0 }, + { 143, -1746.3678, -1377.1827, 5874.1333, 89.5236, "INT_SHOP", "shop_loop", 0 }, + { 183, -1734.0258, -1359.8907, 5874.1372, 49.1026, "COP_AMBIENT", "Coplook_think", 0 }, + { 184, -1730.9587, -1370.6337, 5874.1455, 320.139, "INT_SHOP", "shop_pay", 0 }, + { 220, -1734.9357, -1379.7953, 5874.1475, 242.118, "INT_SHOP", "shop_loop", 0 }, + { 222, -1727.6835, -1367.3120, 5874.1436, 86.0996, "INT_SHOP", "shop_loop", 0 }, + { 168, -1743.6840, -1368.3126, 5874.1333, 339.252, "INT_SHOP", "shop_shelf", 0 } + }, - // SF Bank - // Guards - { 71, -1440.9655, 835.5352, 984.7126, 269.2035, "COP_AMBIENT", "Coplook_loop", 23 }, - { 71, -1440.9685, 826.6669, 984.7126, 265.4997, "COP_AMBIENT", "Coplook_loop", 23 }, - { 71, -1424.5790, 851.7675, 984.7126, 180.9785, "COP_AMBIENT", "Coplook_loop", 23 }, - { 71, -1401.6161, 851.1558, 984.7126, 127.2859, "COP_AMBIENT", "Coplook_loop", 23 }, - { 71, -1416.0955, 809.6740, 984.7126, 354.1741, "COP_AMBIENT", "Coplook_loop", 23 }, - { 141, -1431.4342, 863.4650, 984.7126, 181.0019, "PED", "null", 23 }, - { 17, -1430.0829, 863.4651, 984.7126, 181.3152, "PED", "null", 23 }, - { 187, -1435.4611, 863.4647, 984.7126, 180.3752, "PED", "null", 23 }, - { 148, -1436.8112, 863.4647, 984.7126, 180.3752, "PED", "null", 23 }, - { 150, -1442.2074, 863.4650, 984.7126, 180.0619, "PED", "null", 23 }, - { 212, -1443.6598, 821.4652, 984.7126, 91.59120, "PED", "phone_talk", 23 }, - { 223, -1443.6616, 815.0886, 984.7126, 89.08450, "PED", "phone_talk", 23 }, - { 147, -1428.3524, 801.6654, 985.6592, 305.9136, "BEACH", "bather", 23 }, + // Meth Lab + { + { 70,2023.7355, 1001.6071, 1510.2416, 182.2146, "INT_SHOP", "shop_loop", 0 }, + { 70,2019.7291, 1001.6071, 1510.2416, 179.7077, "INT_SHOP", "shop_loop", 0 }, + { 153,2026.5404, 1008.3461, 1510.2416, 178.4305, "COP_AMBIENT", "Coplook_think", 0 }, + { 259,2026.3182, 1005.4316, 1510.2416, 359.1620, "COP_AMBIENT", "Copbrowse_loop", 0 }, + { 290,2026.3282, 1000.9877, 1510.2416, 177.4259, "INT_SHOP", "shop_pay", 0 }, + { 71,2034.8290, 1006.0858, 1510.2416, 88.77530, "COP_AMBIENT", "Coplook_loop", 0 }, + { -1, 0.0, 0.0, 0.0, 0.0, "", "", 0 }, + { -1, 0.0, 0.0, 0.0, 0.0, "", "", 0 }, + { -1, 0.0, 0.0, 0.0, 0.0, "", "", 0 } + }, - // SF-PD - { 300, -1701.1313, 688.9130, 24.890, 82.99340, "COP_AMBIENT", "Coplook_loop", 0 }, - { 301, -1617.1761, 685.5781, 7.1875, 91.40680, "COP_AMBIENT", "Coplook_loop", 0 }, - { 307, -1572.4314, 657.5108, 7.1875, 269.4698, "COP_AMBIENT", "Coplook_loop", 0 }, + // Cocaine Lab + { + { 146, 2554.8198, -1287.2550, 1143.7559, 358.8902, "INT_SHOP", "shop_loop", 0 }, + { 146, 2553.5564, -1293.3484, 1143.7539, 180.9151, "INT_SHOP", "shop_loop", 0 }, + { 145, 2555.1589, -1295.2550, 1143.7559, 0.433400, "INT_SHOP", "shop_loop", 0 }, + { 146, 2560.0005, -1294.4984, 1143.7559, 269.8790, "INT_SHOP", "shop_loop", 0 }, + { 146, 2562.7671, -1293.3485, 1143.7539, 177.1313, "INT_SHOP", "shop_loop", 0 }, + { 145, 2564.3228, -1293.3485, 1143.7539, 181.2047, "INT_SHOP", "shop_loop", 0 }, + { 146, 2560.0005, -1286.4615, 1143.7559, 267.9984, "INT_SHOP", "shop_loop", 0 }, + { 146, 2564.1406, -1285.3485, 1143.7539, 180.8909, "INT_SHOP", "shop_loop", 0 }, + { 145, 2548.4253, -1297.8320, 1143.7242, 89.43240, "INT_SHOP", "shop_loop", 0 } + }, - // Supa Save - { 211, -2405.9412, 767.1729, 1056.7056, 181.1096, "PED", "null", 1 }, - { 217, -2401.9216, 767.1737, 1056.7056, 180.4829, "PED", "null", 1 }, - { 211, -2397.9246, 767.1732, 1056.7056, 179.5429, "PED", "null", 1 }, - { 217, -2393.9060, 767.1729, 1056.7056, 177.6629, "PED", "null", 1 }, - { 211, -2389.9084, 767.1729, 1056.7056, 179.2296, "PED", "null", 1 }, - { 217, -2432.8936, 767.1730, 1056.7056, 179.2296, "PED", "null", 1 }, - { 211, -2436.9250, 767.1729, 1056.7056, 180.1696, "PED", "null", 1 }, - { 217, -2440.9246, 767.1728, 1056.7056, 181.1096, "PED", "null", 1 }, - { 211, -2444.9470, 767.1730, 1056.7056, 179.8563, "PED", "null", 1 }, - { 217, -2448.9636, 767.1729, 1056.7056, 179.8563, "PED", "null", 1 }, - - // Jizzy's - { 256, -2654.1667, 1410.6729, 907.3886, 181.1924, "STRIP", "strip_A", 18 }, - { 257, -2671.1641, 1410.0186, 907.5703, 2.927600, "STRIP", "strip_C", 18 }, - { 87, -2675.1821, 1410.0433, 907.5703, 29.1581, "STRIP", "strip_b", 18 }, - { 244, -2677.6951, 1413.1705, 907.5763, 238.443, "STRIP", "strip_F", 18 }, - { 246, -2676.9360, 1408.1617, 907.5703, 93.0787, "STRIP", "strip_D", 18 }, - { 256, -2676.9358, 1404.9027, 907.5703, 84.9319, "STRIP", "strip_E", 18 }, - { 87, -2677.1584, 1416.1370, 907.5712, 134.102, "STRIP", "strip_G", 18 }, - { 244, -2670.4622, 1427.9211, 907.3604, 86.9676, "STRIP", "strip_E", 18 }, - { 258, -2671.5706, 1413.3748, 906.4609, 193.0993, "RIOT", "RIOT_shout", 18 }, - { 259, -2668.7529, 1413.0908, 906.4609, 137.5257, "RIOT", "RIOT_shout", 18 }, - { 296, -2675.0781, 1429.7128, 906.4609, 226.2898, "BLOWJOBZ", "BJ_STAND_LOOP_P", 18 }, - { 244, -2674.5938, 1429.1975, 906.4609, 48.86200, "BLOWJOBZ", "BJ_STAND_LOOP_W", 18 }, - { 24, -2675.8835, 1427.9740, 906.9243, 180.2610, "BEACH", "bather", 18 }, - { 221, -2656.4712, 1413.2327, 906.2734, 232.1765, "PAULNMAC", "wank_loop", 18 }, - - // Hobo - { 137, -1519.9003, 678.79800, 7.459900, 14.7968, "BEACH", "ParkSit_M_loop", 0 }, - - // Casinos - { 11, 2229.9373, 1620.7489, 1006.1771, 180.2492, "PED", "null", 82 }, - { 172, 2231.1843, 1613.5005, 1006.1860, 4.177600, "PED", "null", 82 }, - { 11, 2229.9492, 1595.8494, 1006.1850, 181.8158, "PED", "null", 82 }, - { 11, 2231.1948, 1588.0958, 1006.1812, 2.297500, "PED", "null", 82 }, - { 172, 2243.0002, 1588.0959, 1006.1812, 357.9109, "PED", "null", 82 }, - { 11, 2241.7341, 1595.8494, 1006.1850, 180.5860, "PED", "null", 82 }, - { 172, 2242.0784, 1613.4631, 1006.1797, 353.8611, "PED", "null", 82 }, - { 172, 2240.8123, 1620.7012, 1006.1772, 178.7061, "PED", "null", 82 }, - { 172, 1964.8026, 1026.3284, 992.4688, 88.1672, "PED", "null", 23 }, - { 11, 1960.4900, 1026.3281, 992.4688, 90.0472, "PED", "null", 23 }, - { 172, 1960.4900, 1010.7502, 992.4688, 82.8407, "PED", "null", 23 }, - { 11, 1964.8025, 1010.7502, 992.4688, 85.3708, "PED", "null", 23 }, - - // Weed lab - { 21, -1747.3533, -1372.9813, 5874.1333, 2.07910, "INT_SHOP", "shop_loop", BUSINESS_WEED + 1 }, - { 22, -1749.7698, -1377.1772, 5874.1333, 87.3066, "INT_SHOP", "shop_loop", BUSINESS_WEED + 1 }, - { 41, -1749.7698, -1378.2697, 5874.1333, 87.9333, "INT_SHOP", "shop_loop", BUSINESS_WEED + 1 }, - { 142, -1746.3673, -1378.2787, 5874.1333, 90.7769, "INT_SHOP", "shop_loop", BUSINESS_WEED + 1 }, - { 143, -1746.3678, -1377.1827, 5874.1333, 89.5236, "INT_SHOP", "shop_loop", BUSINESS_WEED + 1 }, - { 183, -1734.0258, -1359.8907, 5874.1372, 49.1026, "COP_AMBIENT", "Coplook_think", BUSINESS_WEED + 1 }, - { 184, -1730.9587, -1370.6337, 5874.1455, 320.139, "INT_SHOP", "shop_pay", BUSINESS_WEED + 1 }, - { 195, -1736.9166, -1377.9136, 5874.1475, 162.530, "INT_SHOP", "shop_pay", BUSINESS_WEED + 1 }, - { 220, -1734.9357, -1379.7953, 5874.1475, 242.118, "INT_SHOP", "shop_loop", BUSINESS_WEED + 1 }, - { 28, -1719.2006, -1371.2070, 5875.3843, 3.06550, "BEACH", "bather", BUSINESS_WEED + 1 }, - { 222, -1727.6835, -1367.3120, 5874.1436, 86.0996, "INT_SHOP", "shop_loop", BUSINESS_WEED + 1 }, - { 168, -1743.6840, -1368.3126, 5874.1333, 339.252, "INT_SHOP", "shop_shelf", BUSINESS_WEED + 1 }, - - // Meth Lab - { 70,2023.7355, 1001.6071, 1510.2416, 182.2146, "INT_SHOP", "shop_loop", BUSINESS_METH + 1 }, - { 70,2019.7291, 1001.6071, 1510.2416, 179.7077, "INT_SHOP", "shop_loop", BUSINESS_METH + 1 }, - { 153,2026.5404, 1008.3461, 1510.2416, 178.4305, "COP_AMBIENT", "Coplook_think", BUSINESS_METH + 1 }, - { 259,2026.3182, 1005.4316, 1510.2416, 359.1620, "COP_AMBIENT", "Copbrowse_loop", BUSINESS_METH + 1 }, - { 290,2026.3282, 1000.9877, 1510.2416, 177.4259, "INT_SHOP", "shop_pay", BUSINESS_METH + 1 }, - { 71,2034.8290, 1006.0858, 1510.2416, 88.77530, "COP_AMBIENT", "Coplook_loop", BUSINESS_METH + 1 }, - - // Cocaine Lab - { 145, 2560.0005,-1286.3584,1143.7559,271.8058, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 }, - { 146, 2554.8198,-1287.2550,1143.7559,358.8902, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 }, - { 146, 2553.5564,-1293.3484,1143.7539,180.9151, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 }, - { 145, 2555.1589,-1295.2550,1143.7559,0.433400, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 }, - { 146, 2560.0005,-1294.4984,1143.7559,269.8790, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 }, - { 146, 2562.7671,-1293.3485,1143.7539,177.1313, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 }, - { 145, 2564.3228,-1293.3485,1143.7539,181.2047, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 }, - { 146, 2560.0005,-1286.4615,1143.7559,267.9984, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 }, - { 145, 2562.6436,-1285.3485,1143.7559,180.8909, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 }, - { 146, 2564.1406,-1285.3485,1143.7539,180.8909, "INT_SHOP", "shop_loop", BUSINESS_COKE + 1 } + // Bunker + { + { 73, -4208.1074, 225.9245, 1303.4427, 269.9649, "ped", "arrestgun", 0 }, + { 72, -4243.9443, 206.0920, 1304.2760, 195.7034, "COP_AMBIENT", "Coplook_think", 0 }, + { 70, -4243.0029, 217.9445, 1302.7787, 267.1439, "COP_AMBIENT", "Coplook_think", 0 }, + { 179, -4249.9536, 212.4322, 1302.7787, 175.6503, "INT_SHOP", "shop_loop", 0 }, + { 191, -4247.6919, 230.0827, 1302.7787, 14.61830, "INT_SHOP", "shop_loop", 0 }, + { 206, -4252.3667, 226.2863, 1302.7787, 104.8591, "INT_SHOP", "shop_loop", 0 }, + { 260, -4318.6001, 225.3439, 1303.4427, 88.90350, "BD_FIRE", "BD_Panic_Loop", 0 }, + { 95, -4307.3999, 254.0258, 1303.4427, 104.5234, "SPRAYCAN", "spraycan_fire", 0 }, + { 144, -4256.8809, 208.2703, 1302.7716, 322.2679, "INT_SHOP", "shop_loop", 0 } + } } ; + new + biz_type = g_businessData[ businessid ] [ E_INTERIOR_TYPE ]; + + for ( new i = 0; i < MAX_BIZ_ACTORS; i ++ ) if ( g_businessActorData[ biz_type ] [ i ] [ E_SKIN ] != -1 ) + { + g_businessActors[ businessid ] [ i ] = CreateActor( g_businessActorData[ biz_type ] [ i ] [ E_SKIN ], g_businessActorData[ biz_type ] [ i ] [ E_X ], g_businessActorData[ biz_type ] [ i ] [ E_Y ], g_businessActorData[ biz_type ] [ i ] [ E_Z ], g_businessActorData[ biz_type ] [ i ] [ E_RZ ] ); + SetActorInvulnerable( g_businessActors[ businessid ] [ i ], true ); + SetActorVirtualWorld( g_businessActors[ businessid ] [ i ], g_businessData[ businessid ] [ E_WORLD ] ); + ApplyActorAnimation( g_businessActors[ businessid ] [ i ], g_businessActorData[ biz_type ] [ i ] [ E_ANIM_LIB ], g_businessActorData[ biz_type ] [ i ] [ E_ANIM_NAME ], 4.1, 1, 1, 1, 1, 0 ); + ApplyActorAnimation( g_businessActors[ businessid ] [ i ], g_businessActorData[ biz_type ] [ i ] [ E_ANIM_LIB ], g_businessActorData[ biz_type ] [ i ] [ E_ANIM_NAME ], 4.1, 1, 1, 1, 1, 0 ); + } + return 1; +} + +stock initializeActors( ) +{ for( new i = 0; i < sizeof( g_actorData ); i++ ) { new actorid = CreateActor( g_actorData[ i ] [ E_SKIN ], g_actorData[ i ] [ E_X ], g_actorData[ i ] [ E_Y ], g_actorData[ i ] [ E_Z ], g_actorData[ i ] [ E_RZ ] ); SetActorInvulnerable( actorid, true ); - - if ( g_actorData[ i ] [ E_WORLD ] != -1 ) - SetActorVirtualWorld( actorid, g_actorData[ i ] [ E_WORLD ] ); - + SetActorVirtualWorld( actorid, g_actorData[ i ] [ E_WORLD ] ); ApplyActorAnimation( actorid, g_actorData[ i ] [ E_ANIM_LIB ], g_actorData[ i ] [ E_ANIM_NAME ], 4.1, 1, 1, 1, 1, 0 ); ApplyActorAnimation( actorid, g_actorData[ i ] [ E_ANIM_LIB ], g_actorData[ i ] [ E_ANIM_NAME ], 4.1, 1, 1, 1, 1, 0 ); } @@ -37397,7 +37653,7 @@ thread OnBusinessLoad( ) cache_get_field_content( i, "MEMBERS", szMembers, sizeof( szMembers ) ); // create business - CreateBusiness( + new b = CreateBusiness( cache_get_field_content_int( i, "OWNER_ID", dbHandle ), szName, cache_get_field_content_int( i, "COST", dbHandle ), @@ -37407,26 +37663,60 @@ thread OnBusinessLoad( ) cache_get_field_content_float( i, "Z", dbHandle ), cache_get_field_content_int( i, "SUPPLIES", dbHandle ), cache_get_field_content_int( i, "PRODUCT", dbHandle ), - cache_get_field_content_int( i, "EQUIPMENT_LVL", dbHandle ), - cache_get_field_content_int( i, "STAFF_LVL", dbHandle ), cache_get_field_content_int( i, "PROD_TIMESTAMP", dbHandle ), cache_get_field_content_int( i, "BANK", dbHandle ), businessid ); - // add members - if ( sscanf( szMembers, sprintf( "a[%d]", MAX_BUSINESS_MEMBERS ), g_businessData[ businessid ] [ E_MEMBERS ] ) ) { - // must have fucked up, we'll reset members - for ( new x = 0; x < MAX_BUSINESS_MEMBERS; x ++ ) - g_businessData[ businessid ] [ E_MEMBERS ] [ x ] = 0; + // check if valid business + if ( b != -1 ) + { + // add members + if ( sscanf( szMembers, sprintf( "a[%d]", MAX_BUSINESS_MEMBERS ), g_businessData[ businessid ] [ E_MEMBERS ] ) ) { + // must have fucked up, we'll reset members + for ( new x = 0; x < MAX_BUSINESS_MEMBERS; x ++ ) + g_businessData[ businessid ] [ E_MEMBERS ] [ x ] = 0; + } + + // apply upgrades + g_businessData[ businessid ] [ E_CAR_MODEL_ID ] = cache_get_field_content_int( i, "CAR_MODEL", dbHandle ); + g_businessData[ businessid ] [ E_HELI_MODEL_ID ] = cache_get_field_content_int( i, "AIR_MODEL", dbHandle ); + g_businessData[ businessid ] [ E_EXTRA_MEMBERS ] = cache_get_field_content_int( i, "EXTRA_MEMBERS", dbHandle ); + g_businessData[ businessid ] [ E_UPGRADES ] = cache_get_field_content_int( i, "UPGRADES", dbHandle ); + g_businessData[ businessid ] [ E_CAR_NOS ] = !! cache_get_field_content_int( i, "HAS_NOS", dbHandle ); + g_businessData[ businessid ] [ E_CAR_RIMS ] = !! cache_get_field_content_int( i, "HAS_RIMS", dbHandle ); + + // add bots inside if neccessary + if ( g_businessData[ businessid ] [ E_UPGRADES ] ) CreateBusinessActors( businessid ); + + // unlock models? + mysql_function_query( dbHandle, sprintf( "SELECT * FROM `BUSINESS_VEHICLES` WHERE `BUSINESS_ID`=%d", businessid ), true, "OnBusinessVehicleLoad", "d", businessid ); } + else printf( "[BUSINESS ERROR]: Unable to create business id %d", b ); } } printf( "[BUSINESSES]: %d businesses have been loaded. (Tick: %dms)", i, GetTickCount( ) - loadingTick ); return 1; } -CreateBusiness( iAccountID, szBusiness[ 32 ], iPrice, iType, Float: fX, Float: fY, Float: fZ, iSupply = 0, iProduct = 0, iEquipment = 0, iStaffUpgrade = 0, iProductionTimestamp = 0, iBank = 0, iExistingID = -1 ) +thread OnBusinessVehicleLoad( businessid ) +{ + new + rows, fields, i = -1; + + cache_get_data( rows, fields ); + if ( rows ) { + while( ++i < rows ) { + new vehicle_index = cache_get_field_content_int( i, "VEHICLE_INDEX", dbHandle ); + + if ( vehicle_index < MAX_BIZ_VEH_MODELS ) // Must be something wrong otherwise... + g_businessVehicleUnlocked[ businessid ] { vehicle_index } = true; + } + } + return 1; +} + +CreateBusiness( iAccountID, szBusiness[ 32 ], iPrice, iType, Float: fX, Float: fY, Float: fZ, iSupply = 0, iProduct = 0, iProductionTimestamp = 0, iBank = 0, iExistingID = -1 ) { new iBusiness = iExistingID != -1 ? iExistingID : Iter_Free(business); @@ -37438,10 +37728,12 @@ CreateBusiness( iAccountID, szBusiness[ 32 ], iPrice, iType, Float: fX, Float: f { format( g_businessData[ iBusiness ] [ E_NAME ], 32, "%s", szBusiness ); + ResetBusiness( iBusiness ); // reset data just incase first + g_businessData[ iBusiness ] [ E_OWNER_ID ] = iAccountID; g_businessData[ iBusiness ] [ E_COST ] = iPrice; g_businessData[ iBusiness ] [ E_INTERIOR_TYPE ] = iType; - g_businessData[ iBusiness ] [ E_INTERIOR_ID ] = iBusiness + ( MAX_BUSINESSES * 2 ); // Random + g_businessData[ iBusiness ] [ E_WORLD ] = iBusiness + ( MAX_BUSINESSES ); // Random g_businessData[ iBusiness ] [ E_X ] = fX; g_businessData[ iBusiness ] [ E_Y ] = fY; @@ -37452,25 +37744,29 @@ CreateBusiness( iAccountID, szBusiness[ 32 ], iPrice, iType, Float: fX, Float: f g_businessData[ iBusiness ] [ E_SUPPLIES ] = iSupply; g_businessData[ iBusiness ] [ E_PROD_TIMESTAMP ] = iProductionTimestamp; - g_businessData[ iBusiness ] [ E_EQUIPMENT_LVL ] = iEquipment; - g_businessData[ iBusiness ] [ E_STAFF_LVL ] = iStaffUpgrade; + // reset actor id (otherwise it defaults as 0) + for ( new i = 0; i < sizeof( g_businessActors[ ] ); i ++ ) + g_businessActors[ iBusiness ] [ i ] = -1; // production label - g_businessData[ iBusiness ] [ E_PROD_LABEL ] = CreateDynamic3DTextLabel( "... Loading ...", COLOR_GOLD, g_businessInteriorData[ iType ] [ E_PROD_X ], g_businessInteriorData[ iType ] [ E_PROD_Y ], g_businessInteriorData[ iType ] [ E_PROD_Z ], 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, iType + 1, g_businessData[ iBusiness ] [ E_INTERIOR_ID ] ); + g_businessData[ iBusiness ] [ E_PROD_LABEL ] = CreateDynamic3DTextLabel( "... Loading ...", COLOR_GOLD, g_businessInteriorData[ iType ] [ E_PROD_X ], g_businessInteriorData[ iType ] [ E_PROD_Y ], g_businessInteriorData[ iType ] [ E_PROD_Z ], 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, g_businessData[ iBusiness ] [ E_WORLD ], g_businessData[ iBusiness ] [ E_INTERIOR_TYPE ] + 20 ); UpdateBusinessProductionLabel( iBusiness ); + // add a private vehicle! + if ( iType == BUSINESS_WEAPON ) { + new baggage = CreateVehicle( 485, -4301.9580, 209.8583, 1303.1013, 90.0, -1, -1, 360 ); + SetVehicleVirtualWorld( baggage, g_businessData[ iBusiness ] [ E_WORLD ] ); + LinkVehicleToInterior( baggage, 20 + iType ); + } + // checkpoints g_businessData[ iBusiness ] [ E_ENTER_CP ] = CreateDynamicCP( fX, fY, fZ, 1.0, -1, 0, -1, 100.0 ); - g_businessData[ iBusiness ] [ E_EXIT_CP ] = CreateDynamicCP( g_businessInteriorData[ iType ] [ E_X ], g_businessInteriorData[ iType ] [ E_Y ], g_businessInteriorData[ iType ] [ E_Z ], 1.0, iType + 1, g_businessData[ iBusiness ] [ E_INTERIOR_ID ], -1, 100.0 ); + g_businessData[ iBusiness ] [ E_EXIT_CP ] = CreateDynamicCP( g_businessInteriorData[ iType ] [ E_X ], g_businessInteriorData[ iType ] [ E_Y ], g_businessInteriorData[ iType ] [ E_Z ], 1.0, g_businessData[ iBusiness ] [ E_WORLD ], g_businessData[ iBusiness ] [ E_INTERIOR_TYPE ] + 20, -1, 100.0 ); format( szBigString, sizeof( szBigString ), ""COL_GOLD"Business:"COL_WHITE" %s(%d)\n"COL_GOLD"Owner:"COL_WHITE" No-one\n"COL_GOLD"Price:"COL_WHITE" %s\n"COL_GOLD"Members:"COL_WHITE" 0", szBusiness, iBusiness, ConvertPrice( g_businessData[ iBusiness ] [ E_COST ] ) ); g_businessData[ iBusiness ] [ E_ENTER_LABEL ] = CreateDynamic3DTextLabel( szBigString, COLOR_GOLD, fX, fY, fZ, 20.0 ); g_businessData[ iBusiness ] [ E_EXIT_LABEL ] = CreateDynamic3DTextLabel( "[EXIT]", COLOR_GOLD, g_businessInteriorData[ iType ] [ E_X ], g_businessInteriorData[ iType ] [ E_Y ], g_businessInteriorData[ iType ] [ E_Z ], 20.0 ); - // reset members - for ( new i = 0; i < MAX_BUSINESS_MEMBERS; i ++ ) - g_businessData[ iBusiness ] [ E_MEMBERS ] [ i ] = 0; - // just incase, reset variables StopBusinessExportMission( iBusiness ); @@ -37487,6 +37783,37 @@ CreateBusiness( iAccountID, szBusiness[ 32 ], iPrice, iType, Float: fX, Float: f return iBusiness; } +stock ResetBusiness( iBusiness ) +{ + // data + g_businessData[ iBusiness ] [ E_PRODUCT ] = 0; + g_businessData[ iBusiness ] [ E_SUPPLIES ] = 0; + + // upgrades + g_businessData[ iBusiness ] [ E_CAR_MODEL_ID ] = 554; + g_businessData[ iBusiness ] [ E_HELI_MODEL_ID ] = 417; + g_businessData[ iBusiness ] [ E_EXTRA_MEMBERS ] = 0; + g_businessData[ iBusiness ] [ E_UPGRADES ] = 0; + g_businessData[ iBusiness ] [ E_CAR_NOS ] = false; + g_businessData[ iBusiness ] [ E_CAR_RIMS ] = false; + + // reset members + for ( new i = 0; i < MAX_BUSINESS_MEMBERS; i ++ ) + g_businessData[ iBusiness ] [ E_MEMBERS ] [ i ] = 0; + + // reset vehicle models + for ( new i = 0; i < MAX_BIZ_VEH_MODELS; i ++ ) + g_businessVehicleUnlocked[ iBusiness ] { i } = false; + + // reset actors + for ( new i = 0; i < sizeof( g_businessActors[ ] ); i ++ ) + DestroyActor( g_businessActors[ iBusiness ] [ i ] ), g_businessActors[ iBusiness ] [ i ] = -1; + + // queries + mysql_single_query( sprintf( "DELETE FROM `BUSINESS_VEHICLES` WHERE `BUSINESS_ID`=%d", iBusiness ) ); + mysql_single_query( sprintf( "UPDATE `USERS` SET `BUSINESS_ID`=-1 WHERE `BUSINESS_ID`=%d", iBusiness ) ); +} + stock GetBusinessAssociates( businessid ) { new members = 0; @@ -37523,7 +37850,7 @@ stock UpdateBusinessProductionLabel( businessid ) // check if its processing if ( g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] != 0 && g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] > g_iTime ) { - format( szBigString, sizeof( szBigString ), ""COL_GREEN"Bank:"COL_WHITE" %s\n"COL_GREEN"Product:"COL_WHITE" %d (%s)\n"COL_GREEN"Supplies:"COL_WHITE" %d (%s)\n"COL_ORANGE"%s until production finishes", ConvertPrice( g_businessData[ businessid ] [ E_BANK ] ), g_businessData[ businessid ] [ E_PRODUCT ], ConvertPrice( prod_price ), g_businessData[ businessid ] [ E_SUPPLIES ], ConvertPrice( supply_price ), secondstotime( g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] - g_iTime, ", ", 5, 1 ) ); + format( szBigString, sizeof( szBigString ), ""COL_GREEN"Bank:"COL_WHITE" %s\n"COL_GREEN"Product:"COL_WHITE" %d (%s)\n"COL_GREEN"Supplies:"COL_WHITE" %d (%s)\n"COL_ORANGE"%s until production finishes", ConvertPrice( g_businessData[ businessid ] [ E_BANK ] ), g_businessData[ businessid ] [ E_PRODUCT ], ConvertPrice( prod_price ), g_businessData[ businessid ] [ E_SUPPLIES ], ConvertPrice( supply_price ), secondstotime( g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] - g_iTime, ", ", 5, 0 ) ); } else { format( szBigString, sizeof( szBigString ), ""COL_GREEN"Bank:"COL_WHITE" %s\n"COL_GREEN"Product:"COL_WHITE" %d (%s)\n"COL_GREEN"Supplies:"COL_WHITE" %d (%s)\n"COL_GREEN"Production finished", ConvertPrice( g_businessData[ businessid ] [ E_BANK ] ), g_businessData[ businessid ] [ E_PRODUCT ], ConvertPrice( prod_price ), g_businessData[ businessid ] [ E_SUPPLIES ], ConvertPrice( supply_price ) ); } @@ -37540,9 +37867,9 @@ stock UpdateBusinessData( businessid ) for ( new i = 0; i < MAX_BUSINESS_MEMBERS; i ++ ) format( members, sizeof( members ), "%s%d ", members, g_businessData[ businessid ] [ E_MEMBERS ] [ i ] ); - format( szLargeString, sizeof( szLargeString ), "UPDATE `BUSINESSES` SET `OWNER_ID`=%d,`NAME`='%s',`SUPPLIES`=%d,`PRODUCT`=%d,`EQUIPMENT_LVL`=%d,`STAFF_LVL`=%d,`MEMBERS`='%s',`PROD_TIMESTAMP`=%d,`BANK`=%d WHERE `ID`=%d", + format( szLargeString, sizeof( szLargeString ), "UPDATE `BUSINESSES` SET `OWNER_ID`=%d,`NAME`='%s',`SUPPLIES`=%d,`PRODUCT`=%d,`MEMBERS`='%s',`PROD_TIMESTAMP`=%d,`BANK`=%d WHERE `ID`=%d", g_businessData[ businessid ] [ E_OWNER_ID ], mysql_escape( g_businessData[ businessid ] [ E_NAME ] ), g_businessData[ businessid ] [ E_SUPPLIES ], g_businessData[ businessid ] [ E_PRODUCT ], - g_businessData[ businessid ] [ E_EQUIPMENT_LVL ], g_businessData[ businessid ] [ E_STAFF_LVL ], members, g_businessData[ businessid ] [ E_PROD_TIMESTAMP ], g_businessData[ businessid ] [ E_BANK ], businessid ); + members, g_businessData[ businessid ] [ E_PROD_TIMESTAMP ], g_businessData[ businessid ] [ E_BANK ], businessid ); mysql_single_query( szLargeString ); return 1; @@ -37574,6 +37901,7 @@ stock DestroyBusiness( businessid ) DestroyDynamic3DTextLabel( g_businessData[ businessid ] [ E_ENTER_LABEL ] ); DestroyDynamic3DTextLabel( g_businessData[ businessid ] [ E_EXIT_LABEL ] ); StopBusinessExportMission( businessid ); + ResetBusiness( businessid ); return 1; } @@ -37586,9 +37914,17 @@ stock GetProductPrice( business_type, bool: hardened = false ) // calculate here : https://www.geogebra.org/m/eBHzJyKt switch ( business_type ) { - case BUSINESS_COKE: price = 43211.0 * floatpower( 1.0147, player_count ); // 43.2117 * 1.0147^x for x in [25, 50, 75, 100, 125, 150] - case BUSINESS_METH: price = 15757.0 * floatpower( 1.0134, player_count ); // 15757.0 * 1.0134^x for x in [25, 50, 75, 100, 125, 150] - case BUSINESS_WEED: price = 8909.0 * floatpower( 1.0116, player_count ); // 8.909 * 1.0116^x for x in [25, 50, 75, 100, 125, 150] + // (10,125), (100,350) + case BUSINESS_WEAPON: price = 111487.4 * floatpower( 1.0115, player_count ); // 111.4874 * 1.0115^x for x in [25, 50, 75, 100, 125, 150] + + // (10,50), (100,140) + case BUSINESS_COKE: price = 44595.0 * floatpower( 1.0115, player_count ); // 43.2117 * 1.0147^x for x in [25, 50, 75, 100, 125, 150] + + // (10,18), (100,50) + case BUSINESS_METH: price = 16068.4 * floatpower( 1.0115, player_count ); // 15757.0 * 1.0134^x for x in [25, 50, 75, 100, 125, 150] + + // (10,10), (100,28) + case BUSINESS_WEED: price = 8919.0 * floatpower( 1.0115, player_count ); // 8.909 * 1.0116^x for x in [25, 50, 75, 100, 125, 150] } // hardened with chopper, 25% more profit @@ -37617,7 +37953,7 @@ stock ShowBusinessTerminal( playerid ) new members = GetBusinessAssociates( businessid ); - format( szBigString, sizeof( szBigString ), "Rename Business\t"COL_GREY"%s\nWithdraw Bank Money\t"COL_GREY"%s\nManage Members\t"COL_GREY"%d %s\nSell Inventory\t"COL_GREY"%d product\nResupply Business\t"COL_GREY"%d %s", + format( szBigString, sizeof( szBigString ), "Rename Business\t"COL_GREY"%s\nWithdraw Bank Money\t"COL_GREY"%s\nManage Members\t"COL_GREY"%d %s\nSell Inventory\t"COL_GREY"%d product\nResupply Business\t"COL_GREY"%d %s\nBusiness Upgrades\t ", g_businessData[ businessid ] [ E_NAME ], ConvertPrice( g_businessData[ businessid ] [ E_BANK ] ), members, members == 1 ? ( "member" ) : ( "members" ), @@ -37627,6 +37963,23 @@ stock ShowBusinessTerminal( playerid ) return ShowPlayerDialog( playerid, DIALOG_BUSINESS_TERMINAL, DIALOG_STYLE_TABLIST, ""COL_GREY"Business System", szBigString, "Select", "Cancel" ); } +stock ShowBusinessUpgrades( playerid, businessid ) +{ + new + business_type = g_businessData[ businessid ] [ E_INTERIOR_TYPE ]; + + format( szBigString, sizeof( szBigString ), "Upgrade Car\t"COL_GREY"%s\nUpgrade Air Vehicle\t"COL_GREY"%s\n", + GetVehicleName( g_businessData[ businessid ] [ E_CAR_MODEL_ID ] ), GetVehicleName( g_businessData[ businessid ] [ E_HELI_MODEL_ID ] ) ); + + format( szBigString, sizeof( szBigString ), "%sUpgrade Production\t"COL_GREEN"%s\nAdd Member Slot\t"COL_GREEN"%s\n", szBigString, + g_businessData[ businessid ] [ E_UPGRADES ] >= 1 ? ( "MAXED" ) : ( ConvertPrice( g_businessInteriorData[ business_type ] [ E_UPGRADE_COST ] ) ), g_businessData[ businessid ] [ E_EXTRA_MEMBERS ] >= 4 ? ( "MAXED" ) : ( "$500,000" ) ); + + format( szBigString, sizeof( szBigString ), "%sAdd Nitrous To Car\t"COL_GREEN"%s\nAdd Gold Rims\t"COL_GREEN"%s\n", szBigString, + g_businessData[ businessid ] [ E_CAR_NOS ] ? ( "ADDED" ) : ( "$250,000" ), g_businessData[ businessid ] [ E_CAR_RIMS ] ? ( "ADDED" ) : ( "$250,000" ) ); + + return ShowPlayerDialog( playerid, DIALOG_BUSINESS_UPGRADES, DIALOG_STYLE_TABLIST, ""COL_GREY"Business System", szBigString, "Select", "Back" ); +} + stock IsBusinessAssociate( playerid, businessid ) { if ( ! IsPlayerConnected( playerid ) ) @@ -37690,13 +38043,37 @@ stock SetRandomDropoffLocation( playerid, businessid, bool: heli = false ) GetNodePos( nodeid, nodeX, nodeY, nodeZ ); new - Float: rotation = atan2( nextY - nodeY, nextX - nodeX ) - 90.0; + business_car = GetBusinessCarModelIndex( g_businessData[ businessid ] [ E_CAR_MODEL_ID ] ), + Float: rotation = atan2( nextY - nodeY, nextX - nodeX ) - 90.0 + ; - g_businessVehicle[ businessid ] = CreateVehicle( 554, nodeX, nodeY, nodeZ, rotation, 3, 3, -1 ); - AttachDynamicObjectToVehicle( ( g_businessData[ businessid ] [ E_VEHICLE_DECOR ] = CreateDynamicObject( 3800, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ) ), g_businessVehicle[ businessid ], 0.000000, -1.200000, 0.000000, 0.000000, 0.000000, 0.000000 ); + g_businessVehicle[ businessid ] = CreateVehicle( g_businessCarModelData[ business_car ] [ E_MODEL ], nodeX, nodeY, nodeZ, rotation, 3, 3, -1 ); - if ( g_businessVehicle[ businessid ] ) { + if ( g_businessCarModelData[ business_car ] [ E_OBJECT_MODEL ] != 0 ) { + g_businessData[ businessid ] [ E_VEHICLE_DECOR ] = CreateDynamicObject( g_businessCarModelData[ business_car ] [ E_OBJECT_MODEL ], 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ); + AttachDynamicObjectToVehicle( g_businessData[ businessid ] [ E_VEHICLE_DECOR ], g_businessVehicle[ businessid ], g_businessCarModelData[ business_car ] [ E_O_X ], g_businessCarModelData[ business_car ] [ E_O_Y ], g_businessCarModelData[ business_car ] [ E_O_Z ], g_businessCarModelData[ business_car ] [ E_O_RX ], g_businessCarModelData[ business_car ] [ E_O_RY ], g_businessCarModelData[ business_car ] [ E_O_RZ ] ); + } + else g_businessData[ businessid ] [ E_VEHICLE_DECOR ] = INVALID_OBJECT_ID; + + // just incase of index bug + if ( g_businessVehicle[ businessid ] ) + { g_isBusinessVehicle[ g_businessVehicle[ businessid ] ] = businessid; + + // add nos + if ( g_businessData[ businessid ] [ E_CAR_NOS ] ) { + AddVehicleComponent( g_businessVehicle[ businessid ], 1010 ); + } + + // gold rim + if ( g_businessData[ businessid ] [ E_CAR_RIMS ] ) { + AddVehicleComponent( g_businessVehicle[ businessid ], 1080 ); + } + + if ( g_businessCarModelData[ business_car ] [ E_BOOT_OPEN ] ) { + GetVehicleParamsEx( g_businessVehicle[ businessid ], engine, lights, alarm, doors, bonnet, boot, objective ); + SetVehicleParamsEx( g_businessVehicle[ businessid ], engine, lights, alarm, doors, bonnet, VEHICLE_PARAMS_ON, objective ); + } } // create new drop locations @@ -37744,9 +38121,11 @@ stock SetRandomDropoffLocation( playerid, businessid, bool: heli = false ) { // create the heli new - random_index = random( sizeof( g_helicopterSpawns[ ] ) ); + business_heli = GetBusinessAirModelIndex( g_businessData[ businessid ] [ E_HELI_MODEL_ID ] ), + random_index = random( sizeof( g_helicopterSpawns[ ] ) ) + ; - g_businessVehicle[ businessid ] = CreateVehicle( 417, g_helicopterSpawns[ city_id ] [ random_index ] [ 0 ], g_helicopterSpawns[ city_id ] [ random_index ] [ 1 ], g_helicopterSpawns[ city_id ] [ random_index ] [ 2 ], g_helicopterSpawns[ city_id ] [ random_index ] [ 3 ], -1, -1, -1 ); + g_businessVehicle[ businessid ] = CreateVehicle( g_businessAirModelData[ business_heli ] [ E_MODEL ], g_helicopterSpawns[ city_id ] [ random_index ] [ 0 ], g_helicopterSpawns[ city_id ] [ random_index ] [ 1 ], g_helicopterSpawns[ city_id ] [ random_index ] [ 2 ], g_helicopterSpawns[ city_id ] [ random_index ] [ 3 ], -1, -1, -1 ); if ( g_businessVehicle[ businessid ] ) { g_isBusinessVehicle[ g_businessVehicle[ businessid ] ] = businessid; @@ -37798,7 +38177,7 @@ stock StopBusinessExportMission( businessid ) g_isBusinessVehicle[ vehicleid ] = -1; // slap the player in the heli high and stop the mission - foreach (new playerid : Player) if ( IsPlayerInVehicle( playerid, vehicleid ) && IsBusinessAerialVehicle( modelid ) ) { + foreach (new playerid : Player) if ( IsPlayerInVehicle( playerid, vehicleid ) && IsBusinessAerialVehicle( businessid, modelid ) ) { SyncObject( playerid, 0.0, 0.0, 250.0 ); GivePlayerWeapon( playerid, 46, 1 ); } @@ -37960,3 +38339,25 @@ stock DCC_SendUserMessage( DCC_User: user, const message[ ] ) return DCC_SendChannelMessage( discordSpamChan, szBigString ); } #endif + +stock GetBusinessCarModelIndex( modelid ) { + new + index = 0; + + for( new i = 0; i < sizeof( g_businessCarModelData ); i ++ ) if ( g_businessCarModelData[ i ] [ E_MODEL ] == modelid ) { + index = i; + break; + } + return index; +} + +stock GetBusinessAirModelIndex( modelid ) { + new + index = 0; + + for( new i = 0; i < sizeof( g_businessAirModelData ); i ++ ) if ( g_businessAirModelData[ i ] [ E_MODEL ] == modelid ) { + index = i; + break; + } + return index; +} diff --git a/pawno/include/sf-cnr.inc b/pawno/include/sf-cnr.inc index 8d6aa74..5cf8970 100644 --- a/pawno/include/sf-cnr.inc +++ b/pawno/include/sf-cnr.inc @@ -23,6 +23,84 @@ stock g_szSprintfBuffer[1024]; new tmpVariable; +// Actors +enum E_ACTOR_DATA +{ + E_SKIN, Float: E_X, Float: E_Y, Float: E_Z, Float: E_RZ, + E_ANIM_LIB[ 32 ], E_ANIM_NAME[ 32 ], E_WORLD +}; + +new + g_actorData[ ] [ E_ACTOR_DATA ] = + { + // SF Bank + // Guards + { 71, -1440.9655, 835.5352, 984.7126, 269.2035, "COP_AMBIENT", "Coplook_loop", 23 }, + { 71, -1440.9685, 826.6669, 984.7126, 265.4997, "COP_AMBIENT", "Coplook_loop", 23 }, + { 71, -1424.5790, 851.7675, 984.7126, 180.9785, "COP_AMBIENT", "Coplook_loop", 23 }, + { 71, -1401.6161, 851.1558, 984.7126, 127.2859, "COP_AMBIENT", "Coplook_loop", 23 }, + { 71, -1416.0955, 809.6740, 984.7126, 354.1741, "COP_AMBIENT", "Coplook_loop", 23 }, + { 141, -1431.4342, 863.4650, 984.7126, 181.0019, "PED", "null", 23 }, + { 17, -1430.0829, 863.4651, 984.7126, 181.3152, "PED", "null", 23 }, + { 187, -1435.4611, 863.4647, 984.7126, 180.3752, "PED", "null", 23 }, + { 148, -1436.8112, 863.4647, 984.7126, 180.3752, "PED", "null", 23 }, + { 150, -1442.2074, 863.4650, 984.7126, 180.0619, "PED", "null", 23 }, + { 212, -1443.6598, 821.4652, 984.7126, 91.59120, "PED", "phone_talk", 23 }, + { 223, -1443.6616, 815.0886, 984.7126, 89.08450, "PED", "phone_talk", 23 }, + { 147, -1428.3524, 801.6654, 985.6592, 305.9136, "BEACH", "bather", 23 }, + + // SF-PD + { 300, -1701.1313, 688.9130, 24.890, 82.99340, "COP_AMBIENT", "Coplook_loop", 0 }, + { 301, -1617.1761, 685.5781, 7.1875, 91.40680, "COP_AMBIENT", "Coplook_loop", 0 }, + { 307, -1572.4314, 657.5108, 7.1875, 269.4698, "COP_AMBIENT", "Coplook_loop", 0 }, + + // Supa Save + { 211, -2405.9412, 767.1729, 1056.7056, 181.1096, "PED", "null", 1 }, + { 217, -2401.9216, 767.1737, 1056.7056, 180.4829, "PED", "null", 1 }, + { 211, -2397.9246, 767.1732, 1056.7056, 179.5429, "PED", "null", 1 }, + { 217, -2393.9060, 767.1729, 1056.7056, 177.6629, "PED", "null", 1 }, + { 211, -2389.9084, 767.1729, 1056.7056, 179.2296, "PED", "null", 1 }, + { 217, -2432.8936, 767.1730, 1056.7056, 179.2296, "PED", "null", 1 }, + { 211, -2436.9250, 767.1729, 1056.7056, 180.1696, "PED", "null", 1 }, + { 217, -2440.9246, 767.1728, 1056.7056, 181.1096, "PED", "null", 1 }, + { 211, -2444.9470, 767.1730, 1056.7056, 179.8563, "PED", "null", 1 }, + { 217, -2448.9636, 767.1729, 1056.7056, 179.8563, "PED", "null", 1 }, + + // Jizzy's + { 256, -2654.1667, 1410.6729, 907.3886, 181.1924, "STRIP", "strip_A", 18 }, + { 257, -2671.1641, 1410.0186, 907.5703, 2.927600, "STRIP", "strip_C", 18 }, + { 87, -2675.1821, 1410.0433, 907.5703, 29.1581, "STRIP", "strip_b", 18 }, + { 244, -2677.6951, 1413.1705, 907.5763, 238.443, "STRIP", "strip_F", 18 }, + { 246, -2676.9360, 1408.1617, 907.5703, 93.0787, "STRIP", "strip_D", 18 }, + { 256, -2676.9358, 1404.9027, 907.5703, 84.9319, "STRIP", "strip_E", 18 }, + { 87, -2677.1584, 1416.1370, 907.5712, 134.102, "STRIP", "strip_G", 18 }, + { 244, -2670.4622, 1427.9211, 907.3604, 86.9676, "STRIP", "strip_E", 18 }, + { 258, -2671.5706, 1413.3748, 906.4609, 193.0993, "RIOT", "RIOT_shout", 18 }, + { 259, -2668.7529, 1413.0908, 906.4609, 137.5257, "RIOT", "RIOT_shout", 18 }, + { 296, -2675.0781, 1429.7128, 906.4609, 226.2898, "BLOWJOBZ", "BJ_STAND_LOOP_P", 18 }, + { 244, -2674.5938, 1429.1975, 906.4609, 48.86200, "BLOWJOBZ", "BJ_STAND_LOOP_W", 18 }, + { 24, -2675.8835, 1427.9740, 906.9243, 180.2610, "BEACH", "bather", 18 }, + { 221, -2656.4712, 1413.2327, 906.2734, 232.1765, "PAULNMAC", "wank_loop", 18 }, + + // Hobo + { 137, -1519.9003, 678.79800, 7.459900, 14.7968, "BEACH", "ParkSit_M_loop", 0 }, + + // Casinos + { 11, 2229.9373, 1620.7489, 1006.1771, 180.2492, "PED", "null", 82 }, + { 172, 2231.1843, 1613.5005, 1006.1860, 4.177600, "PED", "null", 82 }, + { 11, 2229.9492, 1595.8494, 1006.1850, 181.8158, "PED", "null", 82 }, + { 11, 2231.1948, 1588.0958, 1006.1812, 2.297500, "PED", "null", 82 }, + { 172, 2243.0002, 1588.0959, 1006.1812, 357.9109, "PED", "null", 82 }, + { 11, 2241.7341, 1595.8494, 1006.1850, 180.5860, "PED", "null", 82 }, + { 172, 2242.0784, 1613.4631, 1006.1797, 353.8611, "PED", "null", 82 }, + { 172, 2240.8123, 1620.7012, 1006.1772, 178.7061, "PED", "null", 82 }, + { 172, 1964.8026, 1026.3284, 992.4688, 88.1672, "PED", "null", 23 }, + { 11, 1960.4900, 1026.3281, 992.4688, 90.0472, "PED", "null", 23 }, + { 172, 1960.4900, 1010.7502, 992.4688, 82.8407, "PED", "null", 23 }, + { 11, 1964.8025, 1010.7502, 992.4688, 85.3708, "PED", "null", 23 } + } +; + /* ** CLOSED ** */ #define MAX_ZONE_NAME 28 enum SAZONE_MAIN { @@ -545,6 +623,7 @@ stock Float: floatrandom( Float:max ) return floatmul( floatdiv( float( random( cellmax ) ), float( cellmax - 1 ) ), max ); + stock initializePlayerInteriors( playerid ) { //Katie - 271.884979,306.631988,999.148437 - DEFAULT - 2 @@ -17394,7 +17473,6 @@ stock initializeObjects( ) SetDynamicObjectMaterial( CreateDynamicObject( 18766, -1860.528564, 1308.581176, 11.340617, 0.000000, 90.000000, 109.999191 ), 0, 5708, "hospital_lawn", "rock1b_128", -16 ); SetDynamicObjectMaterial( CreateDynamicObject( 18766, -1859.118408, 1304.710571, 13.300620, 0.000000, 0.000000, 109.999191 ), 0, 5708, "hospital_lawn", "rock1b_128", -16 ); SetDynamicObjectMaterial( CreateDynamicObject( 18766, -1860.528564, 1308.581176, 1.440613, 0.000000, 90.000000, 109.999191 ), 0, 5708, "hospital_lawn", "rock1b_128", -16 ); - SetDynamicObjectMaterial( CreateDynamicObject( 18981, -1812.660644, 1328.389282, 113.372619, 0.000000, 90.000000, -74.499977 ), 0, 11631, "mp_ranchcut", "CJ_SLATEDWOOD", 0 ); SetDynamicObjectMaterial( CreateDynamicObject( 18981, -1847.270751, 1307.196289, 16.658638, 0.000000, 90.000000, -69.900039 ), 0, 11631, "mp_ranchcut", "CJ_SLATEDWOOD", 0 ); SetDynamicObjectMaterial( CreateDynamicObject( 18981, -1832.402099, 1313.180175, 16.660638, 0.000000, 90.000000, -66.900085 ), 0, 11631, "mp_ranchcut", "CJ_SLATEDWOOD", 0 ); SetDynamicObjectMaterial( CreateDynamicObject( 18980, -1822.264282, 1318.708984, 13.358613, 0.000000, 90.000000, -43.700111 ), 0, 11631, "mp_ranchcut", "CJ_SLATEDWOOD", 0 ); @@ -22954,6 +23032,778 @@ stock initializeServerObjects( ) CreateDynamicObject( 1271, -1732.393554, -1365.696777, 5873.463378, 0.000000, 0.000000, 0.000000 ); CreateDynamicObject( 944, -1729.667968, -1363.283569, 5873.968750, 0.000000, 0.000000, 0.000000 ); CreateDynamicObject( 930, -1731.548217, -1363.979003, 5873.600585, 0.000000, 0.000000, 69.200035 ); + + // Weapon gun bunker + SetDynamicObjectMaterialText( CreateDynamicObject( 19353, -4305.9262, 209.6382, 1302.3594, 0.0000, -89.9000, 179.7657 ), 0, "PARKING", 130, "Arial", 100, 1, -1, 0, 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.178710, 201.783401, 1305.523681, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.178710, 201.783401, 1311.772705, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.178710, 208.031402, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.178710, 214.279403, 1305.523681, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.178710, 214.279403, 1311.772705, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.178710, 220.527404, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.178710, 208.031402, 1311.772705, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.178710, 220.527404, 1311.772705, 180.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.410644, 204.831390, 1305.673339, 10.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.325195, 207.901336, 1305.485473, 0.000000, -80.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.406250, 210.971389, 1305.671508, 10.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4321.334472, 210.971389, 1311.729980, 10.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4318.240234, 207.901336, 1311.622680, 0.000000, -80.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4321.345703, 204.831390, 1311.731689, 10.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.869140, 219.381317, 1305.561401, 0.000000, -84.499931, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.270507, 219.381317, 1311.772949, 0.000000, -84.499931, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.345703, 216.311462, 1311.794677, 5.500008, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.940429, 216.311462, 1305.642944, 5.500008, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.940429, 222.451370, 1305.642944, 5.500008, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.348632, 222.451370, 1311.804687, 5.500008, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.168945, 225.613479, 1305.523681, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.168945, 225.613479, 1311.771728, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.168945, 231.861480, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.168945, 238.109481, 1305.523681, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.168945, 238.109481, 1311.771728, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.168945, 231.861480, 1311.771728, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.238281, 233.749481, 1305.523681, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.300781, 230.669616, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.300781, 236.819625, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.300781, 236.819625, 1311.771728, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4322.300781, 230.669616, 1311.771728, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.238281, 233.749481, 1311.771728, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4310.728027, 199.164337, 1303.433837, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4319.728027, 237.374298, 1303.433837, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4319.667968, 237.374496, 1303.433837, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4319.728027, 230.174407, 1303.433837, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4319.686035, 230.176406, 1303.433837, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4319.728027, 199.164337, 1303.433837, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4299.186523, 201.194305, 1303.433837, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.876464, 202.527481, 1305.523681, 0.000000, 90.000000, 178.500137 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 208.707504, 1305.523681, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 214.955505, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 221.203506, 1305.523681, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 227.451507, 1305.523681, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 233.699508, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 233.699508, 1311.771728, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 227.451507, 1311.771728, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 221.203506, 1311.771728, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 214.955505, 1311.771728, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 208.707504, 1311.771728, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.876464, 202.527481, 1311.771728, 0.000000, 90.000000, 178.500137 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4295.716796, 236.769470, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4296.321289, 239.296203, 1308.542358, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4291.502929, 239.296203, 1308.476318, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4286.770996, 239.296203, 1308.403320, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4281.901367, 239.296203, 1308.330810, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4289.468750, 236.769470, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4283.220703, 236.769668, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4295.716796, 241.819427, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4289.468750, 241.829421, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4283.220703, 241.829421, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4296.321289, 239.296203, 1308.792358, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4296.321289, 239.296203, 1309.042358, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4296.321289, 239.296203, 1309.292358, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4296.321289, 239.296203, 1309.542358, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4296.321289, 239.296203, 1309.792358, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.786132, 239.919494, 1312.621582, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4301.964843, 241.829421, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4308.156250, 242.337310, 1305.523681, 0.000000, 90.000000, 80.500038 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4308.164550, 242.227706, 1305.523681, 0.000000, 90.000000, 85.099960 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4311.115234, 242.377487, 1305.523681, 0.000000, 90.000000, 90.199890 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19699, -4308.978027, 196.953216, 1305.153686, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19699, -4299.124023, 198.670669, 1305.283447, 0.000000, 90.000000, 12.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.219238, 196.277404, 1309.213867, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.219238, 191.317321, 1309.213867, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.219238, 186.327453, 1309.213867, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.288085, 195.653457, 1305.493652, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4311.167968, 195.653457, 1305.493652, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4311.167968, 189.423339, 1305.493652, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4311.167968, 183.183425, 1305.493652, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.288085, 189.423370, 1305.493652, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.288085, 183.193481, 1305.493652, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.219238, 181.347534, 1309.213867, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.219238, 196.277404, 1309.343750, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.219238, 196.277404, 1309.473876, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.219238, 196.277404, 1309.603759, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.219238, 196.277404, 1309.733886, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.219238, 196.277404, 1309.863769, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.385742, 198.723754, 1312.893554, 0.000000, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4314.160156, 198.723754, 1312.893554, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4321.516601, 198.713760, 1312.133544, 0.000000, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4312.817382, 198.713760, 1313.007568, -22.399999, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4308.164550, 242.227706, 1311.771728, 0.000000, 90.000000, 85.099960 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4311.115234, 242.377487, 1311.771728, 0.000000, 90.000000, 90.199890 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4301.964843, 241.819427, 1311.771728, 0.000000, 90.000000, 88.099983 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4299.342285, 241.839416, 1308.433593, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4321.063476, 251.367858, 1304.867919, 0.000000, 90.000000, -159.000015 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.168945, 244.357482, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.168945, 244.357482, 1311.771728, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4321.063476, 251.367858, 1309.805908, 0.000000, 90.000000, -159.000015 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4319.631835, 255.680572, 1304.867919, 0.000000, 90.000000, -31.200054 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4314.218750, 259.227416, 1305.523681, 0.000000, 90.000000, 98.799980 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4311.189453, 259.445556, 1305.523681, 0.000000, 90.000000, 92.900039 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4306.685546, 259.303314, 1305.523681, 0.000000, 90.000000, 85.900047 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4303.387207, 257.724761, 1304.857910, 0.000000, 90.000000, 54.899929 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4300.290527, 253.273422, 1304.857910, 0.000000, 90.000000, 1.099949 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4296.527343, 249.239227, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4297.190429, 246.706085, 1308.480468, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4296.527343, 244.169342, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4302.744140, 243.954406, 1305.523681, 0.000000, 90.000000, 94.099937 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4308.917968, 243.225646, 1305.523681, 0.000000, 90.000000, 99.499855 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4311.062500, 242.876251, 1305.523681, 0.000000, 90.000000, 99.499855 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4290.279296, 249.239227, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4284.031250, 249.239227, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4290.279296, 244.169342, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4284.031250, 244.169342, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4292.483398, 246.706085, 1308.416748, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4287.513671, 246.706085, 1308.321655, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4282.732421, 246.706085, 1308.252807, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4319.631835, 255.680572, 1309.826049, 0.000000, 90.000000, -31.200054 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4300.290527, 253.273422, 1309.777954, 0.000000, 90.000000, 1.099949 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4303.387207, 257.724761, 1309.837890, 0.000000, 90.000000, 54.899929 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19699, -4311.695312, 243.765121, 1305.153686, 0.000000, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19699, -4311.687988, 241.427139, 1305.153686, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19645, -4297.388671, 210.998046, 1309.968017, 21.399990, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19645, -4297.388671, 235.968154, 1309.968017, 21.399990, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19645, -4298.336914, 252.998168, 1307.558105, 21.399990, -160.399856, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4302.744140, 243.954406, 1311.771728, 0.000000, 90.000000, 94.099937 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4308.917968, 243.225646, 1311.771728, 0.000000, 90.000000, 99.499855 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4296.527343, 244.169342, 1311.771728, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4297.190429, 246.706085, 1308.710449, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4297.190429, 246.706085, 1308.940429, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4297.190429, 246.706085, 1309.170532, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4297.190429, 246.706085, 1309.400512, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4297.190429, 246.706085, 1309.630493, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4297.190429, 246.706085, 1309.860595, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4297.190429, 246.706085, 1310.090576, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4297.190429, 246.706085, 1310.320556, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4277.793945, 243.940765, 1305.523681, 0.000000, 90.000000, 85.799957 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4276.984375, 242.073669, 1305.523681, 0.000000, 90.000000, 94.499931 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4271.605468, 243.225982, 1305.523681, 0.000000, 90.000000, 81.000030 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4271.618164, 242.494720, 1305.523681, 0.000000, 90.000000, 94.499931 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4277.343750, 239.474929, 1308.257324, 0.000000, 175.899765, 4.399998 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4272.519531, 239.846359, 1308.183105, 0.000000, 175.899765, 4.399998 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4278.123046, 246.510223, 1308.203369, 0.000000, 175.899765, -4.099997 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4277.059570, 246.433807, 1307.848999, 0.000000, 175.899765, -4.099997 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4272.545898, 245.884933, 1307.794677, 0.000000, 175.899765, -10.300004 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4270.607421, 245.820007, 1307.807250, -7.099995, 175.899780, -10.300004 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4270.825195, 248.154541, 1305.523681, 0.000000, 90.000000, 81.000030 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4277.932128, 249.044616, 1305.523681, 0.000000, 90.000000, 85.799957 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4276.300781, 248.925231, 1305.523681, 0.000000, 90.000000, 83.099998 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4277.330078, 236.991271, 1305.523681, 0.000000, 90.000000, 94.499931 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4272.792968, 237.347122, 1305.523681, 0.000000, 90.000000, 94.499931 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4266.143554, 247.403228, 1305.523681, 0.000000, 90.000000, 81.000030 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4264.181640, 245.803222, 1305.553710, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4261.114746, 242.714675, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4267.364257, 237.773513, 1305.523681, 0.000000, 90.000000, 94.499931 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4261.139648, 238.023468, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4264.582519, 245.981628, 1305.523681, 0.000000, 90.000000, 15.599999 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4264.591796, 246.045562, 1305.523681, 0.000000, 90.000000, 37.800003 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4266.708007, 245.706100, 1307.665405, -7.099995, 175.899780, 4.499989 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4267.719238, 240.136337, 1308.106079, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4262.878906, 240.186370, 1308.001831, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4258.009765, 240.186370, 1307.919677, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4254.912109, 238.031112, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4254.896484, 242.713378, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4248.665039, 238.023468, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4248.665039, 242.713455, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4264.181640, 245.803222, 1311.801635, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4253.341796, 240.186370, 1307.843505, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4248.561523, 240.186370, 1307.774414, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + CreateDynamicObject( 19718, -4296.082031, 239.301025, 1307.907958, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 19718, -4280.082031, 239.301025, 1307.757812, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 19718, -4264.082031, 240.200912, 1307.348022, 0.000000, 0.000000, -2.900000 ); + CreateDynamicObject( 19718, -4253.022460, 240.231948, 1307.187988, 0.000000, 0.000000, -2.900000 ); + CreateDynamicObject( 19718, -4297.023437, 246.691116, 1307.907958, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 19718, -4281.023437, 246.691116, 1307.647705, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 19718, -4268.359863, 245.206649, 1307.287963, 0.000000, 0.000000, -19.200000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18765, -4239.658691, 205.864578, 1300.776000, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18766, -4245.789550, 208.198165, 1300.773925, 0.000000, 0.000000, 71.500022 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4245.594726, 234.953491, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4241.973632, 234.953491, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4238.903320, 238.023468, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4232.708007, 237.598876, 1305.523681, 0.000000, 90.000000, 82.099983 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4242.416992, 242.713455, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4236.168945, 242.713455, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.920898, 242.713455, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.672851, 242.713455, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.592773, 242.376464, 1305.523681, 0.000000, 90.000000, 81.700035 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.582031, 242.404449, 1305.523681, 0.000000, 90.000000, 68.900016 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.344238, 242.622192, 1305.523681, 0.000000, 90.000000, 58.599967 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4221.102539, 238.152160, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4226.970703, 231.482177, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19699, -4228.268554, 234.537216, 1305.153686, 0.000000, 90.000000, 180.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4243.790527, 240.186370, 1307.694824, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4238.953125, 240.186370, 1307.630371, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19719, -4234.064453, 240.186370, 1307.569335, 0.000000, 175.899765, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4228.519531, 240.213577, 1306.233642, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4222.274414, 240.213272, 1306.233642, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4231.592773, 240.213577, 1309.303710, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4220.529785, 231.958480, 1305.523681, 0.000000, 90.000000, 10.600003 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4226.957031, 228.304519, 1303.433837, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4226.972656, 226.338790, 1302.883789, 0.000000, 90.000000, 10.600003 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4225.548828, 218.730773, 1305.523681, 0.000000, 90.000000, 10.600003 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.901367, 216.191970, 1305.523681, 0.000000, 90.000000, 93.399986 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4218.476074, 218.524627, 1305.523681, 0.000000, 90.000000, -83.499931 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4212.264648, 218.884506, 1305.523681, 0.000000, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4216.884277, 228.934478, 1305.523681, 0.000000, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4209.993164, 231.364501, 1305.523681, 0.000000, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4212.951171, 231.892639, 1305.523681, 0.000000, 90.000000, -16.200000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4221.527343, 215.102890, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + CreateDynamicObject( 1491, -4226.110839, 221.786331, 1302.397705, 0.000000, 0.000000, 100.799995 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4225.826660, 220.205245, 1308.013671, 0.000000, 90.000000, 10.600003 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4226.894531, 235.142593, 1306.587768, 0.000000, 0.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4221.912109, 235.142593, 1306.587768, 0.000000, 0.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4224.306152, 228.013275, 1307.203613, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4224.306152, 221.773330, 1307.203613, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4224.306152, 215.543380, 1307.203613, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4218.063476, 228.013153, 1307.203613, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4218.063476, 221.773223, 1307.203613, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4218.063476, 215.533248, 1307.203613, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4212.302246, 221.983276, 1307.205566, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4212.302246, 228.223297, 1307.205566, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4203.842285, 231.998840, 1305.523681, 0.000000, 90.000000, 101.699958 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4199.146484, 232.738372, 1305.523681, 0.000000, 90.000000, 96.900024 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4195.186523, 232.858291, 1305.523681, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4192.103515, 229.718231, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4192.103515, 223.470230, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4192.103515, 217.222229, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4192.103515, 210.974227, 1305.523681, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4206.016601, 218.884506, 1305.523681, 0.000000, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4199.768554, 218.884506, 1305.523681, 0.000000, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4193.520507, 218.884506, 1305.523681, 0.000000, 90.000000, -90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4206.063964, 228.223297, 1307.205566, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4199.822265, 228.223297, 1307.205566, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4193.588867, 228.223297, 1307.205566, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4206.061523, 221.983276, 1307.205566, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4199.813476, 221.983276, 1307.205566, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4193.565429, 221.983276, 1307.205566, 0.000000, 0.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + CreateDynamicObject( 18764, -4243.969726, 234.829269, 1299.574829, 9.100001, 0.000000, 0.000000 ); + CreateDynamicObject( 18764, -4243.969726, 229.912231, 1298.786865, 9.100001, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4245.594726, 234.953491, 1299.275634, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4241.973632, 234.953491, 1299.275634, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4239.195312, 230.517959, 1304.713378, 0.000000, 90.000000, 64.100006 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4235.148925, 226.377380, 1304.713378, 0.000000, 90.000000, 25.200006 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4233.333984, 220.828659, 1304.713378, 0.000000, 90.000000, 11.600002 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4232.713867, 212.418869, 1304.713378, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4233.983886, 208.117477, 1304.713378, 0.000000, 90.000000, -44.100028 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4238.849609, 205.208343, 1304.713378, 0.000000, 90.000000, -73.300079 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4244.418945, 204.428512, 1304.713378, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4249.776367, 205.089599, 1304.713378, 0.000000, 90.000000, 75.300155 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4252.666015, 206.670639, 1304.713378, 0.000000, 90.000000, 46.900150 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4254.317871, 211.170654, 1304.713378, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4254.317871, 223.190643, 1304.713378, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4253.928710, 225.666122, 1304.713378, 0.000000, 90.000000, -17.200004 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4252.182617, 229.332092, 1304.713378, 0.000000, 90.000000, -44.199996 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4248.596679, 231.193679, 1304.713378, 0.000000, 90.000000, -77.300033 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + CreateDynamicObject( 14394, -4240.776367, 211.669631, 1302.428100, 0.000000, 0.000000, -90.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18765, -4235.714843, 207.784622, 1300.773925, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18765, -4241.600585, 204.509262, 1300.765991, 0.000000, 0.000000, -18.299978 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4254.757324, 211.218322, 1304.713378, 0.000000, 90.000000, -7.499998 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4255.167968, 204.998504, 1304.713378, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4255.448242, 199.912338, 1304.713378, 0.000000, 90.000000, -5.399997 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4257.007812, 194.850311, 1304.713378, 0.000000, 90.000000, -25.200016 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4260.236328, 191.771530, 1304.713378, 0.000000, 90.000000, -67.099998 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4264.586914, 191.291549, 1304.713378, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4269.774414, 191.545715, 1304.713378, 0.000000, 90.000000, 85.100021 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4276.000976, 191.637557, 1304.713378, 0.000000, 90.000000, 93.299957 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4282.143066, 190.762527, 1304.713378, 0.000000, 90.000000, 103.100059 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4288.004882, 188.771194, 1304.713378, 0.000000, 90.000000, 114.600082 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4290.129394, 188.719192, 1304.713378, 0.000000, 94.199996, 91.400085 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4294.759765, 189.292633, 1304.755859, 0.000000, 90.000000, 74.200065 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 208.951934, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 215.199935, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 221.447937, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 227.695938, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 233.943939, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4231.421875, 225.401535, 1304.535400, 0.000000, 90.000000, 128.099914 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.587402, 226.831192, 1304.535400, 0.000000, 90.000000, 128.099914 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.670410, 215.921386, 1304.535400, 0.000000, 90.000000, 97.999855 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.518066, 216.785583, 1304.535400, 0.000000, 90.000000, 97.999855 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.649902, 216.785583, 1307.207397, 0.000000, 0.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.649902, 223.005767, 1307.207397, 0.000000, 0.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.649902, 229.235610, 1307.207397, 0.000000, 0.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4230.448730, 222.216552, 1307.213256, 0.000000, 0.000000, 11.699989 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 240.191940, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 246.439941, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19071, -4224.373046, 210.839996, 1308.153808, 0.000000, 0.000000, 90.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4243.663574, 234.627090, 1306.870239, -9.699995, 0.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 252.687942, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4294.222167, 197.104263, 1304.684082, 0.000000, 90.000000, 103.899993 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4288.798828, 198.111755, 1304.684082, 0.000000, 90.000000, 97.000030 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4282.624511, 198.954483, 1304.684082, 0.000000, 90.000000, 98.600036 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4276.499023, 199.991287, 1304.684082, 0.000000, 90.000000, 100.800033 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4273.472167, 203.631271, 1304.684082, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4273.203125, 209.380325, 1304.684082, 0.000000, 90.000000, -5.199995 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4271.700195, 214.748092, 1304.684082, 0.000000, 90.000000, -26.700014 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4268.614746, 218.583709, 1304.684082, 0.000000, 90.000000, -47.500011 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4263.528320, 221.174087, 1304.684082, 0.000000, 90.000000, 102.699935 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4257.481445, 221.824066, 1304.684082, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19071, -4268.791015, 206.730575, 1308.161010, 0.000000, 0.000000, 90.000000 ), 0, 5703, "roads_lawn", "floor_tileone_256", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4308.576660, 191.721130, 1304.684082, 0.000000, 90.000000, -165.800003 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4306.916015, 190.510772, 1304.684082, 0.000000, 90.000000, -109.700103 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4300.843261, 189.978271, 1304.684082, 0.000000, 90.000000, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4307.077148, 189.651748, 1304.684082, 0.000000, 90.000000, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 258.935943, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4323.295898, 252.687942, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4301.021972, 193.343124, 1307.214843, 0.000000, 0.000000, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4307.234863, 193.017044, 1307.214843, 0.000000, 0.000000, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4303.556152, 193.210769, 1307.212890, 0.000000, 0.000000, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4303.556152, 186.962768, 1307.212890, 0.000000, 0.000000, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4307.234863, 186.769042, 1307.214843, 0.000000, 0.000000, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4300.694824, 187.112396, 1307.214843, 0.000000, 0.000000, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4306.365722, 197.746856, 1309.873779, 0.000000, 59.200016, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4300.125488, 198.074005, 1309.873779, 0.000000, 59.200016, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4300.651367, 197.943099, 1310.341918, 0.000000, 36.000022, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4306.856445, 197.618148, 1310.341918, 0.000000, 36.000022, -87.000160 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4316.188476, 170.436859, 1305.493652, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4309.949218, 170.437118, 1305.493652, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4316.188476, 170.427429, 1310.951293, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4309.949218, 170.427124, 1311.741699, 0.000000, 90.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4254.320800, 217.274169, 1308.594726, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4254.311035, 217.274169, 1308.584716, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1319, -4301.452636, 199.250930, 1302.911499, 0.000000, 0.000000, 0.000000 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1319, -4304.098144, 198.390670, 1302.791381, 0.000000, 0.000000, 17.899990 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1319, -4306.982910, 197.459243, 1302.591186, 0.000000, 0.000000, 17.899990 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + CreateDynamicObject( 1448, -4318.902832, 206.629577, 1302.511718, 0.000000, 0.000000, 26.299997 ); + CreateDynamicObject( 1448, -4318.921875, 208.059387, 1302.511718, 0.000000, 0.000000, 86.100097 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18763, -4319.508300, 207.307388, 1300.110839, 0.000000, 0.000000, 0.000000 ), 0, 5168, "lashops6_las2", "yellow2_128", 1 ); + CreateDynamicObject( 2060, -4319.507324, 210.371307, 1302.481689, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 2060, -4319.507324, 210.371307, 1302.751708, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 2060, -4319.507324, 210.371307, 1303.021728, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 2060, -4319.159179, 209.386032, 1302.481689, 0.000000, 0.000000, 65.899986 ); + CreateDynamicObject( 2060, -4319.159179, 209.386032, 1302.751708, 0.000000, 0.000000, 65.899986 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19572, -4319.182128, 206.747146, 1302.601806, 0.000000, 0.000000, 10.999999 ), 0, 1279, "craigpackage", "drugs", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19572, -4318.734863, 207.016250, 1302.601806, 0.000000, 0.000000, 40.399997 ), 0, 1279, "craigpackage", "drugs", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19572, -4319.098144, 206.325042, 1302.601806, 0.000000, 0.000000, 25.099998 ), 0, 1279, "craigpackage", "drugs", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19572, -4318.532226, 206.646697, 1302.601806, 0.000000, 0.000000, -55.999996 ), 0, 1279, "craigpackage", "drugs", -16 ); + CreateDynamicObject( 1271, -4318.882812, 208.005569, 1302.902099, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1685, -4318.260742, 211.433639, 1303.152343, 0.000000, 0.000000, 29.500001 ); + CreateDynamicObject( 1458, -4319.257324, 214.753326, 1302.521484, 3.699999, 0.000000, -167.600006 ); + CreateDynamicObject( 923, -4319.459472, 218.026657, 1303.322509, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 943, -4319.536621, 224.493377, 1303.172363, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18766, -4319.674804, 228.103820, 1298.209960, 0.000000, 90.000000, 90.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18766, -4319.689941, 230.095962, 1298.776855, 0.000000, 68.700012, 90.599990 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4319.670410, 229.653182, 1303.442626, 0.000000, 0.000000, 0.000000 ), 0, 8397, "luxorpillar1", "plaintarmac1", -16 ); + CreateDynamicObject( 18748, -4319.536621, 224.493377, 1301.811035, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2774, -4304.311523, 230.091629, 1314.160766, 0.000000, 0.000000, 0.000000 ), 1, 8397, "luxorpillar1", "plaintarmac1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4304.024902, 220.024276, 1301.916992, 0.000000, 0.000000, 90.000000 ), 0, 11390, "hubint2", "ws_greymetal_small", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4303.826171, 229.650741, 1302.528930, 0.000000, 90.000000, 180.000000 ), 0, 6291, "law2_roadsb", "sm_conc_hatch", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4303.824218, 220.652740, 1302.530883, 0.000000, 90.000000, 180.000000 ), 0, 6291, "law2_roadsb", "sm_conc_hatch", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4303.804199, 220.682723, 1302.540893, 0.000000, 90.000000, 180.000000 ), 0, 4653, "lan2freeway", "concroadslab_256", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4303.804199, 229.642654, 1302.542846, 0.000000, 90.000000, 180.000000 ), 0, 4653, "lan2freeway", "concroadslab_256", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4304.024902, 221.024276, 1301.916992, 0.000000, 0.000000, 90.000000 ), 0, 11390, "hubint2", "ws_greymetal_small", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4304.034667, 223.224288, 1302.877563, 0.000000, 90.000000, 90.000000 ), 0, 11390, "hubint2", "ws_greymetal_small", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4304.024902, 226.024276, 1301.916992, 0.000000, 0.000000, 90.000000 ), 0, 11390, "hubint2", "ws_greymetal_small", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4304.024902, 225.024276, 1301.916992, 0.000000, 0.000000, 90.000000 ), 0, 11390, "hubint2", "ws_greymetal_small", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2200, -4303.967285, 223.628189, 1303.376586, 0.000000, 0.000000, -90.000000 ), 1, 9908, "smallertxd", "concretenewb256", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2200, -4304.193847, 222.368301, 1303.376586, 0.000000, 0.000000, 90.000000 ), 1, 9908, "smallertxd", "concretenewb256", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.303710, 208.951934, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.303710, 215.199935, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.303710, 240.191940, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.303710, 246.439941, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.303710, 233.943939, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.303710, 252.687942, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4292.070312, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4285.822265, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4292.070312, 246.759857, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4279.574218, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4273.326171, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4267.078125, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 3675, -4305.368652, 220.530456, 1301.215209, 0.000000, 0.000000, -90.000000 ), 0, 9624, "sfe_spray1", "spraypipegz1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 3675, -4302.988769, 225.550460, 1301.215209, 0.000000, 0.000000, 90.000000 ), 0, 9624, "sfe_spray1", "spraypipegz1", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 3675, -4304.017578, 227.200424, 1301.215209, 0.000000, 0.000000, 180.000000 ), 0, 9624, "sfe_spray1", "spraypipegz1", -16 ); + CreateDynamicObject( 927, -4304.524414, 225.369277, 1303.412475, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 19601, -4302.165039, 219.029968, 1303.022460, 0.000000, 0.000000, 39.500000 ); + CreateDynamicObject( 19601, -4303.622070, 217.739074, 1302.844726, -60.000045, -1.699998, -34.500007 ); + CreateDynamicObject( 930, -4318.829101, 205.366546, 1302.922119, 0.000000, 0.000000, 24.000000 ); + CreateDynamicObject( 2975, -4299.770019, 202.673934, 1302.401611, 0.000000, 0.000000, -102.599990 ); + CreateDynamicObject( 2975, -4300.611328, 204.345687, 1302.401611, 0.000000, 0.000000, -51.199985 ); + CreateDynamicObject( 1688, -4318.429687, 233.712585, 1303.442626, 0.000000, 0.000000, 90.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 16770, -4210.895996, 224.576385, 1303.984985, 0.000000, 0.000000, 0.000000 ), 1, 1675, "wshxrefhse", "greygreensubuild_128", -16 ); + CreateDynamicObject( 18885, -4214.895507, 228.485397, 1303.516601, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1775, -4217.139648, 228.425354, 1303.526611, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1776, -4218.507324, 228.425354, 1303.546630, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2115, -4213.919433, 219.499923, 1302.455688, 0.000000, 0.000000, 0.000000 ), 0, 1594, "chairsntable", "wood02", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2115, -4213.919433, 222.879913, 1302.455688, 0.000000, 0.000000, 103.000007 ), 0, 1594, "chairsntable", "wood02", -16 ); + CreateDynamicObject( 19994, -4214.803222, 223.608657, 1302.445312, 0.000000, 0.000000, 67.899986 ); + CreateDynamicObject( 19994, -4214.431640, 222.817398, 1302.445312, 0.000000, 0.000000, 118.799964 ); + CreateDynamicObject( 19994, -4214.409667, 224.616958, 1302.445312, 0.000000, 0.000000, 6.399971 ); + CreateDynamicObject( 19994, -4213.181152, 223.084197, 1302.445312, 0.000000, 0.000000, -129.700027 ); + CreateDynamicObject( 19994, -4213.833007, 220.203613, 1302.445312, 0.000000, 0.000000, 6.399971 ); + CreateDynamicObject( 19994, -4212.998046, 220.125885, 1302.445312, 0.000000, 0.000000, -5.300024 ); + CreateDynamicObject( 2049, -4213.017089, 219.499511, 1303.306396, -90.000000, -90.000000, 66.000015 ); + CreateDynamicObject( 2056, -4214.136230, 219.600463, 1303.286376, -90.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2056, -4213.846679, 219.302459, 1303.286376, -90.000000, 0.000000, -45.200000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4203.377441, 222.185485, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4203.377441, 219.225692, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4203.377441, 225.195434, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4203.377441, 228.195358, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4203.377441, 231.205505, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4197.129394, 231.205505, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4197.129394, 228.195358, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4197.129394, 225.195434, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4197.129394, 219.225692, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4197.129394, 222.185485, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4190.881347, 222.185485, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4190.881347, 219.225692, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4190.881347, 225.195434, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4190.881347, 228.195358, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4190.881347, 231.205505, 1299.325561, 0.000000, 90.000000, 90.000000 ), 0, 16150, "ufo_bar", "GEwhite1_64", -16 ); + CreateDynamicObject( 18762, -4202.110839, 223.591232, 1300.519775, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4198.110839, 223.591232, 1300.819824, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4194.110839, 223.591232, 1301.219726, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4202.110839, 226.731109, 1300.519775, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4202.110839, 220.671401, 1300.519775, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4202.110839, 229.731002, 1300.519775, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4198.110839, 229.731002, 1300.819824, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4198.110839, 220.671401, 1300.819824, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4198.110839, 226.731109, 1300.819824, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4194.110839, 226.731109, 1301.219726, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4194.110839, 220.671401, 1301.219726, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 18762, -4194.110839, 229.731002, 1301.219726, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1584, -4202.149414, 223.580276, 1303.006103, 83.499969, 0.000000, 90.000000 ); + CreateDynamicObject( 1584, -4202.149414, 229.770278, 1303.006103, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 1583, -4202.149414, 226.610244, 1303.006103, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 1584, -4202.149414, 220.650436, 1303.006103, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 1584, -4198.044921, 223.580276, 1303.316406, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 1584, -4198.045410, 220.700347, 1303.326416, 86.400024, 0.000000, 90.000000 ); + CreateDynamicObject( 1584, -4198.044921, 226.740249, 1303.316406, 79.099983, 0.000000, 90.000000 ); + CreateDynamicObject( 1583, -4198.044921, 229.590148, 1303.316406, 2.499941, 0.000000, 90.000000 ); + CreateDynamicObject( 1584, -4194.108398, 223.580276, 1303.686767, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 1583, -4194.108398, 220.540359, 1303.686767, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 1583, -4194.108398, 226.620147, 1303.686767, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 1584, -4194.107421, 229.740234, 1303.736816, 85.900070, 0.000000, 89.900001 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18981, -4208.056640, 225.692291, 1317.326782, 0.000000, 0.000000, 0.000000 ), 0, 1583, "targets", "target4", 1 ); + CreateDynamicObject( 19087, -4226.516601, 223.755615, 1307.658081, 0.000000, 0.000000, 7.899997 ); + CreateDynamicObject( 19087, -4226.781250, 225.484848, 1307.658081, 0.000000, 0.000000, 7.899997 ); + CreateDynamicObject( 19087, -4227.118164, 227.245407, 1307.658081, 0.000000, 0.000000, 7.899997 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19796, -4224.571777, 216.613128, 1304.097167, 0.000000, 0.000000, 98.100105 ), 0, 12959, "sw_library", "alleydoor3", -16 ); + CreateDynamicObject( 3031, -4233.060058, 222.881591, 1302.863037, 0.000000, -20.000003, -31.700016 ); + CreateDynamicObject( 3791, -4229.178222, 225.189041, 1302.906005, 0.000000, 0.000000, 26.700000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18981, -4241.876464, 220.619766, 1301.278686, 0.000000, 90.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 997, -4235.956542, 212.723434, 1303.342529, 0.000000, 0.000000, 0.000000 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 997, -4239.051757, 212.723434, 1303.342529, 0.000000, 0.000000, 0.000000 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 997, -4240.573730, 212.723434, 1303.342529, 0.000000, 0.000000, 0.000000 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 997, -4244.644531, 212.937820, 1303.342529, 0.000000, 0.000000, -108.499969 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 997, -4245.623535, 209.988754, 1303.342529, 0.000000, 0.000000, -108.499969 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 997, -4246.619140, 207.039169, 1303.342529, 0.000000, 0.000000, -108.499969 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 997, -4247.437988, 204.611236, 1303.342529, 0.000000, 0.000000, -108.499969 ), 0, 5168, "lashops6_las2", "yellow2_128", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4233.070800, 215.036407, 1299.939941, 0.000000, 0.000000, 90.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4233.070800, 218.256454, 1299.939941, 0.000000, 0.000000, 90.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 14407, -4234.581054, 216.644973, 1299.252319, 0.000000, 0.000000, 90.000000 ), 0, 3925, "weemap", "steel128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4233.244628, 218.258453, 1299.941894, 0.000000, 0.000000, 90.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4233.244628, 215.028503, 1299.941894, 0.000000, 0.000000, 90.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 258.935943, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4304.551757, 258.935943, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.303710, 258.935943, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 252.687942, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 246.439941, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 240.191940, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 233.943939, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 227.695938, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 221.447937, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + CreateDynamicObject( 19718, -4244.963378, 240.204666, 1307.324218, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 19718, -4236.332031, 240.204666, 1307.144042, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4311.163085, 176.947067, 1305.493652, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4311.163085, 170.707046, 1305.493652, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.279785, 176.947067, 1305.493652, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4319.279785, 170.716903, 1305.493652, 0.000000, 90.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.209472, 176.406829, 1309.215942, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19733, -4315.209472, 171.426788, 1309.215942, 0.000000, 180.000000, 90.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 16134, -4317.745117, 164.135711, 1296.183471, 0.000000, 0.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 16134, -4307.405761, 170.505798, 1296.134033, 0.000000, 0.000000, 0.000000 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 13520, -4270.994628, 68.776390, 1315.670898, 7.099997, 0.000000, 165.500030 ), 0, 16175, "des2vegas_join", "vgs_rockmid1a", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4317.047851, 202.703933, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 215.199935, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 208.951934, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4310.799804, 202.703933, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4304.551757, 202.703933, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4298.303710, 202.703933, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4304.551757, 208.951934, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4304.551757, 215.199935, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4304.551757, 240.191940, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4304.551757, 246.439941, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4304.551757, 233.943939, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4304.551757, 252.687942, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4260.830078, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4254.582031, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4248.333984, 240.021972, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4242.085937, 240.022064, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4235.837890, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.589843, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.341796, 239.752029, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4285.822265, 246.759857, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4279.574218, 246.759857, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4273.326171, 245.779876, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4267.078125, 245.779876, 1302.382202, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.341796, 233.504028, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.341796, 227.256027, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.341796, 221.008026, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4223.341796, 214.760025, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4217.093750, 221.008026, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4210.845703, 221.008026, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4204.597656, 221.008026, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4198.349609, 221.008026, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4192.101562, 221.008026, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4217.093750, 227.256027, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4217.093750, 233.504028, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4210.845703, 227.256027, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4204.597656, 227.256027, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4198.349609, 227.256027, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4192.101562, 227.256027, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4210.467773, 233.486114, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4204.219726, 233.486114, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4197.971679, 233.486114, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4191.723632, 233.486114, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.589843, 233.504028, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.589843, 227.256027, 1302.380249, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.280761, 218.588165, 1302.378295, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.242675, 223.808074, 1302.382202, 0.000000, 180.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4230.343261, 221.886383, 1302.386108, 0.000000, 180.000000, 11.199995 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18981, -4241.876464, 224.519012, 1300.636352, 5.999997, 90.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19545, -4261.113281, 195.385864, 1301.771606, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19545, -4276.100097, 195.385864, 1301.771606, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19545, -4291.083496, 195.385864, 1301.771606, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19545, -4306.073730, 195.385864, 1301.771606, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19545, -4306.073730, 168.735733, 1297.503662, 9.099998, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 3524, -4304.077636, 198.390792, 1300.552734, 0.000000, 180.000000, 0.000000 ), 1, 5117, "traintrack_las2", "concretenewb256", 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 3524, -4306.946777, 197.461090, 1300.552734, 0.000000, 180.000000, 0.000000 ), 1, 5117, "traintrack_las2", "concretenewb256", 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 3524, -4301.403320, 199.250640, 1300.652832, 0.000000, 180.000000, 0.000000 ), 1, 5117, "traintrack_las2", "concretenewb256", 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4304.753417, 215.253189, 1297.195556, 0.000000, 0.000000, 90.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4309.625488, 219.983215, 1297.195556, 0.000000, 0.000000, 0.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4309.625488, 229.603286, 1297.195556, 0.000000, 0.000000, 0.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4304.753417, 235.043136, 1297.195556, 0.000000, 0.000000, 90.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4309.625488, 230.313186, 1297.195556, 0.000000, 0.000000, 0.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4302.496093, 212.333297, 1297.195556, 0.000000, 0.000000, 90.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4302.496093, 207.173492, 1297.195556, 0.000000, 0.000000, 90.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19355, -4307.229003, 208.753494, 1300.707031, 0.000000, 0.000000, 0.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19355, -4307.229003, 210.813369, 1300.707031, 0.000000, 0.000000, 0.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4303.193847, 215.253189, 1297.197509, 0.000000, 0.000000, 90.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19377, -4303.193847, 235.043060, 1297.197509, 0.000000, 0.000000, 90.000000 ), 0, 11095, "stadbridge_sfs", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18981, -4241.876464, 195.649734, 1301.278686, 0.000000, 90.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4229.641113, 217.708724, 1302.388061, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19737, -4249.369140, 219.148544, 1303.289184, 0.000000, 90.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4248.187500, 218.292114, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4242.658691, 225.761398, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4243.656250, 225.761398, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19737, -4242.793457, 224.598526, 1303.289184, 0.000000, 90.000000, 90.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4241.926757, 225.763397, 1302.780639, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19737, -4239.525878, 217.898635, 1303.289184, 0.000000, 90.000000, 180.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4240.693359, 218.754699, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4240.693359, 217.044952, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4240.691406, 217.866729, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19737, -4250.024414, 209.578613, 1303.289184, 0.000000, 90.000000, 90.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4249.169921, 210.746032, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4250.882812, 210.746032, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4250.163574, 210.746231, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4248.187500, 220.001953, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18980, -4248.185546, 219.204055, 1302.778686, 0.000000, 0.000000, 0.000000 ), 0, 8390, "vegasemulticar", "greyground256128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4240.309570, 211.726318, 1303.265014, 0.000000, 0.000000, 0.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4239.146484, 212.466171, 1303.266967, 0.000000, 0.000000, 90.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4237.248046, 212.466171, 1303.266967, 0.000000, 0.000000, 90.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4236.708496, 212.468170, 1303.268920, 0.000000, 0.000000, 90.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4235.959472, 211.726318, 1303.265014, 0.000000, 0.000000, 0.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + CreateDynamicObject( 1775, -4233.198730, 211.943710, 1304.356079, 0.000000, 0.000000, -90.000000 ); + CreateDynamicObject( 1776, -4233.198730, 210.613708, 1304.356079, 0.000000, 0.000000, -90.000000 ); + CreateDynamicObject( 631, -4244.323730, 212.516754, 1304.128662, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1808, -4234.760742, 207.644882, 1303.255004, 0.000000, 0.000000, -133.899856 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19935, -4236.669433, 212.038269, 1303.068847, 0.000000, 0.000000, 90.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19935, -4237.659179, 212.038269, 1303.068847, 0.000000, 0.000000, 90.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19935, -4237.860839, 211.768310, 1303.080810, 0.000000, 0.000000, 0.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + CreateDynamicObject( 19999, -4236.597167, 210.503860, 1303.255004, 0.000000, 0.000000, -161.900009 ); + CreateDynamicObject( 2206, -4240.013671, 211.842651, 1303.165771, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 19893, -4236.937500, 212.007781, 1304.085815, 0.000000, 0.000000, -10.500000 ); + CreateDynamicObject( 631, -4246.650878, 204.996719, 1304.128662, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2164, -4237.060058, 205.842041, 1303.265014, 0.000000, 0.000000, -163.200210 ), 1, 18265, "w_town3cs_t", "ws_whitewall2_bottom", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2165, -4244.303710, 204.978012, 1303.265014, 0.000000, 0.000000, -179.900207 ), 3, 18265, "w_town3cs_t", "ws_whitewall2_bottom", 0 ); + CreateDynamicObject( 2309, -4244.960937, 205.776763, 1303.244995, 0.000000, 0.000000, -159.200027 ); + CreateDynamicObject( 2202, -4239.850097, 205.464721, 1303.255004, 0.000000, 0.000000, -163.500213 ); + CreateDynamicObject( 2894, -4239.145996, 211.867050, 1304.095825, 0.000000, 0.000000, 9.000000 ); + CreateDynamicObject( 2059, -4238.314453, 211.865341, 1304.125854, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 3111, -4243.162109, 204.507690, 1305.517211, 0.000000, 90.000000, 90.000000 ); + CreateDynamicObject( 19164, -4241.930664, 207.925231, 1304.276000, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4241.918457, 208.656097, 1303.246948, 0.000000, 0.000000, 90.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4241.175781, 207.916229, 1303.246948, 0.000000, 0.000000, 0.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4241.918457, 207.176177, 1303.246948, 0.000000, 0.000000, 90.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4242.661621, 207.916229, 1303.246948, 0.000000, 0.000000, 0.000000 ), 0, 18265, "w_town3cs_t", "ws_whitewall2_top", -16 ); + CreateDynamicObject( 2886, -4224.800781, 216.640640, 1303.903198, 0.000000, 0.000000, -171.399978 ); + CreateDynamicObject( 2238, -4236.316894, 212.136703, 1304.506225, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2196, -4239.143066, 212.388122, 1304.105834, 0.000000, 0.000000, -9.199995 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4242.783203, 223.091110, 1300.221801, 0.000000, 0.000000, 0.000000 ), 0, 4569, "civic1_lan2", "sl_LAbedingsoil", 0 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4242.773437, 223.081115, 1300.217895, 0.000000, 0.000000, 0.000000 ), 0, 12954, "sw_furniture", "CJ_WOOD5", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4242.792968, 223.101104, 1300.217895, 0.000000, 0.000000, 0.000000 ), 0, 12954, "sw_furniture", "CJ_WOOD5", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4242.791015, 223.073104, 1300.217895, 0.000000, 0.000000, 0.000000 ), 0, 12954, "sw_furniture", "CJ_WOOD5", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18762, -4242.775390, 223.099105, 1300.217895, 0.000000, 0.000000, 0.000000 ), 0, 12954, "sw_furniture", "CJ_WOOD5", -16 ); + CreateDynamicObject( 633, -4242.783203, 223.091110, 1303.394531, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2115, -4248.552734, 230.737899, 1301.787719, 0.000000, 0.000000, 12.800004 ), 0, 1675, "wshxrefhse", "greygreensubuild_128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 3077, -4241.281738, 217.916336, 1301.737670, 0.000000, 0.000000, 90.000000 ), 1, 4604, "buildblk555", "gm_labuld5_b", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2115, -4253.502929, 225.419555, 1301.757690, 0.000000, 0.000000, 72.799995 ), 0, 1675, "wshxrefhse", "greygreensubuild_128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19940, -4253.653320, 226.001571, 1303.159057, 0.000000, 0.000000, -17.100013 ), 0, 1675, "wshxrefhse", "greygreensubuild_128", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19940, -4253.653320, 226.001571, 1303.659057, 0.000000, 0.000000, -17.100013 ), 0, 1675, "wshxrefhse", "greygreensubuild_128", -16 ); + CreateDynamicObject( 2723, -4252.569335, 225.703536, 1302.118041, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2509, -4248.143554, 231.231002, 1303.206665, 0.000000, 90.000000, 12.800004 ), 0, 1675, "wshxrefhse", "greygreensubuild_128", -16 ); + CreateDynamicObject( 2723, -4248.273925, 230.053482, 1302.118041, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 11728, -4246.955566, 231.579666, 1303.028930, 0.000000, 0.000000, 16.000003 ); + CreateDynamicObject( 2035, -4248.137695, 230.683425, 1302.598144, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 19602, -4253.176757, 226.031311, 1302.638549, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 19602, -4253.404296, 226.638122, 1303.239135, 0.000000, 0.000000, -16.499990 ); + CreateDynamicObject( 353, -4248.789062, 231.000656, 1303.488769, 0.000000, 0.000000, 18.900020 ); + CreateDynamicObject( 353, -4248.554199, 231.081619, 1303.088378, 0.000000, 0.000000, 18.900020 ); + CreateDynamicObject( 19602, -4253.809082, 225.267044, 1303.239135, 0.000000, 0.000000, -16.499990 ); + CreateDynamicObject( 19602, -4253.543945, 226.177947, 1303.239135, 0.000000, 0.000000, -16.499990 ); + CreateDynamicObject( 11727, -4248.166015, 231.231033, 1304.650024, 0.000000, 0.000000, 12.100000 ); + CreateDynamicObject( 11727, -4253.751953, 226.020080, 1304.650024, 0.000000, 0.000000, 72.799911 ); + CreateDynamicObject( 2041, -4247.408691, 231.062057, 1302.758666, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2619, -4247.643554, 231.318801, 1303.239135, 0.000000, 0.000000, 102.899993 ); + CreateDynamicObject( 3016, -4253.845214, 225.296920, 1303.799682, 0.000000, 0.000000, 71.599967 ); + CreateDynamicObject( 3016, -4253.692871, 225.752456, 1303.799682, 0.000000, 0.000000, 71.599967 ); + CreateDynamicObject( 2685, -4249.382324, 230.920669, 1303.239135, 0.000000, 0.000000, 12.699995 ); + CreateDynamicObject( 964, -4250.052734, 230.090362, 1301.717651, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 930, -4252.568847, 227.579650, 1302.278198, 0.000000, 0.000000, 34.799999 ); + SetDynamicObjectMaterial( CreateDynamicObject( 3800, -4255.812500, 204.279586, 1301.760620, 0.000000, 0.000000, 0.000000 ), 0, 2913, "gym_weights", "cheerybox03", 0 ); + CreateDynamicObject( 1271, -4255.933593, 204.226119, 1303.171997, 0.000000, 0.000000, 31.299997 ); + CreateDynamicObject( 3800, -4255.813964, 205.399581, 1301.760620, 0.000000, 0.000000, 2.299998 ); + CreateDynamicObject( 3800, -4255.812500, 207.429580, 1301.760620, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1271, -4255.792968, 205.285797, 1303.182006, 0.000000, 0.000000, -15.099998 ); + SetDynamicObjectMaterial( CreateDynamicObject( 3800, -4256.889648, 206.392471, 1301.760620, 0.000000, 0.000000, 64.800056 ), 1, 5855, "crates", "cheerybox03", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2912, -4267.189941, 218.812622, 1303.041870, 0.000000, 0.000000, 0.000000 ), 0, 5855, "crates", "cheerybox03", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2991, -4267.872558, 217.785217, 1302.411254, 0.000000, 0.000000, 42.700042 ), 1, 5855, "crates", "cheerybox03", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2991, -4272.333496, 203.415298, 1302.411254, 0.000000, 0.000000, 90.000000 ), 1, 5855, "crates", "cheerybox03", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2912, -4267.380859, 217.954086, 1303.041870, 0.000000, 0.000000, 33.999992 ), 0, 5855, "crates", "cheerybox03", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2912, -4268.789550, 217.372589, 1303.041870, 0.000000, 0.000000, 0.000000 ), 0, 5855, "crates", "cheerybox03", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2912, -4272.806152, 204.780853, 1303.041870, 0.000000, 0.000000, 33.999992 ), 0, 5855, "crates", "cheerybox03", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2912, -4272.889648, 203.856872, 1303.041870, 0.000000, 0.000000, -6.500010 ), 0, 5855, "crates", "cheerybox03", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2912, -4272.042480, 202.089172, 1303.041870, 0.000000, 0.000000, -16.200004 ), 0, 5855, "crates", "cheerybox03", -16 ); + CreateDynamicObject( 944, -4264.029296, 219.869003, 1302.631469, 0.000000, 0.000000, 16.300001 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1685, -4270.326171, 215.036285, 1302.521362, 0.000000, 0.000000, -20.800003 ), 0, 1685, "blokpalet", "ws_blockpall", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1685, -4271.173828, 212.668319, 1302.521362, 0.000000, 0.000000, -34.100002 ), 0, 1685, "blokpalet", "ws_blockpall", -16 ); + CreateDynamicObject( 3576, -4272.677246, 208.566421, 1303.241455, 0.000000, 0.000000, 174.899749 ); + CreateDynamicObject( 964, -4255.972167, 210.033630, 1301.740600, 0.000000, 0.000000, -71.799972 ); + SetDynamicObjectMaterial( CreateDynamicObject( 18765, -4258.166015, 188.891265, 1305.703247, 0.000000, 0.000000, 32.299991 ), 0, 10281, "michgar", "tool_store2", 1 ); + CreateDynamicObject( 964, -4255.965332, 211.714355, 1301.740600, 0.000000, 0.000000, -109.799972 ); + CreateDynamicObject( 964, -4255.900390, 210.865280, 1302.661499, 0.000000, 0.000000, -93.699951 ); + CreateDynamicObject( 2359, -4256.276855, 208.850540, 1301.980957, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2359, -4256.946289, 209.711822, 1301.980957, 0.000000, 0.000000, -84.599990 ); + CreateDynamicObject( 2035, -4256.046386, 209.651077, 1302.701538, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2035, -4256.181640, 212.074600, 1302.701538, 0.000000, 0.000000, -136.699981 ); + CreateDynamicObject( 1654, -4256.482910, 208.741455, 1301.960815, 0.000000, 94.199989, 0.000000 ); + CreateDynamicObject( 2985, -4256.028320, 208.420867, 1301.765991, 12.700001, 0.000000, 0.000000 ); + CreateDynamicObject( 2985, -4207.457519, 225.856536, 1302.441772, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2985, -4207.457519, 228.916381, 1302.441772, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2985, -4207.457519, 219.826736, 1302.441772, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2064, -4261.307617, 220.413894, 1302.331176, 0.000000, 0.000000, 72.800018 ); + SetDynamicObjectMaterial( CreateDynamicObject( 944, -4257.121582, 197.998306, 1302.651489, 0.000000, 0.000000, 73.099960 ), 1, 16175, "des2vegas_join", "vgs_rockmid1a", 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 944, -4256.432617, 201.386428, 1302.651489, 0.000000, 0.000000, 84.699966 ), 1, 16175, "des2vegas_join", "vgs_rockmid1a", 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 944, -4258.875488, 194.336624, 1302.651489, 0.000000, 0.000000, 53.899974 ), 1, 16175, "des2vegas_join", "vgs_rockmid1a", 1 ); + CreateDynamicObject( 2478, -4256.947265, 197.203659, 1302.281127, 0.000000, 0.000000, -104.299949 ); + CreateDynamicObject( 2478, -4257.578125, 197.402069, 1302.281127, 0.000000, 0.000000, -89.699981 ); + CreateDynamicObject( 2478, -4256.784179, 198.699401, 1302.281127, 0.000000, 0.000000, -104.299949 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4247.471191, 219.143646, 1301.767700, 0.000000, 0.000000, 0.000000 ), 0, 4604, "buildblk555", "gm_labuld5_b", -16 ); + CreateDynamicObject( 934, -4235.106445, 223.070785, 1303.056030, 0.000000, 0.000000, 17.799982 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4247.284179, 218.013778, 1301.767700, 0.000000, 0.000000, 90.000000 ), 0, 4604, "buildblk555", "gm_labuld5_b", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4247.284179, 220.283798, 1301.767700, 0.000000, 0.000000, 90.000000 ), 0, 4604, "buildblk555", "gm_labuld5_b", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4247.068359, 219.143646, 1301.769653, 0.000000, 0.000000, 0.000000 ), 0, 4604, "buildblk555", "gm_labuld5_b", -16 ); + CreateDynamicObject( 14679, -4247.330078, 219.149093, 1303.199096, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2035, -4247.328613, 219.044692, 1302.938842, 90.599990, -0.699998, 70.400062 ); + CreateDynamicObject( 3014, -4247.373046, 220.147750, 1302.888793, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2035, -4246.990234, 217.697692, 1302.259155, 0.000000, -78.299980, 90.000000 ); + CreateDynamicObject( 964, -4253.510253, 212.909667, 1301.787719, 0.000000, 0.000000, 93.000015 ); + CreateDynamicObject( 19621, -4247.247558, 218.519653, 1302.898803, 0.000000, 0.000000, -177.600006 ); + CreateDynamicObject( 18634, -4247.006347, 218.049316, 1302.818725, 0.000000, 90.000000, 66.199981 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4250.033203, 211.453567, 1301.767700, 0.000000, 0.000000, 90.000000 ), 0, 4604, "buildblk555", "gm_labuld5_b", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4248.896484, 211.633529, 1301.767700, 0.000000, 0.000000, 0.000000 ), 0, 4604, "buildblk555", "gm_labuld5_b", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4251.160644, 211.633529, 1301.767700, 0.000000, 0.000000, 0.000000 ), 0, 4604, "buildblk555", "gm_labuld5_b", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19937, -4250.033203, 211.863449, 1301.767700, 0.000000, 0.000000, 90.000000 ), 0, 4604, "buildblk555", "gm_labuld5_b", -16 ); + CreateDynamicObject( 14679, -4249.990722, 211.509735, 1303.189086, 0.000000, 0.000000, 108.699951 ); + CreateDynamicObject( 359, -4249.768066, 211.593154, 1302.868774, 0.000000, 0.000000, 180.000000 ); + CreateDynamicObject( 1654, -4251.106933, 211.344055, 1302.968872, 0.000000, 0.000000, 136.700012 ); + CreateDynamicObject( 1654, -4250.862792, 211.398788, 1302.899047, -87.499984, 0.000000, 136.700012 ); + CreateDynamicObject( 1672, -4251.226562, 211.673263, 1302.878784, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1672, -4251.126464, 211.673263, 1302.878784, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1672, -4251.026367, 211.773269, 1302.878784, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1672, -4251.026367, 211.873260, 1302.878784, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1672, -4251.294433, 211.903305, 1302.878784, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 372, -4249.148437, 211.861679, 1302.778686, 90.000000, -18.799999, 0.000000 ); + CreateDynamicObject( 361, -4251.967773, 211.329116, 1301.763793, 0.000000, -37.700012, 0.000000 ); + CreateDynamicObject( 362, -4252.021484, 211.729080, 1301.927368, 0.000000, -37.700012, 0.000000 ); + CreateDynamicObject( 2723, -4250.589843, 212.662094, 1302.138061, 0.000000, 0.000000, -54.300003 ); + CreateDynamicObject( 2723, -4246.188964, 218.719360, 1302.138061, 0.000000, 0.000000, -54.300003 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2991, -4310.352050, 258.277709, 1303.052368, 0.000000, 0.000000, 180.000000 ), 0, 2358, "cj_ammo", "CJ_SLATEDWOOD2", -16 ); + CreateDynamicObject( 1688, -4238.262695, 228.448425, 1302.708618, 0.000000, 0.000000, -40.900009 ); + CreateDynamicObject( 927, -4247.640625, 218.645111, 1303.629516, 0.000000, 0.000000, 90.000000 ); + CreateDynamicObject( 927, -4250.403808, 211.222152, 1303.559326, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2991, -4314.663085, 257.846862, 1303.052368, 0.000000, 0.000000, -167.300018 ), 0, 2358, "cj_ammo", "CJ_SLATEDWOOD2", -16 ); + CreateDynamicObject( 631, -4241.657226, 231.246826, 1302.727294, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 631, -4253.813964, 220.676834, 1302.727294, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2612, -4242.803222, 226.297119, 1303.791381, 0.000000, 0.000000, 180.000000 ); + CreateDynamicObject( 1997, -4242.890136, 226.771209, 1301.767700, 0.000000, 0.000000, 90.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2926, -4320.568847, 253.575790, 1302.441772, 0.000000, 0.000000, -108.299995 ), 0, 2358, "cj_ammo", "CJ_SLATEDWOOD", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2925, -4320.507812, 253.666168, 1302.724853, 0.000000, 48.600002, 51.599998 ), 0, 2358, "cj_ammo", "CJ_SLATEDWOOD", -16 ); + CreateDynamicObject( 14600, -4317.957519, 258.080688, 1303.442749, 0.000000, 0.000000, 139.300018 ); + CreateDynamicObject( 2035, -4314.990722, 256.918212, 1303.692993, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1654, -4320.467285, 253.010284, 1302.822143, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1654, -4320.771484, 253.130279, 1302.822143, 0.000000, 0.000000, 74.299987 ); + CreateDynamicObject( 1654, -4320.605468, 253.264785, 1302.822143, 0.000000, 0.000000, -169.699981 ); + CreateDynamicObject( 1654, -4320.544433, 253.700149, 1302.611938, 0.000000, 90.000000, 0.000000 ); + CreateDynamicObject( 1654, -4320.544433, 253.470153, 1302.611938, 0.000000, 90.000000, 21.400001 ); + CreateDynamicObject( 1271, -4320.184082, 252.308334, 1302.782104, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 1271, -4319.757324, 251.529876, 1302.782104, 0.000000, 0.000000, -68.999984 ); + CreateDynamicObject( 1271, -4319.651367, 250.628448, 1302.782104, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 3504, -4306.092773, 257.631866, 1303.783081, 0.000000, 0.000000, 137.800018 ); + CreateDynamicObject( 3504, -4303.648437, 255.491760, 1303.783081, 0.000000, 0.000000, 153.400039 ); + CreateDynamicObject( 964, -4309.263183, 258.237701, 1303.542236, 0.000000, 0.000000, -23.299995 ); + CreateDynamicObject( 964, -4315.650390, 257.738739, 1303.542236, 0.000000, 0.000000, 34.299999 ); + CreateDynamicObject( 3570, -4311.896972, 252.699081, 1303.773071, 0.000000, 0.000000, 14.699995 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4314.313964, 196.478591, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4314.313964, 190.230590, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4314.313964, 183.982589, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4314.313964, 177.734588, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4314.313964, 171.486587, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.562011, 177.734588, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.562011, 171.486587, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.562011, 183.982589, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.562011, 190.230590, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 19741, -4320.562011, 196.478591, 1302.391723, 0.000000, 0.000000, 0.000000 ), 0, 17075, "cuntwlandwest", "sw_sand", -16 ); + CreateDynamicObject( 2478, -4256.333496, 200.926483, 1302.281127, 0.000000, 0.000000, -114.999931 ); + CreateDynamicObject( 2478, -4256.647460, 202.060470, 1302.281127, 0.000000, 0.000000, -83.599929 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1685, -4261.650390, 192.534820, 1302.521362, 0.000000, 0.000000, -73.499992 ), 0, 1685, "blokpalet", "ws_blockpall", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1685, -4264.171386, 192.454483, 1302.521362, 0.000000, 0.000000, -95.699951 ), 0, 1685, "blokpalet", "ws_blockpall", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2974, -4274.709960, 199.472717, 1301.750610, 0.000000, 0.000000, 100.900085 ), 0, 12976, "sw_diner1", "Gen_Crate", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2974, -4277.238769, 198.984756, 1301.750610, 0.000000, 0.000000, 100.900085 ), 0, 12976, "sw_diner1", "Gen_Crate", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2974, -4279.782226, 198.497070, 1300.259155, 0.000000, 0.000000, 100.900085 ), 0, 12976, "sw_diner1", "Gen_Crate", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2974, -4282.416992, 198.135757, 1300.259155, 0.000000, 0.000000, 96.500114 ), 0, 12976, "sw_diner1", "Gen_Crate", -16 ); + CreateDynamicObject( 3577, -4287.252929, 189.302947, 1302.461303, 0.000000, 0.000000, 23.700004 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2974, -4284.568359, 190.954193, 1300.259155, 0.000000, 0.000000, 105.500091 ), 0, 12976, "sw_diner1", "Gen_Crate", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2974, -4282.062988, 191.649032, 1300.259155, 0.000000, 0.000000, 104.100120 ), 0, 12976, "sw_diner1", "Gen_Crate", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2974, -4266.775390, 192.439758, 1300.259155, 0.000000, 0.000000, 78.400123 ), 0, 916, "crates_n_stuffext", "cj_crates", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2974, -4269.634277, 192.701568, 1301.739746, 0.000000, 0.000000, 93.900108 ), 0, 916, "crates_n_stuffext", "cj_crates", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 944, -4272.947265, 192.869232, 1302.651489, 0.000000, 0.000000, 3.299971 ), 1, 16175, "des2vegas_join", "vgs_rockmid1a", 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 944, -4277.361816, 192.781784, 1302.651489, 0.000000, 0.000000, -7.200026 ), 1, 16175, "des2vegas_join", "vgs_rockmid1a", 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 944, -4286.208496, 197.471267, 1302.651489, 0.000000, 0.000000, 9.399970 ), 1, 16175, "des2vegas_join", "vgs_rockmid1a", 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 944, -4289.792968, 197.003906, 1302.651489, 0.000000, 0.000000, 5.099969 ), 1, 16175, "des2vegas_join", "vgs_rockmid1a", 1 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2464, -4277.824218, 193.318862, 1302.140991, 0.000000, 0.000000, 168.600082 ), 4, 3193, "cxref_desert", "BIG_COCK", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2464, -4276.536132, 192.732421, 1302.140991, 0.000000, 0.000000, -140.599945 ), 4, 3193, "cxref_desert", "BIG_COCK", -16 ); + SetDynamicObjectMaterial( CreateDynamicObject( 2464, -4277.982910, 192.524856, 1302.140991, 0.000000, 0.000000, -7.099915 ), 4, 3193, "cxref_desert", "BIG_COCK", -16 ); + CreateDynamicObject( 964, -4285.445312, 197.586303, 1301.970825, 0.000000, 0.000000, 9.599995 ); + CreateDynamicObject( 964, -4286.884277, 197.342834, 1301.970825, 0.000000, 0.000000, 9.599995 ); + CreateDynamicObject( 1348, -4290.497558, 189.305480, 1302.461303, 0.000000, 0.000000, 0.000000 ); + SetDynamicObjectMaterial( CreateDynamicObject( 1685, -4258.657226, 220.835952, 1302.521362, 0.000000, 0.000000, -93.599922 ), 0, 1685, "blokpalet", "ws_blockpall", -16 ); + CreateDynamicObject( 2035, -4213.936035, 222.843093, 1303.262573, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2035, -4214.158691, 223.992080, 1303.262573, 3.399998, 0.000000, 34.400012 ); + CreateDynamicObject( 2985, -4319.692382, 250.022781, 1302.451782, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2985, -4317.078613, 257.312744, 1302.451782, 0.000000, 0.000000, -75.000000 ); + CreateDynamicObject( 2064, -4319.236816, 221.514495, 1303.022338, 0.000000, 0.000000, 30.099992 ); + CreateDynamicObject( 3787, -4307.586914, 193.071777, 1302.341186, 0.000000, 0.000000, -64.399993 ); + CreateDynamicObject( 3793, -4305.817382, 191.556976, 1302.591064, 43.200000, 37.500000, -54.299972 ); + CreateDynamicObject( 11729, -4225.728027, 216.765319, 1302.437622, 0.000000, 0.000000, -172.099670 ); + CreateDynamicObject( 11729, -4226.434082, 216.667816, 1302.437622, 0.000000, 0.000000, -172.099670 ); + CreateDynamicObject( 11729, -4227.135742, 216.570266, 1302.437622, 0.000000, 0.000000, -172.099670 ); + CreateDynamicObject( 11730, -4227.855468, 216.469833, 1302.437622, 0.000000, 0.000000, -172.099670 ); + CreateDynamicObject( 11729, -4229.245117, 216.277664, 1302.437622, 0.000000, 0.000000, -172.099670 ); + CreateDynamicObject( 2002, -4228.583496, 216.602752, 1302.429687, 0.000000, 0.000000, -172.099975 ); + CreateDynamicObject( 2705, -4227.834472, 216.611007, 1304.031127, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2372, -4231.283691, 223.104904, 1302.459594, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2603, -4232.607421, 220.802795, 1302.869995, 0.000000, 0.000000, 12.800002 ); + CreateDynamicObject( 2226, -4232.271972, 219.266921, 1303.050170, 0.000000, 0.000000, 0.000000 ); + CreateDynamicObject( 2331, -4232.231445, 219.266052, 1302.669799, 0.000000, 0.000000, 12.199995 ); + CreateDynamicObject( 14604, -4242.658691, 205.086532, 1304.210815, 0.000000, 0.000000, 24.200002 ); } stock removeExcessiveBuildings( playerid ) diff --git a/server.cfg b/server.cfg index 22224fb..645b0c7 100644 --- a/server.cfg +++ b/server.cfg @@ -5,7 +5,7 @@ maxplayers 325 port 7777 hostname » Call of Duty For SA-MP (0.3.7) « gamemode0 sf-cnr 1 -filterscripts iVO +filterscripts toEdit announce 0 query 1 weburl www.sa-mp.com