PDA

View Full Version : Getting crashed after spawning 2 or 3 times.


Pravin
27/07/2013, 09:31 AM
Well, i get crashed after i get spawned 4th time.

The crash :
SA-MP 0.3x-R1-2
Exception At Address: 0x02287567
Base: 0x02220000

Registers:
EAX: 0xC4FE7740 EBX: 0x00000000 ECX: 0x00000000 EDX: 0x00000034
ESI: 0xC4FE7774 EDI: 0x0170F9A0 EBP: 0x0170F9A0 ESP: 0x0022F9D4
EFLAGS: 0x00210282

Stack:
+0000: 0x02BFB9EC 0x022A4F5D 0x00000001 0x02BFB9EC
+0010: 0x007FDE14 0x027C7F90 0x00000000 0x0170F9A0
+0020: 0x00000000 0x0022FCD8 0x0022FCE1 0x007FE7DC
+0030: 0x02BFB9B8 0x00000000 0x00000000 0x00220002
+0040: 0x00727B53 0x00000001 0x02BFB9B8 0x00719867
+0050: 0x00220002 0x00000000 0x00719F01 0x440C5F33
+0060: 0x42C0DB6F 0x0022FCD8 0x00000000 0x00719F48
+0070: 0x442B0000 0x0022FCE1 0x0022FCD8 0x0022FC01
+0080: 0xFF2C6836 0x00000000 0x0071A56A 0x440C5F33
+0090: 0x42C60001 0xFF2C6836 0x40000000 0x00000000
+00A0: 0x442B0000 0x42C60001 0x00000190 0x0022FCD8
+00B0: 0x002CF117 0x42F50669 0x440C5F33 0x00000001
+00C0: 0x42F50669 0x00000000 0x42C60001 0x00000000
+00D0: 0x0022FBCC 0xFF2C6836 0x0000D9B7 0x0022FA58
+00E0: 0x0022FB10 0x4FF51700 0x00000000 0x00000006
+00F0: 0x015A7E40 0x00000002 0x015A7E40 0x00000002
+0100: 0x0022FB14 0x4FE587B7 0x015A7E40 0x00000006
+0110: 0x00000415 0x00000002 0x0160547C 0x00C804D8
+0120: 0x00000004 0x015A7E44 0x00000000 0x00000000
+0130: 0x0022FAEC 0x0022FFB0 0x4FF51638 0x00000001
+0140: 0x00000002 0x007FBCED 0x015A7E44 0x00000006
+0150: 0x00000415 0x00000002 0x00000045 0x000000FF
+0160: 0x00000000 0xFF1D19B4 0x0160540C 0x00000045
+0170: 0x007FE8B9 0x30303400 0x00000045 0xFF1D19B4
+0180: 0x0072897F 0x0000000C 0x00000000 0x00000000
+0190: 0x00000000 0x00000007 0x00000000 0x0000001D
+01A0: 0x00000000 0x00000000 0x00000008 0x00000000
+01B0: 0x42C20000 0x00000009 0x00000003 0x0022FB49
+01C0: 0xFFFFFFFD 0x00000048 0xEDC4698E 0x0022FBDC
+01D0: 0x00821BE4 0x0022FBBC 0x00866C99 0x0071A807
+01E0: 0x00000001 0x442B0000 0x42C60001 0x0022FCD8
+01F0: 0x00000000 0x00000005 0x000000FF 0x0058F593
+0200: 0x00000002 0x00000000 0x0058F5E9 0x0058F60C
+0210: 0x442B0000 0x42C60001 0x0022FCD8 0x00000000
+0220: 0x00000000 0x7E420762 0x00000000 0x44340000
+0230: 0x00000000 0x046746A8 0xFF000000 0x30303024
+0240: 0x30343030 0x00000030 0x0B0E1998 0xFFFFFFFF
+0250: 0x0022FD90 0x00000000 0xFFFFFFFF 0xFFFFFFFF
+0260: 0x0228F44E 0x022ED7C0 0x046746A8 0x00000000
+0270: 0x000007D0 0xFFFFFFFF 0x0022FCA0 0x00000000

SCM Op: 0x470, lDbg: 0 LastRendObj: 18345

Game Version: US 1.0

State Information: Ped Context: 0



My Code:
public OnPlayerSpawn(playerid)
{
ShowPlayerDialog(playerid, 321, DIALOG_STYLE_LIST,"Choose your Class:","- Soldier Class -\n- Sniper Class -","Choose","");
TextDrawHideForPlayer(playerid, C);
TextDrawHideForPlayer(playerid, T);
RemoveBuildingForPlayer(playerid, 18486, -2206.0781, -2638.9141, 47.7734, 0.25);
RemoveBuildingForPlayer(playerid, 18489, -2016.0078, -2431.5156, 33.8750, 0.25);
RemoveBuildingForPlayer(playerid, 18490, -2057.0391, -2552.9375, 40.8906, 0.25);
RemoveBuildingForPlayer(playerid, 18492, -2293.5938, -2421.8438, 30.9844, 0.25);
RemoveBuildingForPlayer(playerid, 18493, -2253.0781, -2291.0000, 25.7734, 0.25);
RemoveBuildingForPlayer(playerid, 18495, -2229.4375, -2515.9063, 30.1563, 0.25);
RemoveBuildingForPlayer(playerid, 18497, -2149.6641, -2362.4297, 33.2344, 0.25);
RemoveBuildingForPlayer(playerid, 18498, -2108.7656, -2398.4766, 34.1797, 0.25);
RemoveBuildingForPlayer(playerid, 3322, -2233.5391, -2484.9922, 32.5547, 0.25);
RemoveBuildingForPlayer(playerid, 3323, -2198.3359, -2512.8594, 32.4688, 0.25);
RemoveBuildingForPlayer(playerid, 3325, -2205.5469, -2449.6172, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 3324, -2170.3438, -2477.6406, 32.5547, 0.25);
RemoveBuildingForPlayer(playerid, 3325, -2178.7734, -2528.4219, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 3325, -2159.2031, -2543.9844, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 3323, -2135.1172, -2505.6641, 32.4688, 0.25);
RemoveBuildingForPlayer(playerid, 3318, -2221.6953, -2396.1406, 31.0781, 0.25);
RemoveBuildingForPlayer(playerid, 3320, -2243.2578, -2423.3438, 31.2031, 0.25);
RemoveBuildingForPlayer(playerid, 18523, -2186.9688, -2327.4844, 30.9063, 0.25);
RemoveBuildingForPlayer(playerid, 18524, -2171.0469, -2416.6406, 30.3906, 0.25);
RemoveBuildingForPlayer(playerid, 18525, -2183.7656, -2422.2344, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 18527, -2100.2188, -2285.5000, 33.1875, 0.25);
RemoveBuildingForPlayer(playerid, 18528, -2097.4531, -2430.1953, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18529, -2077.2344, -2444.9375, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18530, -2153.8672, -2453.3828, 29.8438, 0.25);
RemoveBuildingForPlayer(playerid, 18531, -2139.7266, -2437.5781, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18532, -2096.1484, -2340.1719, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18533, -2111.4453, -2478.1250, 29.6563, 0.25);
RemoveBuildingForPlayer(playerid, 18536, -2055.6328, -2461.0156, 29.6719, 0.25);
RemoveBuildingForPlayer(playerid, 3341, -2099.6094, -2534.1563, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3341, -2076.5938, -2524.5234, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3341, -2032.8516, -2537.5000, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3340, -2085.7031, -2548.3828, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3340, -2038.7734, -2559.2422, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3340, -2064.0391, -2536.6563, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3339, -2085.5547, -2512.0781, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3339, -2067.2578, -2563.1094, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3339, -2043.5859, -2520.9219, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3339, -2067.7266, -2496.5000, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3342, -2056.7109, -2505.1953, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3342, -2051.3906, -2545.9844, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18540, -2146.9922, -2307.7344, 29.5313, 0.25);
RemoveBuildingForPlayer(playerid, 18541, -2110.1094, -2314.6250, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 18542, -2149.6328, -2404.5859, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 18543, -2152.1484, -2418.6719, 29.5313, 0.25);
RemoveBuildingForPlayer(playerid, 18544, -2208.9375, -2418.0156, 29.6016, 0.25);
RemoveBuildingForPlayer(playerid, 18545, -2180.2266, -2490.9063, 29.5938, 0.25);
RemoveBuildingForPlayer(playerid, 18546, -2048.6016, -2487.2656, 32.3047, 0.25);
RemoveBuildingForPlayer(playerid, 18547, -2121.1094, -2488.0469, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 18554, -2100.3516, -2469.6094, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 18452, -2244.1719, -2560.9141, 33.8203, 0.25);
RemoveBuildingForPlayer(playerid, 1686, -2246.7031, -2559.7109, 31.0625, 0.25);
RemoveBuildingForPlayer(playerid, 1686, -2241.7188, -2562.2891, 31.0625, 0.25);
RemoveBuildingForPlayer(playerid, 18232, -2230.0547, -2562.5000, 30.8594, 0.25);
RemoveBuildingForPlayer(playerid, 18352, -2206.0781, -2638.9141, 47.7734, 0.25);
RemoveBuildingForPlayer(playerid, 768, -2176.7109, -2580.8047, 30.2734, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2118.0547, -2577.8906, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 767, -2160.4219, -2566.6641, 29.5156, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2108.5703, -2566.9688, 35.8672, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2182.7109, -2554.9688, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2126.0938, -2557.2031, 35.8672, 0.25);
RemoveBuildingForPlayer(playerid, 3169, -2067.2578, -2563.1094, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3167, -2038.7734, -2559.2422, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 777, -2233.7813, -2547.9297, 29.8281, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2236.5781, -2537.5625, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 767, -2202.9375, -2534.0703, 29.5156, 0.25);
RemoveBuildingForPlayer(playerid, 777, -2267.3203, -2527.2734, 29.4297, 0.25);
RemoveBuildingForPlayer(playerid, 777, -2250.2422, -2525.6172, 31.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18215, -2241.1875, -2523.3125, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 18393, -2229.4375, -2515.9063, 30.1563, 0.25);
RemoveBuildingForPlayer(playerid, 3310, -2178.7734, -2528.4219, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 777, -2265.6953, -2506.4766, 27.0234, 0.25);
RemoveBuildingForPlayer(playerid, 1503, -2250.6641, -2496.6797, 29.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2231.6953, -2506.7344, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2203.1953, -2499.1875, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2206.6563, -2503.5391, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2204.8984, -2493.8750, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2204.1250, -2492.0703, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 773, -2219.9297, -2492.1563, 29.4922, 0.25);
RemoveBuildingForPlayer(playerid, 3313, -2198.3359, -2512.8594, 32.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2184.4531, -2508.0469, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2188.8203, -2504.6094, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2189.3125, -2506.3828, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 3311, -2233.5391, -2484.9922, 32.5547, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2256.6953, -2484.7188, 28.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2221.2656, -2478.7188, 30.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2220.1094, -2474.9453, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2225.8047, -2475.2500, 30.1797, 0.25);
RemoveBuildingForPlayer(playerid, 774, -2249.1719, -2466.0859, 28.2500, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2238.8203, -2467.1953, 28.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2213.3203, -2478.9375, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2190.9531, -2482.9531, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2199.6875, -2469.7813, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2186.7188, -2471.4844, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2183.3281, -2491.0313, 33.9688, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2183.9141, -2465.4219, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2184.0234, -2474.7422, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2181.2109, -2484.9297, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2181.1016, -2471.1094, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 775, -2179.6406, -2483.0781, 29.5625, 0.25);
RemoveBuildingForPlayer(playerid, 18482, -2180.2266, -2490.9063, 29.5938, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2115.0859, -2553.8750, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2162.8672, -2552.8906, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 3310, -2159.2031, -2543.9844, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2131.2188, -2544.8672, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2137.8828, -2546.4141, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2135.8750, -2526.1641, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 782, -2119.5234, -2539.1719, 29.5625, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2163.2969, -2520.0234, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2155.9609, -2522.8203, 33.9688, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2172.8906, -2517.1875, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2173.1563, -2520.0391, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2177.2578, -2513.7500, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2155.7734, -2511.2656, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2178.1406, -2507.2500, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18205, -2129.8828, -2503.2891, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 3313, -2135.1172, -2505.6641, 32.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2130.3438, -2519.7422, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2126.8750, -2515.3984, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 782, -2128.3438, -2508.1641, 29.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2109.7734, -2519.3203, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2121.4844, -2500.6484, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2105.9141, -2495.7969, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2125.8125, -2497.1719, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2164.5078, -2498.0938, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2176.6250, -2493.7422, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2148.4531, -2493.0469, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1437, -2177.4531, -2494.6563, 30.7656, 0.25);
RemoveBuildingForPlayer(playerid, 1440, -2128.9844, -2493.1563, 30.0938, 0.25);
RemoveBuildingForPlayer(playerid, 782, -2139.2813, -2494.8594, 29.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2177.6016, -2487.8203, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2173.9844, -2490.7109, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 775, -2173.8047, -2487.4688, 29.5625, 0.25);
RemoveBuildingForPlayer(playerid, 782, -2164.2031, -2486.8750, 29.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1438, -2133.6719, -2489.4141, 29.5781, 0.25);
RemoveBuildingForPlayer(playerid, 1441, -2119.1719, -2484.2500, 30.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1440, -2108.9844, -2488.5938, 30.0938, 0.25);
RemoveBuildingForPlayer(playerid, 18484, -2121.1094, -2488.0469, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 3312, -2170.3438, -2477.6406, 32.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1522, -2155.1563, -2459.2734, 29.8203, 0.25);
RemoveBuildingForPlayer(playerid, 1440, -2145.0547, -2459.8594, 30.0938, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2146.7344, -2462.4844, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2122.3203, -2459.6172, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 18553, -2113.0391, -2460.6172, 30.9141, 0.25);
RemoveBuildingForPlayer(playerid, 18241, -2111.4453, -2478.1250, 29.6563, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2105.9375, -2458.1563, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2108.4922, -2456.1719, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 3167, -2085.7031, -2548.3828, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3167, -2064.0391, -2536.6563, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3170, -2076.5938, -2524.5234, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3170, -2099.6094, -2534.1563, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2081.7500, -2528.0859, 29.8047, 0.25);
RemoveBuildingForPlayer(playerid, 3169, -2085.5547, -2512.0781, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18202, -2078.5000, -2505.9141, 30.2813, 0.25);
RemoveBuildingForPlayer(playerid, 18448, -2069.7734, -2514.8125, 42.5156, 0.25);
RemoveBuildingForPlayer(playerid, 3169, -2067.7266, -2496.5000, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18451, -2082.6328, -2500.2344, 30.0859, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2058.6094, -2488.1953, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2084.0547, -2486.7266, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2077.6016, -2478.2344, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2103.7734, -2479.7344, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2093.8047, -2459.6250, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2086.3359, -2465.0703, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1522, -2093.3359, -2465.7422, 29.6250, 0.25);
RemoveBuildingForPlayer(playerid, 18552, -2100.3516, -2469.6094, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2068.0000, -2465.3203, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2063.9688, -2469.0781, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 3173, -2051.3906, -2545.9844, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18353, -2057.0391, -2552.9375, 40.8906, 0.25);
RemoveBuildingForPlayer(playerid, 3169, -2043.5859, -2520.9219, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3170, -2032.8516, -2537.5000, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2033.8672, -2535.4688, 29.8047, 0.25);
RemoveBuildingForPlayer(playerid, 3173, -2056.7109, -2505.1953, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2031.6875, -2494.3828, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2035.3359, -2513.2891, 32.0391, 0.25);
RemoveBuildingForPlayer(playerid, 18233, -2055.6328, -2461.0156, 29.6719, 0.25);
RemoveBuildingForPlayer(playerid, 18476, -2048.6016, -2487.2656, 32.3047, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2028.1875, -2480.0234, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 774, -2248.6406, -2452.4766, 28.2500, 0.25);
RemoveBuildingForPlayer(playerid, 1457, -2293.9766, -2449.3281, 26.2578, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2225.0000, -2446.8828, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 3310, -2205.5469, -2449.6172, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2220.1953, -2447.9531, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2239.7578, -2441.0469, 30.4922, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2243.0156, -2441.5703, 30.6875, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2241.9219, -2439.8828, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2240.5781, -2440.5469, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2222.5313, -2441.8594, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2216.7344, -2443.6016, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 775, -2210.1016, -2442.0469, 29.6328, 0.25);
RemoveBuildingForPlayer(playerid, 1462, -2255.6406, -2430.9766, 30.8906, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2246.3516, -2438.5781, 31.0859, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2243.7266, -2438.6328, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2245.3906, -2436.7188, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2243.6328, -2439.0313, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2231.2891, -2429.7734, 30.4922, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2234.1797, -2433.5078, 30.4922, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2237.1016, -2437.1250, 30.4922, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2242.0391, -2438.4219, 29.8438, 0.25);
RemoveBuildingForPlayer(playerid, 18344, -2293.5938, -2421.8438, 30.9844, 0.25);
RemoveBuildingForPlayer(playerid, 3306, -2243.2578, -2423.3438, 31.2031, 0.25);
RemoveBuildingForPlayer(playerid, 767, -2248.5859, -2415.7734, 30.7266, 0.25);
RemoveBuildingForPlayer(playerid, 773, -2270.7656, -2420.2500, 29.0156, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2250.7188, -2376.7266, 35.0703, 0.25);
RemoveBuildingForPlayer(playerid, 776, -2234.3281, -2392.6719, 30.4531, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2225.6094, -2421.4609, 29.7578, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2226.9453, -2420.5391, 29.7578, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2226.1719, -2421.6641, 29.7578, 0.25);
RemoveBuildingForPlayer(playerid, 3309, -2221.6953, -2396.1406, 31.0781, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2217.4453, -2412.7969, 30.2578, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2220.8047, -2412.8047, 30.6719, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2216.5859, -2417.6953, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 775, -2211.4219, -2393.9531, 29.9922, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2209.7109, -2402.6719, 30.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2207.4688, -2391.0391, 30.7344, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2206.2969, -2398.3203, 30.2344, 0.25);
RemoveBuildingForPlayer(playerid, 18483, -2208.9375, -2418.0156, 29.6016, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2267.0703, -2357.0703, 33.4531, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2264.8125, -2331.7188, 31.5078, 0.25);
RemoveBuildingForPlayer(playerid, 18475, -2253.0781, -2291.0000, 25.7734, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2231.8125, -2368.0234, 35.4766, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2213.9609, -2339.3047, 30.4844, 0.25);
RemoveBuildingForPlayer(playerid, 1331, -2136.5547, -2450.5938, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 18237, -2153.8672, -2453.3828, 29.8438, 0.25);
RemoveBuildingForPlayer(playerid, 776, -2194.6641, -2451.5078, 29.6484, 0.25);
RemoveBuildingForPlayer(playerid, 18206, -2172.2344, -2447.8281, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1336, -2185.8203, -2447.4375, 30.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18207, -2204.9844, -2436.4766, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2199.3516, -2438.7266, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2203.6953, -2435.2500, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2177.3281, -2441.1875, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1328, -2176.7734, -2439.5938, 30.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1329, -2175.9766, -2438.6094, 30.1172, 0.25);
RemoveBuildingForPlayer(playerid, 1330, -2175.2656, -2437.7656, 30.1172, 0.25);
RemoveBuildingForPlayer(playerid, 18264, -2139.7266, -2437.5781, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1327, -2200.8750, -2425.2266, 30.5078, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2176.3438, -2424.5781, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 18262, -2183.8516, -2423.2656, 35.1094, 0.25);
RemoveBuildingForPlayer(playerid, 1335, -2178.0938, -2420.5781, 30.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18260, -2187.5781, -2418.9766, 31.1953, 0.25);
RemoveBuildingForPlayer(playerid, 18263, -2183.1797, -2420.9531, 37.6406, 0.25);
RemoveBuildingForPlayer(playerid, 18474, -2183.7656, -2422.2344, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2152.9922, -2428.7031, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2157.7813, -2431.9922, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2148.0625, -2422.3203, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18480, -2152.1484, -2418.6719, 29.5313, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2189.9375, -2410.5703, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2196.3984, -2408.4297, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2190.3203, -2403.5625, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2183.3984, -2394.2266, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2197.9375, -2369.1484, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1340, -2199.9922, -2386.8906, 30.7188, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2192.1328, -2381.0625, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2175.2656, -2380.2891, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1334, -2174.8594, -2365.2734, 30.7969, 0.25);
RemoveBuildingForPlayer(playerid, 18261, -2171.0469, -2416.6406, 30.3906, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2156.9141, -2409.1172, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18208, -2168.0703, -2390.2188, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2169.7656, -2385.0703, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2143.9922, -2399.6719, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18481, -2149.6328, -2404.5859, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2135.7031, -2407.1875, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2134.5469, -2413.1250, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2178.3906, -2356.4531, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18209, -2174.1328, -2344.8594, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2173.3594, -2331.6641, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18265, -2186.9688, -2327.4844, 30.9063, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2194.4531, -2329.0313, 30.3047, 0.25);
RemoveBuildingForPlayer(playerid, 18203, -2149.6641, -2362.4297, 33.2344, 0.25);
RemoveBuildingForPlayer(playerid, 18214, -2160.0625, -2308.6250, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2155.3516, -2326.9844, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2164.0859, -2313.8203, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2151.1641, -2304.3750, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2148.8828, -2327.1797, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2141.7188, -2317.8281, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18478, -2146.9922, -2307.7344, 29.5313, 0.25);
RemoveBuildingForPlayer(playerid, 18201, -2135.7813, -2359.8203, 37.6406, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2133.7891, -2299.8203, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18213, -2134.5313, -2260.6016, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 18204, -2088.6484, -2454.2969, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2112.7031, -2450.4688, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1332, -2087.9922, -2440.9453, 30.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2099.0703, -2441.3125, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2131.4688, -2429.5938, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2130.4375, -2430.4688, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2121.4375, -2437.3047, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2104.5156, -2436.2734, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1334, -2107.2109, -2423.8906, 30.7969, 0.25);
RemoveBuildingForPlayer(playerid, 18240, -2097.4531, -2430.1953, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18266, -2108.7656, -2398.4766, 34.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2122.9688, -2389.5469, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2130.7969, -2382.5781, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2108.4609, -2372.8359, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18210, -2118.6016, -2378.2109, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2098.1016, -2412.4219, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2091.8594, -2415.7109, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1332, -2085.3203, -2414.5078, 30.6406, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2122.5625, -2332.2969, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2115.9375, -2332.3359, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2128.8594, -2341.7813, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18479, -2110.1094, -2314.6250, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2130.0859, -2276.7734, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18212, -2131.9922, -2288.1250, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2111.7109, -2272.2266, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2102.1328, -2350.2656, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2106.4922, -2345.7969, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18200, -2100.2188, -2285.5000, 33.1875, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2106.1172, -2271.5938, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2098.0781, -2263.0703, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2094.3828, -2322.7422, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18211, -2095.9219, -2307.5781, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 18239, -2096.1484, -2340.1719, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2090.1641, -2298.8672, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2085.9531, -2309.6641, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1334, -2087.2031, -2343.1016, 30.7969, 0.25);
RemoveBuildingForPlayer(playerid, 18238, -2077.2344, -2444.9375, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18257, -2084.4219, -2423.7188, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2081.8438, -2428.2266, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2057.4375, -2417.0859, 34.8125, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2081.9609, -2367.0000, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2069.9297, -2401.0469, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2079.8125, -2276.8047, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2035.7266, -2432.6563, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2041.8281, -2448.4063, 34.8125, 0.25);
RemoveBuildingForPlayer(playerid, 18345, -2016.0078, -2431.5156, 33.8750, 0.25);
if(gTeam[playerid] == TEAM_C)
{
SetPlayerPos(playerid, -2109.8506,-2360.4990,31.0352);
SetPlayerFacingAngle(playerid, 122.1430);
SetPlayerColor(playerid,TEAM_C_COLOR);
SetPlayerTeam(playerid, 0);
}
if(gTeam[playerid] == TEAM_T)
{
SetPlayerPos(playerid, -2179.0652,-2585.1167,72.0893);
SetPlayerFacingAngle(playerid, 320.7169);
SetPlayerColor(playerid, TEAM_T_COLOR);
SetPlayerTeam(playerid, 1);
}

if(gClass[playerid] == SO_CLASS) {
GivePlayerWeapon(playerid, 6, 1);
GivePlayerWeapon(playerid, 18, 2);
GivePlayerWeapon(playerid, 24, 10000);
GivePlayerWeapon(playerid, 27, 10000);
GivePlayerWeapon(playerid, 31, 10000);
}

if(gClass[playerid] == SN_CLASS) {
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 16, 2);
GivePlayerWeapon(playerid, 23, 10000);
GivePlayerWeapon(playerid, 34, 10000);
GivePlayerWeapon(playerid, 29, 10000);
}

return 1;
}

Help me pls.

It doesnt happens only to me, also happens for all players in-game.

GODEX
27/07/2013, 09:42 AM
Im going to tell you right now, we cannot do anything unless we see a portion of the code which in this response will be OnPlayerSpawn

Pravin
27/07/2013, 09:48 AM
Im going to tell you right now, we cannot do anything unless we see a portion of the code which in this response will be OnPlayerSpawn

Code :

public OnPlayerSpawn(playerid)
{
ShowPlayerDialog(playerid, 321, DIALOG_STYLE_LIST,"Choose your Class:","- Soldier Class -\n- Sniper Class -","Choose","");
TextDrawHideForPlayer(playerid, C);
TextDrawHideForPlayer(playerid, T);
RemoveBuildingForPlayer(playerid, 18486, -2206.0781, -2638.9141, 47.7734, 0.25);
RemoveBuildingForPlayer(playerid, 18489, -2016.0078, -2431.5156, 33.8750, 0.25);
RemoveBuildingForPlayer(playerid, 18490, -2057.0391, -2552.9375, 40.8906, 0.25);
RemoveBuildingForPlayer(playerid, 18492, -2293.5938, -2421.8438, 30.9844, 0.25);
RemoveBuildingForPlayer(playerid, 18493, -2253.0781, -2291.0000, 25.7734, 0.25);
RemoveBuildingForPlayer(playerid, 18495, -2229.4375, -2515.9063, 30.1563, 0.25);
RemoveBuildingForPlayer(playerid, 18497, -2149.6641, -2362.4297, 33.2344, 0.25);
RemoveBuildingForPlayer(playerid, 18498, -2108.7656, -2398.4766, 34.1797, 0.25);
RemoveBuildingForPlayer(playerid, 3322, -2233.5391, -2484.9922, 32.5547, 0.25);
RemoveBuildingForPlayer(playerid, 3323, -2198.3359, -2512.8594, 32.4688, 0.25);
RemoveBuildingForPlayer(playerid, 3325, -2205.5469, -2449.6172, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 3324, -2170.3438, -2477.6406, 32.5547, 0.25);
RemoveBuildingForPlayer(playerid, 3325, -2178.7734, -2528.4219, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 3325, -2159.2031, -2543.9844, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 3323, -2135.1172, -2505.6641, 32.4688, 0.25);
RemoveBuildingForPlayer(playerid, 3318, -2221.6953, -2396.1406, 31.0781, 0.25);
RemoveBuildingForPlayer(playerid, 3320, -2243.2578, -2423.3438, 31.2031, 0.25);
RemoveBuildingForPlayer(playerid, 18523, -2186.9688, -2327.4844, 30.9063, 0.25);
RemoveBuildingForPlayer(playerid, 18524, -2171.0469, -2416.6406, 30.3906, 0.25);
RemoveBuildingForPlayer(playerid, 18525, -2183.7656, -2422.2344, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 18527, -2100.2188, -2285.5000, 33.1875, 0.25);
RemoveBuildingForPlayer(playerid, 18528, -2097.4531, -2430.1953, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18529, -2077.2344, -2444.9375, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18530, -2153.8672, -2453.3828, 29.8438, 0.25);
RemoveBuildingForPlayer(playerid, 18531, -2139.7266, -2437.5781, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18532, -2096.1484, -2340.1719, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18533, -2111.4453, -2478.1250, 29.6563, 0.25);
RemoveBuildingForPlayer(playerid, 18536, -2055.6328, -2461.0156, 29.6719, 0.25);
RemoveBuildingForPlayer(playerid, 3341, -2099.6094, -2534.1563, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3341, -2076.5938, -2524.5234, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3341, -2032.8516, -2537.5000, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3340, -2085.7031, -2548.3828, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3340, -2038.7734, -2559.2422, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3340, -2064.0391, -2536.6563, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3339, -2085.5547, -2512.0781, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3339, -2067.2578, -2563.1094, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3339, -2043.5859, -2520.9219, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3339, -2067.7266, -2496.5000, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3342, -2056.7109, -2505.1953, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3342, -2051.3906, -2545.9844, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18540, -2146.9922, -2307.7344, 29.5313, 0.25);
RemoveBuildingForPlayer(playerid, 18541, -2110.1094, -2314.6250, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 18542, -2149.6328, -2404.5859, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 18543, -2152.1484, -2418.6719, 29.5313, 0.25);
RemoveBuildingForPlayer(playerid, 18544, -2208.9375, -2418.0156, 29.6016, 0.25);
RemoveBuildingForPlayer(playerid, 18545, -2180.2266, -2490.9063, 29.5938, 0.25);
RemoveBuildingForPlayer(playerid, 18546, -2048.6016, -2487.2656, 32.3047, 0.25);
RemoveBuildingForPlayer(playerid, 18547, -2121.1094, -2488.0469, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 18554, -2100.3516, -2469.6094, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 18452, -2244.1719, -2560.9141, 33.8203, 0.25);
RemoveBuildingForPlayer(playerid, 1686, -2246.7031, -2559.7109, 31.0625, 0.25);
RemoveBuildingForPlayer(playerid, 1686, -2241.7188, -2562.2891, 31.0625, 0.25);
RemoveBuildingForPlayer(playerid, 18232, -2230.0547, -2562.5000, 30.8594, 0.25);
RemoveBuildingForPlayer(playerid, 18352, -2206.0781, -2638.9141, 47.7734, 0.25);
RemoveBuildingForPlayer(playerid, 768, -2176.7109, -2580.8047, 30.2734, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2118.0547, -2577.8906, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 767, -2160.4219, -2566.6641, 29.5156, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2108.5703, -2566.9688, 35.8672, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2182.7109, -2554.9688, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2126.0938, -2557.2031, 35.8672, 0.25);
RemoveBuildingForPlayer(playerid, 3169, -2067.2578, -2563.1094, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3167, -2038.7734, -2559.2422, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 777, -2233.7813, -2547.9297, 29.8281, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2236.5781, -2537.5625, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 767, -2202.9375, -2534.0703, 29.5156, 0.25);
RemoveBuildingForPlayer(playerid, 777, -2267.3203, -2527.2734, 29.4297, 0.25);
RemoveBuildingForPlayer(playerid, 777, -2250.2422, -2525.6172, 31.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18215, -2241.1875, -2523.3125, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 18393, -2229.4375, -2515.9063, 30.1563, 0.25);
RemoveBuildingForPlayer(playerid, 3310, -2178.7734, -2528.4219, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 777, -2265.6953, -2506.4766, 27.0234, 0.25);
RemoveBuildingForPlayer(playerid, 1503, -2250.6641, -2496.6797, 29.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2231.6953, -2506.7344, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2203.1953, -2499.1875, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2206.6563, -2503.5391, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2204.8984, -2493.8750, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2204.1250, -2492.0703, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 773, -2219.9297, -2492.1563, 29.4922, 0.25);
RemoveBuildingForPlayer(playerid, 3313, -2198.3359, -2512.8594, 32.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2184.4531, -2508.0469, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2188.8203, -2504.6094, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2189.3125, -2506.3828, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 3311, -2233.5391, -2484.9922, 32.5547, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2256.6953, -2484.7188, 28.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2221.2656, -2478.7188, 30.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2220.1094, -2474.9453, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2225.8047, -2475.2500, 30.1797, 0.25);
RemoveBuildingForPlayer(playerid, 774, -2249.1719, -2466.0859, 28.2500, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2238.8203, -2467.1953, 28.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2213.3203, -2478.9375, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2190.9531, -2482.9531, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2199.6875, -2469.7813, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2186.7188, -2471.4844, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2183.3281, -2491.0313, 33.9688, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2183.9141, -2465.4219, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2184.0234, -2474.7422, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2181.2109, -2484.9297, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2181.1016, -2471.1094, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 775, -2179.6406, -2483.0781, 29.5625, 0.25);
RemoveBuildingForPlayer(playerid, 18482, -2180.2266, -2490.9063, 29.5938, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2115.0859, -2553.8750, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2162.8672, -2552.8906, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 3310, -2159.2031, -2543.9844, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 772, -2131.2188, -2544.8672, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2137.8828, -2546.4141, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2135.8750, -2526.1641, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 782, -2119.5234, -2539.1719, 29.5625, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2163.2969, -2520.0234, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2155.9609, -2522.8203, 33.9688, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2172.8906, -2517.1875, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2173.1563, -2520.0391, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2177.2578, -2513.7500, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2155.7734, -2511.2656, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2178.1406, -2507.2500, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18205, -2129.8828, -2503.2891, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 3313, -2135.1172, -2505.6641, 32.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2130.3438, -2519.7422, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2126.8750, -2515.3984, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 782, -2128.3438, -2508.1641, 29.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2109.7734, -2519.3203, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2121.4844, -2500.6484, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2105.9141, -2495.7969, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2125.8125, -2497.1719, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2164.5078, -2498.0938, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2176.6250, -2493.7422, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2148.4531, -2493.0469, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1437, -2177.4531, -2494.6563, 30.7656, 0.25);
RemoveBuildingForPlayer(playerid, 1440, -2128.9844, -2493.1563, 30.0938, 0.25);
RemoveBuildingForPlayer(playerid, 782, -2139.2813, -2494.8594, 29.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2177.6016, -2487.8203, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2173.9844, -2490.7109, 30.3594, 0.25);
RemoveBuildingForPlayer(playerid, 775, -2173.8047, -2487.4688, 29.5625, 0.25);
RemoveBuildingForPlayer(playerid, 782, -2164.2031, -2486.8750, 29.5234, 0.25);
RemoveBuildingForPlayer(playerid, 1438, -2133.6719, -2489.4141, 29.5781, 0.25);
RemoveBuildingForPlayer(playerid, 1441, -2119.1719, -2484.2500, 30.2656, 0.25);
RemoveBuildingForPlayer(playerid, 1440, -2108.9844, -2488.5938, 30.0938, 0.25);
RemoveBuildingForPlayer(playerid, 18484, -2121.1094, -2488.0469, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 3312, -2170.3438, -2477.6406, 32.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1522, -2155.1563, -2459.2734, 29.8203, 0.25);
RemoveBuildingForPlayer(playerid, 1440, -2145.0547, -2459.8594, 30.0938, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2146.7344, -2462.4844, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2122.3203, -2459.6172, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 18553, -2113.0391, -2460.6172, 30.9141, 0.25);
RemoveBuildingForPlayer(playerid, 18241, -2111.4453, -2478.1250, 29.6563, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2105.9375, -2458.1563, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2108.4922, -2456.1719, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 3167, -2085.7031, -2548.3828, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3167, -2064.0391, -2536.6563, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3170, -2076.5938, -2524.5234, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3170, -2099.6094, -2534.1563, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2081.7500, -2528.0859, 29.8047, 0.25);
RemoveBuildingForPlayer(playerid, 3169, -2085.5547, -2512.0781, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18202, -2078.5000, -2505.9141, 30.2813, 0.25);
RemoveBuildingForPlayer(playerid, 18448, -2069.7734, -2514.8125, 42.5156, 0.25);
RemoveBuildingForPlayer(playerid, 3169, -2067.7266, -2496.5000, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18451, -2082.6328, -2500.2344, 30.0859, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2058.6094, -2488.1953, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2084.0547, -2486.7266, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2077.6016, -2478.2344, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2103.7734, -2479.7344, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2093.8047, -2459.6250, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2086.3359, -2465.0703, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1522, -2093.3359, -2465.7422, 29.6250, 0.25);
RemoveBuildingForPlayer(playerid, 18552, -2100.3516, -2469.6094, 29.6094, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2068.0000, -2465.3203, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2063.9688, -2469.0781, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 3173, -2051.3906, -2545.9844, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18353, -2057.0391, -2552.9375, 40.8906, 0.25);
RemoveBuildingForPlayer(playerid, 3169, -2043.5859, -2520.9219, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 3170, -2032.8516, -2537.5000, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2033.8672, -2535.4688, 29.8047, 0.25);
RemoveBuildingForPlayer(playerid, 3173, -2056.7109, -2505.1953, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2031.6875, -2494.3828, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2035.3359, -2513.2891, 32.0391, 0.25);
RemoveBuildingForPlayer(playerid, 18233, -2055.6328, -2461.0156, 29.6719, 0.25);
RemoveBuildingForPlayer(playerid, 18476, -2048.6016, -2487.2656, 32.3047, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2028.1875, -2480.0234, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 774, -2248.6406, -2452.4766, 28.2500, 0.25);
RemoveBuildingForPlayer(playerid, 1457, -2293.9766, -2449.3281, 26.2578, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2225.0000, -2446.8828, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 3310, -2205.5469, -2449.6172, 31.6563, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2220.1953, -2447.9531, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2239.7578, -2441.0469, 30.4922, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2243.0156, -2441.5703, 30.6875, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2241.9219, -2439.8828, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2240.5781, -2440.5469, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2222.5313, -2441.8594, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2216.7344, -2443.6016, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 775, -2210.1016, -2442.0469, 29.6328, 0.25);
RemoveBuildingForPlayer(playerid, 1462, -2255.6406, -2430.9766, 30.8906, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2246.3516, -2438.5781, 31.0859, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2243.7266, -2438.6328, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2245.3906, -2436.7188, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2243.6328, -2439.0313, 30.0000, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2231.2891, -2429.7734, 30.4922, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2234.1797, -2433.5078, 30.4922, 0.25);
RemoveBuildingForPlayer(playerid, 1410, -2237.1016, -2437.1250, 30.4922, 0.25);
RemoveBuildingForPlayer(playerid, 778, -2242.0391, -2438.4219, 29.8438, 0.25);
RemoveBuildingForPlayer(playerid, 18344, -2293.5938, -2421.8438, 30.9844, 0.25);
RemoveBuildingForPlayer(playerid, 3306, -2243.2578, -2423.3438, 31.2031, 0.25);
RemoveBuildingForPlayer(playerid, 767, -2248.5859, -2415.7734, 30.7266, 0.25);
RemoveBuildingForPlayer(playerid, 773, -2270.7656, -2420.2500, 29.0156, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2250.7188, -2376.7266, 35.0703, 0.25);
RemoveBuildingForPlayer(playerid, 776, -2234.3281, -2392.6719, 30.4531, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2225.6094, -2421.4609, 29.7578, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2226.9453, -2420.5391, 29.7578, 0.25);
RemoveBuildingForPlayer(playerid, 865, -2226.1719, -2421.6641, 29.7578, 0.25);
RemoveBuildingForPlayer(playerid, 3309, -2221.6953, -2396.1406, 31.0781, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2217.4453, -2412.7969, 30.2578, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2220.8047, -2412.8047, 30.6719, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2216.5859, -2417.6953, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 775, -2211.4219, -2393.9531, 29.9922, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2209.7109, -2402.6719, 30.2344, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2207.4688, -2391.0391, 30.7344, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2206.2969, -2398.3203, 30.2344, 0.25);
RemoveBuildingForPlayer(playerid, 18483, -2208.9375, -2418.0156, 29.6016, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2267.0703, -2357.0703, 33.4531, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2264.8125, -2331.7188, 31.5078, 0.25);
RemoveBuildingForPlayer(playerid, 18475, -2253.0781, -2291.0000, 25.7734, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2231.8125, -2368.0234, 35.4766, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2213.9609, -2339.3047, 30.4844, 0.25);
RemoveBuildingForPlayer(playerid, 1331, -2136.5547, -2450.5938, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 18237, -2153.8672, -2453.3828, 29.8438, 0.25);
RemoveBuildingForPlayer(playerid, 776, -2194.6641, -2451.5078, 29.6484, 0.25);
RemoveBuildingForPlayer(playerid, 18206, -2172.2344, -2447.8281, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1336, -2185.8203, -2447.4375, 30.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18207, -2204.9844, -2436.4766, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2199.3516, -2438.7266, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1408, -2203.6953, -2435.2500, 30.1953, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2177.3281, -2441.1875, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1328, -2176.7734, -2439.5938, 30.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1329, -2175.9766, -2438.6094, 30.1172, 0.25);
RemoveBuildingForPlayer(playerid, 1330, -2175.2656, -2437.7656, 30.1172, 0.25);
RemoveBuildingForPlayer(playerid, 18264, -2139.7266, -2437.5781, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1327, -2200.8750, -2425.2266, 30.5078, 0.25);
RemoveBuildingForPlayer(playerid, 1333, -2176.3438, -2424.5781, 30.5547, 0.25);
RemoveBuildingForPlayer(playerid, 18262, -2183.8516, -2423.2656, 35.1094, 0.25);
RemoveBuildingForPlayer(playerid, 1335, -2178.0938, -2420.5781, 30.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18260, -2187.5781, -2418.9766, 31.1953, 0.25);
RemoveBuildingForPlayer(playerid, 18263, -2183.1797, -2420.9531, 37.6406, 0.25);
RemoveBuildingForPlayer(playerid, 18474, -2183.7656, -2422.2344, 32.3203, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2152.9922, -2428.7031, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2157.7813, -2431.9922, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2148.0625, -2422.3203, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18480, -2152.1484, -2418.6719, 29.5313, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2189.9375, -2410.5703, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2196.3984, -2408.4297, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2190.3203, -2403.5625, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2183.3984, -2394.2266, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2197.9375, -2369.1484, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1340, -2199.9922, -2386.8906, 30.7188, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2192.1328, -2381.0625, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2175.2656, -2380.2891, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1334, -2174.8594, -2365.2734, 30.7969, 0.25);
RemoveBuildingForPlayer(playerid, 18261, -2171.0469, -2416.6406, 30.3906, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2156.9141, -2409.1172, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18208, -2168.0703, -2390.2188, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2169.7656, -2385.0703, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2143.9922, -2399.6719, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18481, -2149.6328, -2404.5859, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2135.7031, -2407.1875, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2134.5469, -2413.1250, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2178.3906, -2356.4531, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18209, -2174.1328, -2344.8594, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2173.3594, -2331.6641, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18265, -2186.9688, -2327.4844, 30.9063, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2194.4531, -2329.0313, 30.3047, 0.25);
RemoveBuildingForPlayer(playerid, 18203, -2149.6641, -2362.4297, 33.2344, 0.25);
RemoveBuildingForPlayer(playerid, 18214, -2160.0625, -2308.6250, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2155.3516, -2326.9844, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2164.0859, -2313.8203, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2151.1641, -2304.3750, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2148.8828, -2327.1797, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2141.7188, -2317.8281, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18478, -2146.9922, -2307.7344, 29.5313, 0.25);
RemoveBuildingForPlayer(playerid, 18201, -2135.7813, -2359.8203, 37.6406, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2133.7891, -2299.8203, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18213, -2134.5313, -2260.6016, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 18204, -2088.6484, -2454.2969, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2112.7031, -2450.4688, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1332, -2087.9922, -2440.9453, 30.6953, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2099.0703, -2441.3125, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2131.4688, -2429.5938, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2130.4375, -2430.4688, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2121.4375, -2437.3047, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2104.5156, -2436.2734, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1334, -2107.2109, -2423.8906, 30.7969, 0.25);
RemoveBuildingForPlayer(playerid, 18240, -2097.4531, -2430.1953, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18266, -2108.7656, -2398.4766, 34.1797, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2122.9688, -2389.5469, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2130.7969, -2382.5781, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2108.4609, -2372.8359, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18210, -2118.6016, -2378.2109, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2098.1016, -2412.4219, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2091.8594, -2415.7109, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 1332, -2085.3203, -2414.5078, 30.6406, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2122.5625, -2332.2969, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2115.9375, -2332.3359, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2128.8594, -2341.7813, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18479, -2110.1094, -2314.6250, 29.5391, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2130.0859, -2276.7734, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18212, -2131.9922, -2288.1250, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2111.7109, -2272.2266, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2102.1328, -2350.2656, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2106.4922, -2345.7969, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 18200, -2100.2188, -2285.5000, 33.1875, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2106.1172, -2271.5938, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1350, -2098.0781, -2263.0703, 29.4688, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2094.3828, -2322.7422, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 18211, -2095.9219, -2307.5781, 41.1250, 0.25);
RemoveBuildingForPlayer(playerid, 18239, -2096.1484, -2340.1719, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2090.1641, -2298.8672, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1294, -2085.9531, -2309.6641, 34.0391, 0.25);
RemoveBuildingForPlayer(playerid, 1334, -2087.2031, -2343.1016, 30.7969, 0.25);
RemoveBuildingForPlayer(playerid, 18238, -2077.2344, -2444.9375, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 18257, -2084.4219, -2423.7188, 29.6172, 0.25);
RemoveBuildingForPlayer(playerid, 1338, -2081.8438, -2428.2266, 30.3359, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2057.4375, -2417.0859, 34.8125, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2081.9609, -2367.0000, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2069.9297, -2401.0469, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 1308, -2079.8125, -2276.8047, 29.7891, 0.25);
RemoveBuildingForPlayer(playerid, 790, -2035.7266, -2432.6563, 34.7578, 0.25);
RemoveBuildingForPlayer(playerid, 698, -2041.8281, -2448.4063, 34.8125, 0.25);
RemoveBuildingForPlayer(playerid, 18345, -2016.0078, -2431.5156, 33.8750, 0.25);
if(gTeam[playerid] == TEAM_C)
{
SetPlayerPos(playerid, -2109.8506,-2360.4990,31.0352);
SetPlayerFacingAngle(playerid, 122.1430);
SetPlayerColor(playerid,TEAM_C_COLOR);
SetPlayerTeam(playerid, 0);
}
if(gTeam[playerid] == TEAM_T)
{
SetPlayerPos(playerid, -2179.0652,-2585.1167,72.0893);
SetPlayerFacingAngle(playerid, 320.7169);
SetPlayerColor(playerid, TEAM_T_COLOR);
SetPlayerTeam(playerid, 1);
}

if(gClass[playerid] == SO_CLASS) {
GivePlayerWeapon(playerid, 6, 1);
GivePlayerWeapon(playerid, 18, 2);
GivePlayerWeapon(playerid, 24, 10000);
GivePlayerWeapon(playerid, 27, 10000);
GivePlayerWeapon(playerid, 31, 10000);
}

if(gClass[playerid] == SN_CLASS) {
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 16, 2);
GivePlayerWeapon(playerid, 23, 10000);
GivePlayerWeapon(playerid, 34, 10000);
GivePlayerWeapon(playerid, 29, 10000);
}

return 1;
}

Scottas
27/07/2013, 10:14 AM
You need to remove objects just once, there is no need to do this every time when player spawns

Konstantinos
27/07/2013, 10:24 AM
You need to remove objects just once, there is no need to do this every time when player spawns

This. You should remove the objects once whenever a player connects. I believe though, that there's a limit about how many objects you can remove at once and I've read many times about client crashes related to RemoveBuildingForPlayer function when the amount is high.

Scottas
27/07/2013, 10:28 AM
This. You should remove the objects once whenever a player connects. I believe though, that there's a limit about how many objects you can remove at once and I've read many times about client crashes related to RemoveBuildingForPlayer function when the amount is high.

The limit is about 1000 objects

Parker_Daley
27/07/2013, 10:35 AM
You only need to remove 1 building for every time a player joins