ship hiest, custom spawning, first version of facilities

This commit is contained in:
Lorenc Pekaj 2018-05-13 02:25:47 +10:00
parent 88512b8fcd
commit b20467df2d
12 changed files with 1527 additions and 1193 deletions

File diff suppressed because it is too large Load Diff

View File

@ -83,7 +83,7 @@
#define DIALOG_ONLINE_JOB 1071
#define DIALOG_ONLINE_JOB_R 1072
#define DIALOG_FURNITURE_CATEGORY 1073
// #define DIALOG_FLAT_FURNITURE 1074
#define DIALOG_SPAWN 1074
#define DIALOG_TRUNCATE_FURNITURE 1075
#define DIALOG_VEHDEALER_BUY 1076
#define DIALOG_VEHDEALER_OPTIONS 1077
@ -165,6 +165,7 @@
#define DIALOG_CASINO_BAR 1154
#define DIALOG_ACC_EMAIL 1155
#define DIALOG_BUSINESS_SECURITY 1156
#define DIALOG_FACILITY_SPAWN 1157
/* ** Hooks ** */
hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )

View File

@ -14329,229 +14329,6 @@ stock initializeObjects( )
CreateDynamicObject( 11711, 2592.722412, 2814.484130, 12.520314, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 11711, 2562.373779, 2809.652587, 12.520314, 0.000000, 0.000000, 90.000000 );
// Chinatown HQ fp__23
CreateDynamicObject( 1569, -2204.969726, 702.289001, 62.747428, 0.000000, 0.000000, 270.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2207.923828, 709.675048, 64.437271, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2222.198486, 709.675048, 64.437271, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
CreateDynamicObject( 1569, -2225.239257, 699.287109, 62.747428, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 17951, -2225.183837, 681.239379, 64.477317, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3578, -2223.794433, 659.191711, 62.017391, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2204.971191, 699.287109, 62.747428, 0.000000, 0.000000, 90.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 19358, -2215.116455, 710.344421, 62.707378, 0.000000, 90.000000, 0.000000 ), 0, 10412, "hotel1", "carpet_red_256", -16 );
CreateDynamicObject( 2773, -2216.691406, 710.041931, 63.297374, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 2773, -2213.548339, 710.041931, 63.297374, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3524, -2215.105712, 711.985168, 63.666534, 15.700007, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2214.693359, 698.882751, 62.277347, 0.000000, 90.000000, 0.000000 ), 0, 13691, "bevcunto2_lahills", "ws_patio1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2217.032226, 674.506225, 62.267349, 0.000000, 90.000000, 0.000000 ), 0, 13691, "bevcunto2_lahills", "ws_patio1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2222.024902, 658.601623, 62.287349, 0.000000, 90.000000, 0.000000 ), 0, 13691, "bevcunto2_lahills", "ws_patio1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2217.458740, 673.934814, 67.267539, 0.000000, 90.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2204.509521, 673.934814, 55.407341, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2192.471923, 674.175048, 68.297363, 0.000000, 90.000000, 0.000000 ), 0, 18202, "w_towncs_t", "plaintarmac1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2225.723632, 698.856018, 55.407341, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2192.471923, 674.175048, 72.347373, 0.000000, 90.000000, 0.000000 ), 0, 18202, "w_towncs_t", "plaintarmac1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2192.475585, 666.494079, 60.357330, 0.000000, 0.000000, 90.000000 ), 0, 8675, "wddngchpl02", "shingles6", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2179.979003, 674.175048, 60.357330, 0.000000, 0.000000, 0.000000 ), 0, 8675, "wddngchpl02", "shingles6", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2192.475585, 682.141845, 60.357330, 0.000000, 0.000000, 90.000000 ), 0, 8675, "wddngchpl02", "shingles6", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2204.490234, 666.458496, 70.367538, 0.000000, 0.000000, 90.000000 ), 0, 8675, "wddngchpl02", "shingles6", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2204.490234, 681.662353, 70.357437, 0.000000, 0.000000, 90.000000 ), 0, 8675, "wddngchpl02", "shingles6", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2204.503906, 698.856018, 55.407341, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
CreateDynamicObject( 16644, -2211.494140, 636.796081, 48.975788, 0.000000, 42.700019, 0.000000 );
CreateDynamicObject( 19313, -2218.237060, 624.694763, 57.469818, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 16644, -2221.165527, 637.388488, 57.097972, 0.000000, -34.599998, 90.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 14411, -2220.584716, 692.331848, 64.561080, 0.000000, 0.000000, 90.000000 ), 1, 11306, "trainplatform_sfse", "concretenewb256", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 14411, -2220.588623, 693.889099, 64.559082, 0.000000, 0.000000, 90.000000 ), 1, 11306, "trainplatform_sfse", "concretenewb256", -16 );
CreateDynamicObject( 14394, -2205.818847, 674.072326, 67.957511, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 16644, -2217.743164, 651.447570, 61.869647, 0.000000, -35.899990, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -2221.249023, 652.858337, 66.257400, 0.000000, 90.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18980, -2204.489013, 674.067443, 72.337295, 0.000000, 90.000000, 90.000000 ), 0, 8675, "wddngchpl02", "shingles6", -16 );
CreateDynamicObject( 16644, -2227.010498, 685.147399, 71.724510, 0.000000, 26.000028, 90.000000 );
CreateDynamicObject( 3279, -2237.373046, 716.819824, 69.373497, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2180.505126, 672.878051, 68.767387, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 16644, -2214.249267, 719.463500, 75.365463, 0.000000, -20.600021, 0.000000 );
CreateDynamicObject( 16644, -2225.407714, 719.463500, 71.171913, 0.000000, -20.600021, 0.000000 );
CreateDynamicObject( 16644, -2197.379394, 713.121765, 81.177513, 0.000000, -26.900045, 0.000000 );
CreateDynamicObject( 3279, -2161.088378, 717.961547, 85.313911, 0.000000, 0.000000, -110.600112 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2225.703613, 673.874755, 55.407341, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2212.754150, 708.417114, 67.267463, 0.000000, 90.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2204.516601, 661.910461, 65.257270, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2209.291259, 657.400695, 65.257270, 0.000000, 0.000000, 90.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2225.730712, 657.400695, 65.257270, 0.000000, 0.000000, 90.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2228.653564, 652.859069, 65.257270, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2213.791748, 652.859069, 65.257270, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2217.205566, 711.766784, 55.257366, 0.000000, 0.000000, 90.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2221.312500, 664.850524, 67.257446, 0.000000, 90.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2220.397216, 685.920471, 65.257270, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2220.397216, 696.423156, 65.257270, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 14411, -2220.584716, 688.351989, 64.567077, 0.000000, 0.000000, 90.000000 ), 1, 11306, "trainplatform_sfse", "concretenewb256", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2204.807861, 698.782104, 67.277587, 0.000000, 90.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2227.430175, 691.100769, 65.267509, 0.000000, 0.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2230.231201, 699.848693, 66.027473, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2230.231201, 706.300231, 66.027473, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
CreateDynamicObject( 17951, -2205.025146, 666.294372, 64.537437, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 17951, -2205.025146, 673.874572, 64.537437, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 17951, -2209.799804, 658.244323, 64.537437, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3578, -2223.794433, 676.691711, 62.017391, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3578, -2223.794433, 672.191711, 62.017391, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3578, -2223.794433, 667.691711, 62.017391, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3578, -2223.794433, 663.191711, 62.017391, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2205.691650, 691.234130, 64.437271, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
CreateDynamicObject( 3578, -2205.498535, 681.971862, 62.017391, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3578, -2205.498535, 677.291442, 62.017391, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2225.249267, 702.289001, 62.747428, 0.000000, 0.000000, 270.000000 );
CreateDynamicObject( 1569, -2216.617431, 711.239196, 62.747428, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2213.624511, 711.239196, 62.747428, 0.000000, 0.000000, 180.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2212.614746, 708.907592, 67.525451, 95.299888, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
CreateDynamicObject( 16644, -2207.895263, 659.820068, 67.711418, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 16644, -2205.312744, 659.820068, 67.711418, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 16644, -2202.189697, 651.387939, 67.711418, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3279, -2236.482177, 651.535522, 72.813407, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3934, -2233.248046, 703.008483, 68.937500, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2202.153564, 668.943237, 68.277534, 90.000000, 0.000000, 0.000000 ), 0, 8675, "wddngchpl02", "shingles6", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2202.153564, 679.174987, 68.277534, 90.000000, 0.000000, 0.000000 ), 0, 8675, "wddngchpl02", "shingles6", -16 );
CreateDynamicObject( 16644, -2198.610351, 697.053100, 74.401634, 0.000000, 36.300037, 270.000000 );
CreateDynamicObject( 19313, -2234.758789, 642.604431, 53.787220, 90.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2234.305175, 686.429016, 67.307548, 0.000000, 0.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2237.077636, 706.300231, 66.027473, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2237.077636, 699.696899, 66.027473, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2237.117675, 689.877563, 66.957481, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2237.117675, 682.724609, 66.957481, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2230.210937, 683.395263, 66.957481, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2230.230957, 689.925720, 66.957481, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2230.230957, 716.285644, 66.957481, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2236.677246, 716.285644, 66.957481, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2220.246582, 716.285644, 65.787536, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2210.263671, 716.285644, 65.787536, 0.000000, 0.000000, 0.000000 ), 0, 9514, "711_sfw", "shingles2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -2233.504394, 702.768920, 66.447540, 0.000000, 0.000000, 0.000000 ), 0, 3975, "lanbloke", "p_floor3", -16 );
CreateDynamicObject( 13011, -2224.592285, 657.834655, 69.437538, 0.000000, 0.000000, 180.000000 );
CreateDynamicObject( 3934, -2234.158935, 686.437438, 69.797401, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 2960, -2212.723632, 697.384277, 67.726036, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 2960, -2212.723632, 688.384277, 67.726036, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 2960, -2212.723632, 679.384277, 67.726036, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 2960, -2212.723632, 670.384277, 67.726036, 0.000000, 0.000000, 90.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 1696, -2212.354736, 658.168823, 68.767539, 0.000000, 0.000000, 180.000000 ), 2, 3975, "lanbloke", "p_floor3", -16 );
CreateDynamicObject( 13011, -2205.577148, 686.265747, 69.437538, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3279, -2192.626953, 654.388244, 72.223937, 0.000000, 0.000000, 180.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -2224.172119, 651.933898, 61.377376, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -2218.289550, 651.933898, 61.377376, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
CreateDynamicObject( 3524, -2224.135986, 652.006774, 62.007362, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3524, -2218.301025, 652.006774, 62.007362, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 0, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2210.841064, 704.679626, 62.747428, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2207.791015, 704.689636, 62.747428, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2208.590820, 696.198364, 62.747428, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2220.791015, 704.679626, 62.747428, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2223.791015, 704.679626, 62.747428, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2223.791015, 696.918395, 62.747428, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2220.791015, 696.898986, 62.747428, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2217.791015, 696.898986, 62.747428, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3524, -2225.833251, 700.725341, 63.609184, 12.699998, 0.000000, 90.000000 );
CreateDynamicObject( 3524, -2204.417480, 700.795410, 63.689346, 12.699998, 0.000000, 270.000000 );
CreateDynamicObject( 14467, -2205.729248, 678.338989, 70.757522, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 14467, -2206.346435, 669.773437, 70.767501, 0.000000, 0.000000, -155.999984 );
CreateDynamicObject( 1569, -2180.505126, 675.879577, 68.767387, 0.000000, 0.000000, 270.000000 );
CreateDynamicObject( 1569, -2180.505126, 679.379577, 68.767387, 0.000000, 0.000000, 270.000000 );
CreateDynamicObject( 1569, -2180.505126, 669.378051, 68.767387, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1703, -2198.230712, 670.396301, 68.797378, 0.000000, 0.000000, -60.500000 );
CreateDynamicObject( 1703, -2202.169433, 670.287780, 68.797378, 0.000000, 0.000000, 19.899986 );
CreateDynamicObject( 19786, -2200.273925, 667.010437, 70.737327, 0.000000, 0.000000, 180.000000 );
CreateDynamicObject( 2315, -2201.000000, 668.851684, 68.787376, 0.000000, 0.000000, -34.799999 );
CreateDynamicObject( 19922, -2202.471191, 679.883117, 68.797401, 0.000000, 0.000000, -119.399993 );
CreateDynamicObject( 1575, -2202.902587, 678.777404, 69.587371, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1575, -2202.909912, 679.506347, 69.587371, 0.000000, 0.000000, 77.500007 );
CreateDynamicObject( 1829, -2202.018554, 680.377685, 70.037361, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 960, -2199.251953, 680.005676, 69.127410, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19473, -2199.830078, 679.843139, 68.939643, 0.000000, 51.999965, 0.000000 );
CreateDynamicObject( 2964, -2197.692138, 676.436218, 68.777427, 0.000000, 0.000000, -39.799999 );
CreateDynamicObject( 2964, -2195.171142, 673.455078, 68.777427, 0.000000, 0.000000, 10.499971 );
CreateDynamicObject( 338, -2198.749755, 676.417175, 69.127388, 0.000000, 0.000000, 118.099975 );
CreateDynamicObject( 338, -2198.447021, 676.147521, 69.127388, 0.000000, 0.000000, 118.099975 );
CreateDynamicObject( 2049, -2189.911621, 667.085632, 70.357337, 0.000000, 0.000000, 180.000000 );
CreateDynamicObject( 2051, -2191.683349, 667.085632, 70.357337, 0.000000, 0.000000, 180.000000 );
CreateDynamicObject( 2050, -2188.150878, 667.085632, 70.357337, 0.000000, 0.000000, 180.000000 );
CreateDynamicObject( 18766, -2189.884277, 669.301879, 64.707435, 0.000000, 90.000000, 0.000000 );
CreateDynamicObject( 355, -2191.412841, 669.203918, 69.687736, 84.399940, -79.500038, 99.900009 );
CreateDynamicObject( 356, -2188.675292, 669.221008, 69.712799, 83.700057, -84.600090, 58.200012 );
CreateDynamicObject( 2985, -2186.764648, 667.213989, 68.787353, 0.000000, 0.000000, 137.399963 );
CreateDynamicObject( 2977, -2194.319091, 668.153259, 68.677360, 0.000000, 0.000000, -43.899993 );
CreateDynamicObject( 964, -2192.851318, 667.679504, 68.777343, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3014, -2187.899902, 669.281860, 69.917381, 0.000000, 0.000000, 38.500000 );
CreateDynamicObject( 2043, -2189.925048, 669.215026, 69.797355, 0.000000, 0.000000, 103.599998 );
CreateDynamicObject( 1665, -2201.039794, 668.839050, 69.307342, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1544, -2200.146728, 668.045837, 69.277343, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1544, -2200.577148, 668.696472, 69.277343, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2184.005126, 681.640625, 68.767387, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2187.505126, 681.640625, 68.767387, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2191.005126, 681.640625, 68.767387, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2194.505126, 681.640625, 68.767387, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2198.005126, 681.640625, 68.767387, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -2184.005126, 666.990112, 68.767387, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 17951, -2178.216308, 711.291687, 54.680587, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 17951, -2185.071289, 711.291687, 54.680587, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2220.552246, 721.164184, 71.839950, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2206.603515, 721.164184, 71.839950, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2242.382324, 652.612609, 76.379959, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2242.382324, 666.602783, 76.379959, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2242.382324, 671.262756, 76.379959, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2204.263916, 624.694763, 57.469818, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2204.263916, 624.694763, 51.079780, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2197.947753, 624.694763, 67.869827, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2183.888183, 624.694763, 67.869827, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2171.681396, 629.523986, 66.619781, 0.000000, 0.000000, 43.100002 );
CreateDynamicObject( 19313, -2171.681396, 629.523986, 60.249736, 0.000000, 0.000000, 43.100002 );
CreateDynamicObject( 19313, -2156.558349, 668.384094, 85.689819, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2171.170898, 668.494689, 85.689819, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2171.170898, 680.085083, 85.689819, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2156.748535, 682.364074, 85.689819, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2156.558349, 668.384094, 92.109786, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2156.748535, 682.354553, 92.109786, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2163.552490, 661.392639, 92.109786, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2163.552490, 661.392639, 85.689773, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2156.748535, 696.315002, 92.109786, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2156.748535, 696.315002, 85.689758, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2156.748535, 696.315002, 79.429779, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2156.748535, 710.295715, 92.109786, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2156.748535, 710.295715, 85.819778, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2171.901855, 721.206298, 92.109786, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2171.900146, 721.206298, 85.729797, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2185.902832, 721.206298, 92.109786, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2185.902832, 721.206298, 85.809852, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2197.484619, 721.206298, 85.809852, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2185.902832, 721.206298, 79.409858, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2197.478759, 721.206298, 79.409858, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2242.382324, 685.434631, 71.839950, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2242.382324, 699.435363, 71.839950, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2242.382324, 703.934020, 71.839950, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2234.520996, 721.164184, 71.839950, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2239.609619, 639.253356, 61.310066, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2232.627197, 632.282592, 67.630012, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2225.607910, 625.212341, 67.630012, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2239.609619, 639.253356, 67.659957, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19313, -2218.235107, 624.696777, 61.249870, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19313, -2204.296386, 624.694763, 61.199871, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -2173.301269, 628.022216, 72.379737, 0.000000, 0.000000, -47.200008 ), 0, 13691, "bevcunto2_lahills", "Bow_Abattoir_Floor_Clean", 1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2196.371093, 661.896545, 55.257366, 0.000000, 0.000000, 90.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", -16 );
CreateDynamicObject( 3525, -2172.260498, 681.165893, 56.000564, 0.000000, 0.000000, -90.000000 );
CreateDynamicObject( 3525, -2172.260498, 678.623962, 56.000564, 0.000000, 0.000000, -90.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 3524, -2171.008789, 679.974731, 55.750846, 40.799999, 0.000000, -90.000000 ), 1, 13691, "bevcunto2_lahills", "Bow_Abattoir_Floor_Clean", 1 );
CreateDynamicObject( 19313, -2239.609619, 639.253356, 57.070228, 0.000000, 0.000000, 90.000000 );
// Veloxity Air HQ
CreateDynamicObject( 3657, -1752.881103, 42.131225, 866.188354, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19940, -1753.343872, 53.019714, 866.792724, 0.000000, 0.000000, 0.000000 );
@ -14820,99 +14597,6 @@ stock initializeObjects( )
CreateDynamicObject( 919, -864.305358, -196.298446, 69.691902, -31.600027, -2.499999, 30.100002 );
CreateDynamicObject( 18748, -864.240478, -195.880126, 68.355125, 0.000000, 0.000000, 0.000000 );
// Daycare HQ [DD]
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1715.468627, 1006.076721, 17.914062, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
CreateDynamicObject( 1569, -1715.128662, 1005.863952, 16.904022, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1713.148681, 1006.076721, 17.914062, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
CreateDynamicObject( 1569, -1712.677978, 1005.863952, 16.904022, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1710.677246, 1006.076721, 17.914062, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
CreateDynamicObject( 1569, -1710.227905, 1005.863952, 16.904022, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1708.249389, 1006.076721, 17.914062, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -1713.631591, 972.489135, 8.415924, 0.000000, 0.000000, 90.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 18980, -1712.855957, 972.753479, 20.415924, 90.000000, 90.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18765, -1745.642822, 972.738464, 17.485900, 0.000000, 0.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1706.183227, 972.905761, 14.665924, 0.000000, 0.000000, 90.000000 ), 0, 10945, "skyscrap_sfse", "ws_airportdoors1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1700.880493, 972.768920, 17.405944, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1715.812988, 972.905761, 14.665924, 0.000000, 0.000000, 90.000000 ), 0, 10945, "skyscrap_sfse", "ws_airportdoors1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1725.443481, 972.905761, 14.665924, 0.000000, 0.000000, 90.000000 ), 0, 10945, "skyscrap_sfse", "ws_airportdoors1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1735.053100, 972.905761, 14.665924, 0.000000, 0.000000, 90.000000 ), 0, 10945, "skyscrap_sfse", "ws_airportdoors1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -1744.829711, 972.768920, 17.415924, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1700.880493, 974.258300, 17.045927, 0.000000, 90.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -1712.938476, 1010.566284, 19.924102, 90.000000, 90.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -1710.755859, 1010.566650, 19.924316, 90.000000, 90.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -1727.522094, 972.489135, 8.415924, 0.000000, 0.000000, 90.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1740.837890, 972.768920, 22.405914, 0.000000, 0.000000, 0.000000 ), 0, 3979, "civic01_lan", "airportwall_256128", 536870911 );
CreateDynamicObject( 3525, -1700.889648, 973.451232, 18.245941, 0.000000, 0.000000, 180.000000 );
CreateDynamicObject( 3525, -1740.229370, 973.451232, 18.245941, 0.000000, 0.000000, 180.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1700.880493, 977.228454, 17.405944, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18980, -1712.855957, 977.224975, 20.415924, 90.000000, 90.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18980, -1737.855468, 977.234924, 20.415924, 90.000000, 90.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1740.171020, 977.238464, 17.405944, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1700.890502, 974.438598, 20.415954, 0.000000, 90.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1740.382324, 974.438598, 20.415954, 0.000000, 90.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1735.083984, 974.990783, 20.606384, 0.000000, 90.000000, 90.000000 ), 0, 1649, "wglass", "carshowwin2", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1725.463867, 974.990783, 20.606384, 0.000000, 90.000000, 90.000000 ), 0, 1649, "wglass", "carshowwin2", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1715.823730, 974.990783, 20.606384, 0.000000, 90.000000, 90.000000 ), 0, 1649, "wglass", "carshowwin2", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1706.193603, 974.990783, 20.606384, 0.000000, 90.000000, 90.000000 ), 0, 1649, "wglass", "carshowwin2", 0 );
CreateDynamicObject( 3294, -1683.010864, 977.025085, 19.455902, 0.000000, 0.000000, 0.100248 );
CreateDynamicObject( 3294, -1687.137084, 1063.536132, 19.465942, 0.000000, 0.000000, 90.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 19452, -1781.630493, 990.951660, 27.120540, 90.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -1720.732177, 1063.972534, 8.415924, 0.000000, 0.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1732.740844, 1059.537353, 17.405944, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1708.740844, 1059.537353, 17.405944, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18980, -1720.745849, 1059.536499, 20.415924, 90.000000, 90.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1726.921875, 1063.546752, 14.665924, 0.000000, 0.000000, 90.000000 ), 0, 10945, "skyscrap_sfse", "ws_airportdoors1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1717.340942, 1063.546752, 14.665924, 0.000000, 0.000000, 90.000000 ), 0, 10945, "skyscrap_sfse", "ws_airportdoors1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1714.110839, 1063.556762, 14.665924, 0.000000, 0.000000, 90.000000 ), 0, 10945, "skyscrap_sfse", "ws_airportdoors1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1732.740844, 1062.516357, 17.055938, 0.000000, 90.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1708.729003, 1062.516357, 17.055938, 0.000000, 90.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1708.748901, 1062.506347, 20.415924, 0.000000, 90.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1732.730712, 1062.486328, 20.415924, 0.000000, 90.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1726.885253, 1061.763305, 20.606384, 0.000000, 90.000000, 90.000000 ), 0, 1649, "wglass", "carshowwin2", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1717.275268, 1061.763305, 20.606384, 0.000000, 90.000000, 90.000000 ), 0, 1649, "wglass", "carshowwin2", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1714.065917, 1061.763305, 20.606384, 0.000000, 90.000000, 90.000000 ), 0, 1649, "wglass", "carshowwin2", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1732.228271, 1062.488281, 20.417938, 0.000000, 90.000000, 90.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -1710.745849, 1026.557006, 19.924316, 90.000000, 90.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
CreateDynamicObject( 1569, -1712.648315, 1031.154052, 16.904022, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1708.249389, 1031.057983, 17.914062, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1710.660644, 1031.057983, 17.914062, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
CreateDynamicObject( 1569, -1710.237182, 1031.154052, 16.904022, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1713.099365, 1031.057983, 17.914062, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
CreateDynamicObject( 1569, -1715.078735, 1031.154052, 16.904022, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 19452, -1781.630493, 977.070739, 27.120540, 90.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19452, -1781.630493, 983.431091, 29.850563, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 2634, -1715.366333, 1018.139648, 18.407938, 0.000000, 0.000000, 90.000000 ), 0, 18200, "w_town2cs_t", "inddoor1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19387, -1715.389892, 1018.131103, 18.596939, 0.000000, 0.000000, 0.000000 ), 0, 18200, "w_town2cs_t", "inddoor1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 2634, -1708.345947, 1018.140625, 18.406938, 0.000000, 0.000000, -90.000000 ), 0, 18200, "w_town2cs_t", "inddoor1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19387, -1708.293945, 1018.131103, 18.596939, 0.000000, 0.000000, 0.000000 ), 0, 18200, "w_town2cs_t", "inddoor1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1715.460205, 1031.057983, 17.914062, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -1712.534301, 1026.558959, 19.926317, 90.000000, 90.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
CreateDynamicObject( 3525, -1708.234985, 1031.651855, 18.614078, 0.000000, 0.000000, 180.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18980, -1733.147460, 972.753906, 20.416324, 90.000000, 90.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19452, -1781.628540, 984.933227, 29.850563, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
CreateDynamicObject( 3525, -1715.456909, 1031.651855, 18.614078, 0.000000, 0.000000, 180.000000 );
CreateDynamicObject( 3525, -1708.265014, 1005.482421, 18.614078, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3525, -1715.475952, 1005.482421, 18.614078, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18763, -1721.890380, 993.479248, 20.434085, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18763, -1721.890380, 993.479248, 16.314081, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18763, -1702.028686, 993.479248, 20.424085, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18763, -1702.028686, 993.479248, 16.314104, 0.000000, 0.000000, 0.000000 ), 0, 3603, "bevmans01_la", "aamanbev1x", -16 );
CreateDynamicObject( 1569, -1722.628173, 994.953430, 16.894020, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -1720.396728, 992.732727, 16.894020, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1569, -1703.485839, 992.732727, 16.894020, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1569, -1701.278564, 994.953430, 16.894020, 0.000000, 0.000000, 180.000000 );
CreateDynamicObject( 1569, -1701.278564, 992.023010, 16.894020, 0.000000, 0.000000, 180.000000 );
CreateDynamicObject( 1569, -1722.628173, 992.022583, 16.894020, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1569, -1723.346069, 992.732727, 16.894020, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1569, -1700.564941, 992.732727, 16.894020, 0.000000, 0.000000, 90.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1727.031494, 1063.862548, 16.509836, 0.000000, 90.000000, 0.000000 ), 0, 8463, "vgseland", "triadcarpet2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1714.430419, 1063.862548, 16.509836, 0.000000, 90.000000, 0.000000 ), 0, 8463, "vgseland", "triadcarpet2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1721.591430, 1063.862548, 16.511837, 0.000000, 90.000000, 0.000000 ), 0, 8463, "vgseland", "triadcarpet2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1735.381225, 972.911804, 16.509836, 0.000000, 90.000000, 0.000000 ), 0, 8463, "vgseland", "triadcarpet2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1724.891235, 972.911804, 16.509836, 0.000000, 90.000000, 0.000000 ), 0, 8463, "vgseland", "triadcarpet2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1714.402221, 972.911804, 16.509836, 0.000000, 90.000000, 0.000000 ), 0, 8463, "vgseland", "triadcarpet2", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19377, -1706.630493, 972.911804, 16.511837, 0.000000, 90.000000, 0.000000 ), 0, 8463, "vgseland", "triadcarpet2", -16 );
// Kesh VIP Home
SetDynamicObjectMaterial( CreateDynamicObject( 18980, -1728.274658, 1083.689453, 39.699028, 0.000000, 0.000000, 0.000000 ), 0, 13734, "hillcliff_lahills", "des_ranchwall1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 18980, -1734.965332, 1083.689453, 39.699028, 0.000000, 0.000000, 0.000000 ), 0, 13734, "hillcliff_lahills", "des_ranchwall1", -16 );
@ -16608,4 +16292,70 @@ stock initializeObjects( )
CreateDynamicObject( 19831, 2853.739013, -1367.582031, 13.104999, 0.000000, 0.000000, -166.300003, -1, -1, -1 );
CreateDynamicObject( 19573, 2854.281005, -1367.290039, 13.123999, 0.000000, 0.000000, 132.199996, -1, -1, -1 );
CreateDynamicObject( 2833, 2852.175048, -1366.541992, 13.157999, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
// [DC] City Facility Rebase
CreateDynamicObject( 3294, -1712.113891, 972.938354, 19.455902, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 19452, -1781.630493, 990.955566, 27.120540, 90.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 8839, "vgsecarshow", "lightred2_32", 0 );
CreateDynamicObject( 1685, -1733.703002, 989.327636, 18.875959, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 1685, -1733.703002, 987.566345, 17.385932, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 1685, -1733.703002, 989.327636, 17.385932, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
CreateDynamicObject( 3796, -1717.743652, 992.026733, 16.854038, 0.000000, 0.000000, 200.000000, -1, -1, -1 );
SetDynamicObjectMaterialText( CreateDynamicObject( 3796, -1717.743652, 992.026733, 18.654077, 180.000000, 0.000000, 200.000000, -1, -1, -1 ), 0, "null", 120, "Arial", 0, 1, 0, 0, 1 );
CreateDynamicObject( 944, -1717.385742, 991.333862, 17.824060, 0.000000, 0.000000, 20.000000, -1, -1, -1 );
CreateDynamicObject( 944, -1717.908691, 992.771972, 17.824060, 0.000000, 0.000000, 20.000000, -1, -1, -1 );
CreateDynamicObject( 16644, -1710.325073, 995.193481, 14.228927, 0.000000, 32.700008, 19.799999, -1, -1, -1 );
CreateDynamicObject( 18260, -1688.913696, 976.207641, 18.085948, 0.000000, 0.000000, -101.299980, -1, -1, -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1740.837890, 972.768920, 22.405914, 0.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 3979, "civic01_lan", "airportwall_256128", 536870911 );
CreateDynamicObject( 3294, -1732.123046, 972.938354, 19.455902, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 19452, -1781.630493, 976.520202, 27.120540, 90.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 8839, "vgsecarshow", "lightred2_32", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19452, -1781.630493, 982.560241, 29.850563, 0.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 8839, "vgsecarshow", "lightred2_32", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 2634, -1715.366333, 1018.139648, 18.407938, 0.000000, 0.000000, 90.000000, -1, -1, -1 ), 0, 18200, "w_town2cs_t", "inddoor1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19387, -1715.389892, 1018.131103, 18.596939, 0.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 18200, "w_town2cs_t", "inddoor1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 2634, -1708.345947, 1018.140625, 18.406938, 0.000000, 0.000000, -90.000000, -1, -1, -1 ), 0, 18200, "w_town2cs_t", "inddoor1", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19387, -1708.293945, 1018.131103, 18.596939, 0.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 18200, "w_town2cs_t", "inddoor1", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19452, -1781.628540, 984.933227, 29.850563, 0.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 8839, "vgsecarshow", "lightred2_32", 0 );
// [SS] CiFacility
SetDynamicObjectMaterial( CreateDynamicObject( 11313, -2032.079956, 454.183013, 36.111999, 0.000000, 0.000000, 270.000000, -1, -1, -1 ), 0, 13681, "lahillshilhs1e", "veg_hedge1_256", 47828 );
SetDynamicObjectMaterial( CreateDynamicObject( 18981, -2048.979980, 438.778015, 33.672000, 0.000000, 90.000000, 0.000000, -1, -1, -1 ), 0, 10948, "skyscrapper_sfs", "brickred2", 589505315 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2017.175048, 476.563995, 35.172000, 0.000000, 0.000000, 90.000000, -1, -1, -1 ), 0, 13681, "lahillshilhs1e", "veg_hedge1_256", -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2017.165039, 482.813995, 35.172000, 0.000000, 0.000000, 90.000000, -1, -1, -1 ), 0, 13681, "lahillshilhs1e", "veg_hedge1_256", -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2017.155029, 489.204010, 35.172000, 0.000000, 0.000000, 90.000000, -1, -1, -1 ), 0, 13681, "lahillshilhs1e", "veg_hedge1_256", -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2022.473999, 493.704010, 35.172000, 0.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 13681, "lahillshilhs1e", "veg_hedge1_256", -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2032.354003, 493.693908, 35.172000, 0.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 13681, "lahillshilhs1e", "veg_hedge1_256", -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2051.642089, 493.704010, 35.172000, 0.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, 13681, "lahillshilhs1e", "veg_hedge1_256", -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 18766, -2017.165039, 459.164001, 35.172000, 0.000000, 0.000000, 90.000000, -1, -1, -1 ), 0, 13681, "lahillshilhs1e", "veg_hedge1_256", -1 );
CreateDynamicObject( 869, -2019.640014, 476.040008, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 869, -2026.540039, 476.040008, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 869, -2029.969970, 476.040008, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 869, -2033.459960, 476.040008, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 869, -2034.750000, 478.959991, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 869, -2034.750000, 481.880004, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 869, -2034.750000, 484.649993, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 869, -2034.750000, 487.649993, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 869, -2034.750000, 490.359985, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 9833, -2027.141967, 484.407989, 36.291999, 0.000000, 0.000000, 42.099998, -1, -1, -1 );
CreateDynamicObject( 869, -2022.900024, 476.040008, 34.480998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 19447, -2036.754028, 488.216003, 32.541999, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 19447, -2036.754028, 479.054992, 32.541999, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 19447, -2032.022949, 474.144989, 32.541999, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
CreateDynamicObject( 19447, -2022.432983, 474.144989, 32.541999, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
CreateDynamicObject( 870, -2029.161010, 484.721008, 34.381999, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 870, -2024.161010, 484.721008, 34.381999, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 870, -2026.620971, 487.240997, 34.381999, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 870, -2026.620971, 482.110992, 34.381999, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 2895, -2026.472045, 484.566986, 34.161998, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 3524, -2050.648925, 457.433013, 33.734001, 0.000000, 0.000000, 141.500000, -1, -1, -1 );
CreateDynamicObject( 3524, -2053.447998, 460.140991, 33.734001, 0.000000, 0.000000, 128.800003, -1, -1, -1 );
CreateDynamicObject( 3528, -2051.128906, 459.335998, 40.883998, 0.000000, 0.000000, 44.599998, -1, -1, -1 );
CreateDynamicObject( 3525, -2046.389038, 455.303985, 35.784999, 5.199999, 0.000000, 149.500000, -1, -1, -1 );
CreateDynamicObject( 3525, -2055.501953, 464.440002, 35.490001, 5.199999, 0.000000, 94.199996, -1, -1, -1 );
CreateDynamicObject( 1498, -2036.599487, 450.676177, 34.102359, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
CreateDynamicObject( 3928, -2067.577880, 487.506011, 138.736999, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
CreateDynamicObject( 3928, -2067.577880, 467.596008, 138.736999, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
CreateDynamicObject( 3928, -2025.397949, 443.855987, 138.736999, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
SetDynamicObjectMaterial( CreateDynamicObject( 3928, -2042.818969, 443.686004, 138.736999, 0.000000, 0.000000, 90.000000, -1, -1, -1 ), 0, 16150, "ufo_bar", "GEwhite1_64", 0 );
CreateDynamicObject( 3852, -2069.428222, 442.150970, 140.281997, 0.000000, 0.000000, 41.200000, -1, -1, -1 );
SetDynamicObjectMaterialText( CreateDynamicObject( 3074, -2016.600097, 482.661224, 31.985614, 0.000000, 0.000000, 0.000000, -1, -1, -1 ), 0, "Silent Squad HQ", 130, "Times New Roman", 32, 1, -1, 0, 1 );
CreateDynamicObject( 1498, -2067.575683, 442.742401, 138.752471, 0.000000, 0.000000, 131.400054, -1, -1, -1 );
}

View File

@ -255,6 +255,8 @@ stock removeExcessiveBuildings( playerid )
RemoveBuildingForPlayer(playerid, 6922, 2549.3906, 2018.9844, 12.7734, 0.25); // Ahmmy LV Cafe
RemoveBuildingForPlayer(playerid, 2779, -21.8125, -57.7656, 1002.5859, 0.25); // gas station fix
RemoveBuildingForPlayer(playerid, 2872, -20.5234, -57.7734, 1002.5859, 0.25); // gas station fix
RemoveBuildingForPlayer( playerid, 792, -2035.648681, 473.131896, 35.172294, 25.000 ); // facility trees (dope casino)
RemoveBuildingForPlayer( playerid, 1227, -2751.422119, 94.378883, 7.031250, 10.000 ); // shini trash facility
// Wolfganja (Diamond Donor)
RemoveBuildingForPlayer(playerid, 1280, -2911.4219, 422.3516, 4.2891, 60.0);

View File

@ -5186,4 +5186,13 @@ stock initializeServerObjects( )
CreateDynamicObject( 3525, -6960.127929, -255.386993, 837.955017, 0.000000, 0.000000, 90.000000, -1, -1, -1 );
CreateDynamicObject( 3525, -6947.603027, -255.386993, 837.955017, 0.000000, 0.000000, -90.000000, -1, -1, -1 );
CreateDynamicObject( 19799, -6963.830078, -226.041000, 836.981994, 0.000000, 0.000000, 180.000000, -1, -1, -1 );
// Militia Ship
CreateDynamicObject( 2669, -2369.144531, 1553.250122, 2.337187, 0.000000, 0.000000, -61.999828, -1, -1, -1 );
CreateDynamicObject( 19618, -2367.718505, 1554.580566, 2.517187, 0.000000, 0.000000, -60.799999, -1, -1, -1 );
CreateDynamicObject( 19618, -2367.308349, 1553.842651, 1.567188, 0.000000, 0.000000, -60.799999, -1, -1, -1 );
CreateDynamicObject( 19619, -2368.120849, 1554.828125, 2.517187, 0.000000, 0.000000, -60.799999, -1, -1, -1 );
CreateDynamicObject( 19619, -2367.710693, 1554.091674, 1.567188, 0.000000, 0.000000, -60.799999, -1, -1, -1 );
CreateDynamicObject( 2607, -2376.293945, 1553.312988, 1.487188, 0.000000, 0.000000, 0.000000, -1, -1, -1 );
CreateDynamicObject( 1514, -2375.768554, 1553.325317, 2.117187, 0.000000, 0.000000, 22.000122, -1, -1, -1 );
}

View File

@ -0,0 +1,209 @@
/*
* Irresistible Gaming (c) 2018
* Developed by Lorenc Pekaj
* Module:
* Purpose:
*/
/* ** Includes ** */
#include < YSI\y_hooks >
/* ** Definitions ** */
#define MAX_FACILITIES ( 16 )
enum E_GANG_FACILITIES
{
E_GANG_SQL_ID, E_TURF_ID,
Text3D: E_LABEL[ 2 ], E_CHECKPOINT[ 2 ],
Float: E_X, Float: E_Y, Float: E_Z
};
/* ** Variables ** */
new
g_gangFacilities [ MAX_FACILITIES ] [ E_GANG_FACILITIES ],
// g_gangsWithFacilities [ MAX_FACILITIES ],
Iterator: gangfacilities < MAX_FACILITIES >
;
/* ** Hooks ** */
hook OnGameModeInit( )
{
// preload gang and facility
mysql_function_query( dbHandle, "SELECT `GANG_FACILITIES`.`ID` as `FACILITY_ID`, `GANGS`.*, `GANG_FACILITIES`.* FROM `GANGS` JOIN `GANG_FACILITIES` ON `GANGS`.`ID` = `GANG_FACILITIES`.`GANG_ID`", true, "OnGangFaciltiesLoad", "d", INVALID_PLAYER_ID );
return 1;
}
/* ** Threads ** */
thread OnGangFaciltiesLoad( )
{
new rows;
cache_get_data( rows, tmpVariable );
if ( rows )
{
new gang_name[ 30 ], join_msg[ 96 ];
for ( new row = 0; row < rows; row ++ )
{
// new facility_sql_id = cache_get_field_content_int( row, "FACILITY_ID", dbHandle );
new gang_sql_id = cache_get_field_content_int( row, "GANG_ID", dbHandle );
new gangid = ITER_NONE;
// reset name and join message appropriately
cache_get_field_content( row, "NAME", gang_name, dbHandle, sizeof( gang_name ) );
cache_get_field_content( row, "JOIN_MSG", join_msg, dbHandle, sizeof( join_msg ) );
printf( "Gang: %s, Join msg: %s", gang_name, join_msg );
// check for existing gang
foreach ( new g : gangs ) if ( g_gangData[ g ] [ E_SQL_ID ] == gang_sql_id ) {
gangid = g;
break;
}
// create gang if not exists
if ( gangid == ITER_NONE )
{
gangid = CreateGang( gang_name,
cache_get_field_content_int( row, "LEADER", dbHandle ),
cache_get_field_content_int( row, "COLOR", dbHandle ),
cache_get_field_content_int( row, "KILLS", dbHandle ),
cache_get_field_content_int( row, "DEATHS", dbHandle ),
cache_get_field_content_int( row, "BANK", dbHandle ),
cache_get_field_content_int( row, "SCORE", dbHandle ),
cache_get_field_content_int( row, "RESPECT", dbHandle ),
!! cache_get_field_content_int( row, "INVITE_ONLY", dbHandle ),
join_msg, true, gang_sql_id
);
}
// process gang creation
if ( gangid != ITER_NONE )
{
// create facility
new id = Iter_Free( gangfacilities );
if ( id != ITER_NONE )
{
g_gangFacilities[ id ] [ E_GANG_SQL_ID ] = cache_get_field_content_int( row, "GANG_ID", dbHandle );
// create turf
new turf_id = Turf_Create(
cache_get_field_content_float( row, "ZONE_MIN_X", dbHandle ),
cache_get_field_content_float( row, "ZONE_MIN_Y", dbHandle ),
cache_get_field_content_float( row, "ZONE_MAX_X", dbHandle ),
cache_get_field_content_float( row, "ZONE_MAX_Y", dbHandle ),
gangid, setAlpha( g_gangData[ gangid ] [ E_COLOR ], 0x90 ), gangid
);
// error check
if ( turf_id == ITER_NONE ) printf("[GANG FACILITIES] [*CRITICAL ERROR*] Not enough turfs are available to create for facility %d.", g_gangFacilities[ id ] [ E_GANG_SQL_ID ] );
// add to iterator
Iter_Add( gangfacilities, id );
// set variables
g_gangFacilities[ id ] [ E_GANG_SQL_ID ] = gang_sql_id;
g_gangFacilities[ id ] [ E_TURF_ID ] = turf_id;
g_gangFacilities[ id ] [ E_X ] = cache_get_field_content_float( row, "ENTER_X", dbHandle );
g_gangFacilities[ id ] [ E_Y ] = cache_get_field_content_float( row, "ENTER_Y", dbHandle );
g_gangFacilities[ id ] [ E_Z ] = cache_get_field_content_float( row, "ENTER_Z", dbHandle );
g_gangFacilities[ id ] [ E_CHECKPOINT ] [ 0 ] = CreateDynamicCP( g_gangFacilities[ id ] [ E_X ], g_gangFacilities[ id ] [ E_Y ], g_gangFacilities[ id ] [ E_Z ], 1.0, -1, 0, -1, 100.0 );
format( szNormalString, sizeof( szNormalString ), "Gang Facility\n"COL_WHITE" %s", gang_name );
g_gangFacilities[ id ] [ E_LABEL ] [ 0 ] = CreateDynamic3DTextLabel( szNormalString, g_gangData[ gangid ] [ E_COLOR ], g_gangFacilities[ id ] [ E_X ], g_gangFacilities[ id ] [ E_Y ], g_gangFacilities[ id ] [ E_Z ], 20.0 );
}
else
{
printf("[GANG FACILITIES] [ERROR] No more slows available to insert more facilities (%d)!", MAX_FACILITIES );
break;
}
}
}
}
return 1;
}
/* ** Functions ** */
stock SetPlayerToGangFacility( playerid, handle )
{
// preload interior
pauseToLoad( playerid );
UpdatePlayerEntranceExitTick( playerid );
// set player position
SetPlayerPos( playerid, g_gangFacilities[ handle ] [ E_X ], g_gangFacilities[ handle ] [ E_Y ], g_gangFacilities[ handle ] [ E_Z ] );
SetPlayerVirtualWorld( playerid, 0 );
SetPlayerInterior( playerid, 0 );
}
/*
new gz_gangzoneid = 0;
new gz_state = 0;
new Float: gz_minx;
new Float: gz_miny;
new Float: gz_maxx;
new Float: gz_maxy;
CMD:switch( playerid, params[ ] ) {
gz_state = strval( params );
if ( gz_state == 2 ) printf("%f, %f, %f, %f\n", gz_minx, gz_miny, gz_maxx, gz_maxy);
return 1;
}
hook OnPlayerUpdate( playerid )
{
static Float: X, Float: Y, Float: Z;
if ( gz_state != 2 )
{
GetPlayerPos( playerid, X, Y, Z );
if ( gz_state == 0 ) gz_minx = X, gz_miny = Y;
else if ( gz_state == 1 ) gz_maxx = X, gz_maxy = Y;
GangZoneDestroy( gz_gangzoneid );
gz_gangzoneid = GangZoneCreate( gz_minx, gz_miny, gz_maxx, gz_maxy );
GangZoneShowForPlayer( playerid, gz_gangzoneid, COLOR_RED );
}
return 1;
}*/
/* ** SCHEMA ** */
/*
CREATE TABLE IF NOT EXISTS GANG_FACILITIES (
ID int(11) AUTO_INCREMENT primary key,
GANG_ID int(11),
ENTER_X float,
ENTER_Y float,
ENTER_Z float,
ZONE_MIN_X float,
ZONE_MIN_Y float,
ZONE_MAX_X float,
ZONE_MAX_Y float
);
TRUNCATE TABLE GANG_FACILITIES;
INSERT INTO GANG_FACILITIES (GANG_ID, ENTER_X, ENTER_Y, ENTER_Z, ZONE_MIN_X, ZONE_MIN_Y, ZONE_MAX_X, ZONE_MAX_Y) VALUES
(14, -2056.4568,453.9176,35.1719, -2068, 446.5, -2009, 501.5),
(6977, -1697.5094,883.6597,24.8982, -1723, 857.5, -1642, 911.5),
(3885, -1606.2400,773.2818,7.1875, -1642, 755.5, -1563, 829.5),
(4011, -1715.8917,1018.1326,17.9178,-1803, 964.5, -1722, 1037.5),
(4011, -2754.3115, 90.5159, 7.0313, -2763, 78.5, -2710, 154.5),
(7138, -2588.1001,59.9101,4.3544,-2613, 49.5, -2532, 79.5);
CREATE TABLE IF NOT EXISTS GANG_FACILITIES_VEHICLES (
`ID` int(11) primary key auto_increment,
`GANG_ID` int(11),
`MODEL` int(3),
`PRICE` int(11),
`COLOR1` int(3),
`COLOR2` int(3),
`PAINTJOB` tinyjob(1)
`MODS` varchar(96)
);
*/

View File

@ -13,3 +13,54 @@
#define INVALID_GANG_ID ( -1 )
#define MAX_COLEADERS ( 3 )
/* ** Variables ** */
enum e_gang_data
{
E_SQL_ID, E_NAME[ 30 ], E_LEADER,
E_COLOR, E_SOFT_DELETE_TS,
E_BANK, E_KILLS, E_DEATHS,
E_SCORE, E_RESPECT,
E_COLEADER[ MAX_COLEADERS ], bool: E_INVITE_ONLY, E_JOIN_MSG[ 96 ],
bool: E_HAS_FACILITY
};
enum E_GANG_LEAVE_REASON
{
GANG_LEAVE_QUIT,
GANG_LEAVE_KICK,
GANG_LEAVE_UNKNOWN
};
new
g_gangColors[ ] = { 0x99FF00FF, 0x00CC00FF, 0x009999FF, 0x0033CCFF, 0x330099FF, 0x660099FF, 0xCC0099FF },
g_gangData [ MAX_GANGS ] [ e_gang_data ],
g_sortedGangData [ MAX_GANGS ] [ e_gang_data ], // used for sorting only
p_GangID [ MAX_PLAYERS ],
bool: p_gangInvited [ MAX_PLAYERS ] [ MAX_GANGS ],
p_gangInviteTick [ MAX_PLAYERS ],
Iterator:gangs<MAX_GANGS>
;
/* ** Forwards ** */
forward OnPlayerLeaveGang( playerid, gangid, reason );
forward ZoneTimer( );
/* ** Hooks ** */
hook OnGameModeInit( )
{
#if !defined DEBUG_MODE
// Remove inactive gang members
mysql_single_query( "UPDATE `USERS` SET `GANG_ID`=-1 WHERE UNIX_TIMESTAMP()-`USERS`.`LASTLOGGED` > 1209600" );
// Remove gangs with a non existant gang leader / unmatched player gang id to gang leader id
mysql_single_query( "DELETE g FROM GANGS g LEFT JOIN USERS u ON g.LEADER = u.ID WHERE u.GANG_ID != g.ID OR u.ID IS NULL" );
#endif
return 1;
}

View File

@ -15,8 +15,7 @@
#define MAX_TURFS ( sizeof( g_gangzoneData ) )
#endif
#define TURF_TAKEOVER_TIME ( 65 ) // time = -5 * members + 70 <- [y-intercept]
#define TURF_TAKEOVER_TIME_MIN ( 20 ) // minimum of 20 seconds
#define INVALID_GANG_TURF ( -1 )
#define TAKEOVER_NEEDED_PEOPLE ( 1 )
@ -54,7 +53,23 @@ enum e_GANG_ZONE_DATA
new const
g_gangzoneData[ ] [ e_GANG_ZONE_DATA ] =
{
{ "ELS3c", 2381.677, -1494.030, 2421.030, -1454.348, 1561.60, CITY_LS },
{ "SF-CITY", -2076.0, 1036.5, -1873.0, 1088.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -2014.0, 937.5, -1873.0, 1036.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -2014.0, 829.5, -1886.0, 937.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1873.0, 937.5, -1787.0, 1112.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -2014.0, 719.5, -1886.0, 829.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1886.0, 829.5, -1788.0, 937.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1886.0, 719.5, -1788.0, 829.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1788.0, 829.5, -1723.0, 937.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1723.0, 829.5, -1642.0, 937.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1642.0, 829.5, -1564.0, 937.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1564.0, 828.5, -1421.0, 1015.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1667.0, 720.5, -1563.0, 829.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1788.0, 719.5, -1667.0, 829.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1787.0, 935.5, -1704.0, 1037.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -1787.0, 1037.5, -1704.0, 1112.5, TURF_SIZE_LARGE, CITY_SF },
{ "SF-CITY", -2130.0, 816.5, -2014.0, 1036.5, TURF_SIZE_LARGE, CITY_SF }
/*{ "ELS3c", 2381.677, -1494.030, 2421.030, -1454.348, 1561.60, CITY_LS },
{ "LVA5", 1236.630, 1163.410, 1277.050, 1203.280, 1611.54, CITY_LV },
{ "BINT3", 1277.050, 1044.687, 1315.348, 1087.630, 1644.62, CITY_LV },
{ "SUN3c", 1252.328, -926.999, 1357.000, -910.169, 1761.63, CITY_LS },
@ -364,7 +379,7 @@ new const
{ "SFAIR1", -1794.920, -730.117, -1213.910, -50.096, 395099.00, CITY_SF },
{ "PANOP", -947.979, -304.320, -319.674, 327.071, 396706.12, CITY_COUNTRY },
{ "CREEK", -1820.640, -2643.677, -1226.780, -1771.660, 517855.96, CITY_COUNTRY },
{ "BACKO", -1166.968, -2641.187, -321.743, -1856.030, 663634.31, CITY_COUNTRY }
{ "BACKO", -1166.968, -2641.187, -321.743, -1856.030, 663634.31, CITY_COUNTRY }*/
}
;
@ -375,7 +390,8 @@ enum E_TURF_ZONE_DATA {
E_OWNER,
E_COLOR,
E_AREA
E_AREA,
E_FACILITY_GANG
};
new
@ -388,8 +404,7 @@ new
;
/* ** Forwards ** */
forward OnPlayerEnterGangZone( playerid, zoneid );
forward OnPlayerExitGangZone( playerid, zoneid );
forward OnPlayerUpdateGangZone( playerid, zoneid );
/* ** Hooks ** */
hook OnGameModeInit( )
@ -403,27 +418,40 @@ hook OnGameModeInit( )
hook OnPlayerEnterDynArea( playerid, areaid )
{
if ( ! IsPlayerNPC( playerid ) ) {
foreach( new i : turfs ) if ( areaid == g_gangTurfData[ i ] [ E_AREA ] ) {
CallLocalFunction( "OnPlayerEnterGangZone", "dd", playerid, i );
break;
}
if ( ! IsPlayerNPC( playerid ) )
{
new
first_turf = Turf_GetFirstTurf( playerid );
CallLocalFunction( "OnPlayerUpdateGangZone", "dd", playerid, first_turf );
}
return Y_HOOKS_CONTINUE_RETURN_1;
}
hook OnPlayerLeaveDynArea( playerid, areaid ) {
if ( ! IsPlayerNPC( playerid ) ) {
foreach( new i : turfs ) if ( areaid == g_gangTurfData[ i ] [ E_AREA ] ) {
CallLocalFunction( "OnPlayerExitGangZone", "dd", playerid, i );
break;
hook OnPlayerLeaveDynArea( playerid, areaid )
{
if ( ! IsPlayerNPC( playerid ) )
{
new
total_areas = GetPlayerNumberDynamicAreas( playerid );
// reduced to another area
if ( total_areas )
{
new
first_turf = Turf_GetFirstTurf( playerid );
CallLocalFunction( "OnPlayerUpdateGangZone", "dd", playerid, first_turf );
}
// if the player is in no areas, then they left
else CallLocalFunction( "OnPlayerUpdateGangZone", "dd", playerid, INVALID_GANG_TURF );
}
return Y_HOOKS_CONTINUE_RETURN_1;
}
/* ** Functions ** */
stock Turf_Create( Float: min_x, Float: min_y, Float: max_x, Float: max_y, owner_id = INVALID_GANG_ID, color = COLOR_GANGZONE )
stock Turf_Create( Float: min_x, Float: min_y, Float: max_x, Float: max_y, owner_id = INVALID_GANG_ID, color = COLOR_GANGZONE, facility_gang_id = INVALID_GANG_ID )
{
new
id = Iter_Free( turfs );
@ -433,6 +461,7 @@ stock Turf_Create( Float: min_x, Float: min_y, Float: max_x, Float: max_y, owner
// set turf owners
g_gangTurfData[ id ] [ E_OWNER ] = owner_id;
g_gangTurfData[ id ] [ E_COLOR ] = color;
g_gangTurfData[ id ] [ E_FACILITY_GANG ] = facility_gang_id;
// create area
g_gangTurfData[ id ] [ E_ID ] = GangZoneCreate( min_x, min_y, max_x, max_y );
@ -444,25 +473,55 @@ stock Turf_Create( Float: min_x, Float: min_y, Float: max_x, Float: max_y, owner
return id;
}
stock Zone_GetProfitability( zoneid, gang_members, Float: default_pay = 750.0 )
stock Turf_GetFirstTurf( playerid )
{
new
current_areas[ 4 ];
GetPlayerDynamicAreas( playerid, current_areas );
foreach( new i : Reverse(turfs) )
{
if ( current_areas[ 0 ] == g_gangTurfData[ i ] [ E_AREA ] || current_areas[ 1 ] == g_gangTurfData[ i ] [ E_AREA ] || current_areas[ 2 ] == g_gangTurfData[ i ] [ E_AREA ] || current_areas[ 3 ] == g_gangTurfData[ i ] [ E_AREA ] )
{
return i;
}
}
return -1;
}
stock Turf_GetProfitability( zoneid, gang_members, Float: default_pay = 5000.0 )
{
// size adjustments
if ( g_gangzoneData[ zoneid ] [ E_SIZE ] < TURF_SIZE_SMALL ) // lower than 1st quartile, decrease pay
default_pay *= 0.75;
//if ( g_gangzoneData[ zoneid ] [ E_SIZE ] < TURF_SIZE_SMALL ) // lower than 1st quartile, decrease pay
// default_pay *= 0.75;
if ( g_gangzoneData[ zoneid ] [ E_SIZE ] > TURF_SIZE_LARGE ) // higher than 1st quartile, increase pay
default_pay *= 1.25;
// Normal Gang Zones
if ( zoneid < sizeof( g_gangzoneData ) )
{
if ( g_gangzoneData[ zoneid ] [ E_SIZE ] > TURF_SIZE_LARGE ) // higher than 1st quartile, increase pay
default_pay *= 1.25;
// city adjustments
if ( g_gangzoneData[ zoneid ] [ E_CITY ] == CITY_SF )
default_pay *= 1.25;
// city adjustments
if ( g_gangzoneData[ zoneid ] [ E_CITY ] == CITY_SF )
default_pay *= 1.25;
if ( g_gangzoneData[ zoneid ] [ E_CITY ] == CITY_COUNTRY || g_gangzoneData[ zoneid ] [ E_CITY ] == CITY_DESERTS )
default_pay *= 1.1;
if ( g_gangzoneData[ zoneid ] [ E_CITY ] == CITY_COUNTRY || g_gangzoneData[ zoneid ] [ E_CITY ] == CITY_DESERTS )
default_pay *= 1.1;
}
// facility 2x
if ( g_gangTurfData[ zoneid ] [ E_FACILITY_GANG ] != INVALID_GANG_ID )
default_pay *= 2;
// get online players
new Float: player_boost = 0.06 * float( gang_members ) + 0.75;
default_pay *= player_boost > 1.35 ? 1.35 : player_boost;
new Float: player_boost = 0.0;
if ( gang_members >= 10 ) player_boost = 1.5;
else if ( gang_members > 1 ) player_boost = 1.0 + float( gang_members - 1 ) * 0.05;
// max boost
default_pay *= player_boost > 1.5 ? 1.5 : player_boost;
// return rounded number
return floatround( default_pay );

View File

@ -294,36 +294,23 @@ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
}
}
}
else if ( dialogid == DIALOG_VISAGE_SPAWN && response )
else if ( dialogid == DIALOG_VISAGE_SPAWN )
{
if ( listitem == 0 ) {
DeletePVar( playerid, "visage_spawn" );
SendServerMessage( playerid, "You have canceled your apartment spawning." );
} else {
new
x = 1;
if ( ! response )
return ShowPlayerSpawnMenu( playerid );
foreach ( new handle : visageapartments ) if ( g_VisageApartmentData[ handle ] [ E_OWNER_ID ] == GetPlayerAccountID( playerid ) ) {
if ( x == listitem ) {
SetPVarInt( playerid, "visage_spawn", handle );
SendServerMessage( playerid, "Apartment spawning has been set at "COL_GREY"%s"COL_WHITE".", g_VisageApartmentData[ handle ] [ E_TITLE ] );
break;
}
x ++;
new
x = 0;
foreach ( new handle : visageapartments ) if ( g_VisageApartmentData[ handle ] [ E_OWNER_ID ] == GetPlayerAccountID( playerid ) ) {
if ( x == listitem ) {
SetPlayerSpawnLocation( playerid, "VIZ", handle );
SendServerMessage( playerid, "Visage apartment spawning has been set at "COL_GREY"%s"COL_WHITE".", g_VisageApartmentData[ handle ] [ E_TITLE ] );
break;
}
return 1;
x ++;
}
}
return 1;
}
hook SetPlayerRandomSpawn( playerid )
{
if ( GetPVarType( playerid, "visage_spawn" ) != PLAYER_VARTYPE_NONE )
{
new handle = GetPVarInt( playerid, "visage_spawn" );
SetPlayerToVisageApartment( playerid, handle );
return Y_HOOKS_BREAK_RETURN_1;
return 1;
}
return 1;
}
@ -345,16 +332,8 @@ CMD:visage( playerid, params[ ] )
}
else if ( strmatch( params, "spawn" ) )
{
new
apartments = 0;
szBigString = ""COL_GREY"Set Back To Normal\n";
foreach ( new handle : visageapartments ) if ( g_VisageApartmentData[ handle ] [ E_OWNER_ID ] == GetPlayerAccountID( playerid ) ) {
format( szBigString, sizeof( szBigString ), "%s%s\n", szBigString, g_VisageApartmentData[ handle ] [ E_TITLE ] );
apartments ++;
}
if ( ! apartments ) return SendError( playerid, "You do not own a Visage apartment." );
return ShowPlayerDialog( playerid, DIALOG_VISAGE_SPAWN, DIALOG_STYLE_LIST, "{FFFFFF}Set Spawn Location", szBigString, "Select", "Cancel" );
SendServerMessage( playerid, "We have changed the command to simply "COL_GREY"/spawn"COL_WHITE"." );
return ShowPlayerSpawnMenu( playerid );
}
return SendUsage( playerid, "/visage [CONFIG/SPAWN]" );
}

View File

@ -36,9 +36,7 @@
// gangs and facilities
#include < irresistible\features\gangs\gangs >
#if defined DEBUG_MODE
#include < irresistible\features\gangs\facilities >
#endif
#include < irresistible\features\gangs\facilities >
#include < irresistible\features\gangs\turfs >
// visage casino

View File

@ -1,4 +1,9 @@
(+) Explosive bullets now available at the casino. Press Y to activate.
(+) You will be now told when gang members enter the turf you are attacking.
(+) You can now rob the Militia at the large ship near Jizzy's.
(+) Hitman now take 25% of whatever the player loses in potential tax. Richer the player, the more you make!
(+) If the territory gang owner has more than 250K in their gang bank, capturing their turf will instantly pay you.
(/) Players no longer need to press ENTER to access a house/business. Just walk in.
(/) You will have 60 seconds to rejoin the server before you lose your turfs.
(/) ChuffSec now pays more handsomely.
(/) Default take over time is now 60 seconds. -10 seconds for every gang member in your gang.
(/) Business security is now cheaper and based off the type of business.
(*) Fixes a death bug issue after being killed by an explosive.
(*) Damaging a drug house bot will trigger them to all shoot.

View File

@ -1,7 +1,7 @@
echo Executing Server Config...
lanmode 0
rcon_password lo
maxplayers 325
maxplayers 334
port 7777
hostname » Call of Duty For SA-MP (0.3.7) «
gamemode0 sf-cnr 1
@ -15,7 +15,7 @@ weapon_rate 40
stream_distance 300.0
stream_rate 1000
plugins crashdetect mysql Whirlpool regex gvar FileManager FCNPC mapandreas sscanf streamer sampac RouteConnectorPlugin TPoker MerRandom
maxnpc 202
maxnpc 209
logtimeformat [%H:%M:%S]
language All
messageslimit 10000