Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerSpawn(playerid)
- {
- if(IsPlayerNPC(playerid))
- {
- new npcname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, npcname, sizeof(npcname));
- if(!strcmp(npcname, "Zombie_1", true))
- {
- SetPlayerSkin(playerid, 162);
- SetPlayerPos(playerid, 1776.4562,-1895.7217,13.3867);
- TogglePlayerControllable(playerid, true);
- SetPlayerColor(playerid, BLANCO2);
- gTeam[playerid] = EZOMBIE;
- }
- if(!strcmp(npcname, "Zombie_2", true))
- {
- SetPlayerSkin(playerid, 162);
- SetPlayerPos(playerid, 1507.4354,-1730.9388,13.3828);
- TogglePlayerControllable(playerid, true);
- SetPlayerColor(playerid, BLANCO2);
- gTeam[playerid] = EZOMBIE;
- }
- if(!strcmp(npcname, "Zombie_3", true))
- {
- SetPlayerSkin(playerid, 162);
- SetPlayerPos(playerid, 1776.4562,-1895.7217,13.3867);
- TogglePlayerControllable(playerid, true);
- SetPlayerColor(playerid, BLANCO2);
- gTeam[playerid] = EZOMBIE;
- }
- if(!strcmp(npcname,"Bot_intro",true))
- {
- PutPlayerInVehicle(playerid,63, 0);
- new coche = GetPlayerVehicleID(playerid);
- SetVehicleParamsEx(coche, 1, 0, -1, 0, 0, 0, 0);
- TogglePlayerControllable(playerid, true);
- SetPlayerColor(playerid, BLANCO2);
- gTeam[playerid] = EHUMANO;
- }
- else
- {
- new which_spawn = random(4);
- if(which_spawn == 0)
- {
- SetPlayerSkin(playerid, 162);
- SetPlayerPos(playerid,1138.4512,-1385.9067,13.7797);
- SetPlayerInterior(playerid,0);
- TogglePlayerControllable(playerid, true);
- }
- else if(which_spawn == 1)
- {
- SetPlayerSkin(playerid, 162);
- SetPlayerPos(playerid,1543.7426,-1305.9878,16.1152);
- SetPlayerInterior(playerid,0);
- TogglePlayerControllable(playerid, true);
- }
- else if(which_spawn == 2)
- {
- SetPlayerSkin(playerid, 162);
- SetPlayerPos(playerid,2578.9900,-1412.2079,24.4618);
- SetPlayerInterior(playerid,0);
- TogglePlayerControllable(playerid, true);
- }
- else if(which_spawn == 3)
- {
- SetPlayerSkin(playerid, 162);
- SetPlayerPos(playerid,2578.9900,-1412.2079,24.4618);
- SetPlayerInterior(playerid,0);
- TogglePlayerControllable(playerid, true);
- }
- }
- return 1;
- }
- /* Remove Objects Area */
- // HUMAN SPAWN ZONES REMOVE
- // BANDIT BASEBALL CAMPS
- RemoveBuildingForPlayer(playerid, 707, 1268.7344, 2098.3516, 11.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 1268, 1260.9922, 2074.4844, 25.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 7913, 1261.0781, 2076.1563, 31.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 1259, 1260.9922, 2074.4844, 25.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 3509, 1281.0547, 2085.0625, 10.7422, 0.25);
- RemoveBuildingForPlayer(playerid, 645, 1289.4766, 2079.7500, 12.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 1540, 1223.8984, 2124.7422, 10.2813, 0.25);
- RemoveBuildingForPlayer(playerid, 7617, 1333.3828, 2075.9297, 22.8359, 0.25);
- RemoveBuildingForPlayer(playerid, 3509, 1363.8828, 2077.3672, 9.1953, 0.25);
- RemoveBuildingForPlayer(playerid, 3509, 1351.3906, 2079.4766, 9.8281, 0.25);
- RemoveBuildingForPlayer(playerid, 645, 1375.4297, 2079.8828, 11.7578, 0.25);
- RemoveBuildingForPlayer(playerid, 645, 1362.2031, 2087.7813, 12.0000, 0.25);
- //----------------------------------------------------------------------------
- //ZOMBIE SPAWN ZONES REMOVE
- RemoveBuildingForPlayer(playerid, 8795, 2811.2422, 1661.3516, 9.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 8940, 2826.9141, 1661.3516, 13.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 8941, 2843.1563, 1661.3516, 13.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 8942, 2863.4531, 1606.5000, 13.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 8943, 2879.2031, 1606.5000, 13.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 8944, 2894.5859, 1606.5000, 13.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 9166, 2863.4531, 1606.5000, 13.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 9167, 2879.2031, 1606.5000, 13.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 9168, 2894.5859, 1606.5000, 13.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 8635, 2811.2422, 1661.3516, 9.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 9164, 2826.9141, 1661.3516, 13.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 9165, 2843.1563, 1661.3516, 13.9609, 0.25);
- //--------------------------------------------------------------------------
- //HUMAN SPAWN ZONES REMOVE
- //PISTA MOTOCROSS
- RemoveBuildingForPlayer(playerid, 7014, 2448.2656, 1832.1875, 10.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 7141, 2402.2266, 1891.5938, 4.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 3504, 2472.5391, 1874.9531, 10.7031, 0.25);
- RemoveBuildingForPlayer(playerid, 3502, 2475.3281, 1920.4766, 11.4063, 0.25);
- RemoveBuildingForPlayer(playerid, 3504, 2475.2344, 1874.5469, 10.7031, 0.25);
- RemoveBuildingForPlayer(playerid, 3502, 2476.4688, 1882.7813, 10.1250, 0.25);
- RemoveBuildingForPlayer(playerid, 3504, 2476.6328, 1874.4141, 10.7031, 0.25);
- RemoveBuildingForPlayer(playerid, 3502, 2478.0000, 1921.0156, 14.0078, 0.25);
- RemoveBuildingForPlayer(playerid, 3504, 2479.4688, 1873.7266, 10.7031, 0.25);
- RemoveBuildingForPlayer(playerid, 3502, 2481.3359, 1899.3047, 10.0391, 0.25);
- RemoveBuildingForPlayer(playerid, 3502, 2479.6484, 1920.4766, 10.9922, 0.25);
- RemoveBuildingForPlayer(playerid, 1684, 2493.7813, 1867.7578, 11.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 1684, 2493.7813, 1881.7734, 11.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2474.5391, 1942.8047, 11.3438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2474.9219, 1943.2344, 9.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2475.8828, 1941.1641, 9.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2476.1250, 1944.8516, 11.3438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2475.7031, 1945.9922, 9.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2475.8047, 1936.7578, 9.8516, 0.25);
- RemoveBuildingForPlayer(playerid, 1684, 2477.9688, 1960.8359, 11.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2476.6719, 1943.9219, 9.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2478.5234, 1954.1094, 10.1484, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2479.7109, 1941.7891, 11.3438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2480.2344, 1942.8203, 9.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2480.0938, 1940.6406, 9.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2480.5234, 1949.5625, 9.8438, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2481.8359, 1954.1094, 10.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2375.3203, 1878.6953, 11.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2375.2188, 1879.7734, 12.8984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2376.4766, 1873.7266, 11.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2377.0938, 1881.9375, 12.8984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2377.1953, 1880.8672, 11.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2377.1953, 1883.1484, 11.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2379.2578, 1882.0391, 12.8984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2379.1953, 1883.1172, 11.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2379.1172, 1880.8359, 11.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2381.2031, 1886.5391, 11.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 7012, 2402.2266, 1891.5938, 4.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2379.1953, 1891.0859, 11.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 1685, 2382.5156, 1891.0859, 11.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 3502, 2471.0859, 1904.7813, 10.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 1684, 2439.1094, 1951.3594, 11.3750, 0.25);
- RemoveBuildingForPlayer(playerid, 3504, 2444.4531, 1960.6094, 11.1328, 0.25);
- RemoveBuildingForPlayer(playerid, 3504, 2447.5313, 1960.7891, 11.1328, 0.25);
- RemoveBuildingForPlayer(playerid, 3504, 2450.6484, 1961.0156, 11.1328, 0.25);
- RemoveBuildingForPlayer(playerid, 3504, 2452.0469, 1960.8750, 11.1328, 0.25);
- RemoveBuildingForPlayer(playerid, 3447, 2438.2266, 1770.8281, 17.3203, 0.25);
- RemoveBuildingForPlayer(playerid, 3447, 2455.7109, 1770.8281, 17.3203, 0.25);
- RemoveBuildingForPlayer(playerid, 3447, 2473.3594, 1770.8281, 17.3203, 0.25);
- RemoveBuildingForPlayer(playerid, 8607, 2464.3984, 1770.8828, 23.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 3447, 2490.8281, 1770.8281, 17.3203, 0.25);
- // PREDIOS DESTRUIDOS
- //Big Castle Down
- RemoveBuildingForPlayer(playerid, 8498, 2231.8047, 1035.7188, 46.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 8499, 2265.5625, 1130.2656, 46.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 8705, 2231.8047, 1035.7188, 46.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 8706, 2266.0078, 1078.8516, 44.0234, 0.25);
- RemoveBuildingForPlayer(playerid, 8882, 2216.6250, 1095.1953, 44.0781, 0.25);
- RemoveBuildingForPlayer(playerid, 8923, 2142.5938, 1103.0156, 21.7969, 0.25);
- RemoveBuildingForPlayer(playerid, 8924, 2216.6250, 1095.1953, 44.0781, 0.25);
- RemoveBuildingForPlayer(playerid, 8929, 2265.5625, 1130.2656, 46.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 9079, 2117.8047, 1150.7109, 14.7969, 0.25);
- RemoveBuildingForPlayer(playerid, 9078, 2117.8047, 1150.7109, 14.7969, 0.25);
- RemoveBuildingForPlayer(playerid, 8500, 2142.5938, 1103.0156, 21.7969, 0.25);
- RemoveBuildingForPlayer(playerid, 8644, 2148.6016, 1132.4844, 20.5000, 0.25);
- RemoveBuildingForPlayer(playerid, 620, 2190.7734, 983.2578, 9.5078, 0.25);
- RemoveBuildingForPlayer(playerid, 8881, 2266.0078, 1078.8516, 44.0234, 0.25);
- //BOMBA DE GASOLINA FUCKED UP LV
- RemoveBuildingForPlayer(playerid, 1686, -1477.6563, 1859.7344, 31.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 1686, -1464.9375, 1860.5625, 31.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 1686, -1477.8516, 1867.3125, 31.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 11505, -1471.4922, 1864.8516, 36.0313, 0.25);
- RemoveBuildingForPlayer(playerid, 1686, -1465.4766, 1868.2734, 31.8203, 0.25);
- RemoveBuildingForPlayer(playerid, 11504, -1463.0000, 1878.1406, 31.6328, 0.25);
- // PREDIO PIRATA + BARCO LV
- RemoveBuildingForPlayer(playerid, 8421, 1928.4141, 1628.5938, 48.1875, 0.25);
- RemoveBuildingForPlayer(playerid, 8422, 1943.7813, 1620.1641, 12.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 8692, 1928.4141, 1628.5938, 48.1875, 0.25);
- RemoveBuildingForPlayer(playerid, 8693, 1943.7813, 1620.1641, 12.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 8781, 1978.4375, 1619.8203, 16.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 8782, 1994.6484, 1670.6563, 17.0547, 0.25);
- RemoveBuildingForPlayer(playerid, 8977, 2001.1406, 1555.1016, 24.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 8978, 2028.7813, 1554.9453, 22.1094, 0.25);
- RemoveBuildingForPlayer(playerid, 3482, 2028.7500, 1552.9063, 23.7188, 0.25);
- RemoveBuildingForPlayer(playerid, 3482, 2028.7500, 1556.9844, 23.7188, 0.25);
- RemoveBuildingForPlayer(playerid, 9049, 1983.6016, 1658.5859, 13.4453, 0.25);
- RemoveBuildingForPlayer(playerid, 9053, 1978.6563, 1596.9844, 18.8359, 0.25);
- RemoveBuildingForPlayer(playerid, 9107, 1905.8125, 1513.4531, 10.0781, 0.25);
- RemoveBuildingForPlayer(playerid, 9129, 2028.7656, 1554.9453, 33.5469, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1900.8359, 1476.1641, 8.2891, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1915.6719, 1476.1641, 7.9375, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1900.7969, 1494.0938, 11.0469, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1915.6797, 1494.0938, 11.6016, 0.25);
- RemoveBuildingForPlayer(playerid, 8832, 1905.8125, 1513.4531, 10.0781, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1900.8125, 1513.4609, 11.6797, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1915.6953, 1513.4609, 11.1875, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1900.8125, 1533.1953, 11.6563, 0.25);
- RemoveBuildingForPlayer(playerid, 8833, 1908.2969, 1515.5703, 13.4141, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1915.6641, 1533.1953, 11.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1900.8281, 1554.9688, 8.0703, 0.25);
- RemoveBuildingForPlayer(playerid, 3499, 1915.6641, 1554.9688, 7.9688, 0.25);
- RemoveBuildingForPlayer(playerid, 9041, 1963.5313, 1629.6172, 22.3438, 0.25);
- RemoveBuildingForPlayer(playerid, 1557, 1964.6172, 1621.6797, 11.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 1557, 1964.6172, 1624.6953, 11.8672, 0.25);
- RemoveBuildingForPlayer(playerid, 3524, 1995.8203, 1539.7813, 13.7266, 0.25);
- RemoveBuildingForPlayer(playerid, 1503, 1998.0078, 1544.1953, 12.9609, 0.25);
- RemoveBuildingForPlayer(playerid, 8493, 2001.1406, 1555.1016, 24.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 8981, 2000.5938, 1548.9141, 24.4375, 0.25);
- RemoveBuildingForPlayer(playerid, 3524, 1996.0469, 1549.7422, 13.7266, 0.25);
- RemoveBuildingForPlayer(playerid, 9159, 2001.1406, 1555.1016, 24.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 9052, 1978.6563, 1596.9844, 18.8359, 0.25);
- RemoveBuildingForPlayer(playerid, 8484, 1978.4375, 1619.8203, 16.3984, 0.25);
- RemoveBuildingForPlayer(playerid, 9045, 1983.6016, 1658.5859, 13.4453, 0.25);
- RemoveBuildingForPlayer(playerid, 8483, 1994.6484, 1670.6563, 17.0547, 0.25);
- RemoveBuildingForPlayer(playerid, 8423, 2028.7813, 1554.9453, 22.1094, 0.25);
- RemoveBuildingForPlayer(playerid, 3434, 2028.7500, 1552.9063, 23.7188, 0.25);
- RemoveBuildingForPlayer(playerid, 3434, 2028.7500, 1556.9844, 23.7188, 0.25);
- //----------------------------------------------------------------------------
- //Faction Dark Brown
- RemoveBuildingForPlayer(playerid, 3276, -730.4297, 905.1172, 12.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -716.6406, 903.9844, 12.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -698.9609, 909.6719, 11.9688, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -687.3125, 909.6016, 11.9844, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -710.6094, 909.7422, 11.9453, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -729.5313, 916.5391, 12.1250, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -728.7500, 928.1641, 12.1016, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -727.9688, 939.7891, 12.0859, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -727.1875, 951.4141, 12.0625, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -709.3203, 991.1641, 12.0313, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -697.6719, 990.9922, 12.0078, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -686.0234, 990.8203, 11.9844, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -665.5625, 912.9453, 11.9766, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -675.6641, 909.5313, 12.0078, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -674.3750, 990.6484, 11.9688, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -662.7266, 990.4766, 11.9453, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -650.1953, 928.1953, 11.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -645.8828, 937.9063, 11.9453, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -645.7109, 949.5547, 11.9688, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -645.5391, 961.2031, 11.9844, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -645.3672, 972.8516, 12.0078, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -645.1953, 984.5000, 12.0313, 0.25);
- RemoveBuildingForPlayer(playerid, 3276, -651.0781, 990.3047, 11.9219, 0.25);
- //Bridges
- RemoveBuildingForPlayer(playerid, 10823, -1204.1172, 1032.6094, 53.5703, 0.25);
- RemoveBuildingForPlayer(playerid, 11248, -1204.1172, 1032.6094, 53.5703, 0.25);
- RemoveBuildingForPlayer(playerid, 11252, -1078.7656, 891.0781, 35.6016, 0.25);
- RemoveBuildingForPlayer(playerid, 11254, -1132.0703, 855.0859, 42.3281, 0.25);
- RemoveBuildingForPlayer(playerid, 11259, -1142.0859, 847.7188, 34.5859, 0.25);
- RemoveBuildingForPlayer(playerid, 11267, -1078.7656, 891.0781, 35.6016, 0.25);
- RemoveBuildingForPlayer(playerid, 11268, -1132.0703, 855.0859, 42.3281, 0.25);
- RemoveBuildingForPlayer(playerid, 11382, -1200.7500, 1035.9844, 38.4141, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -1188.8359, 1046.7891, 46.6719, 0.25);
- RemoveBuildingForPlayer(playerid, 9687, -2681.4922, 1684.4609, 120.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 9689, -2681.4922, 1684.4609, 120.4531, 0.25);
- RemoveBuildingForPlayer(playerid, 9691, -2681.4922, 1847.9375, 120.0859, 0.25);
- RemoveBuildingForPlayer(playerid, 9693, -2681.4922, 1847.9375, 120.0859, 0.25);
- RemoveBuildingForPlayer(playerid, 9695, -2681.4922, 2042.1563, 86.7188, 0.25);
- RemoveBuildingForPlayer(playerid, 9696, -2681.4922, 2042.1563, 86.7188, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -2681.5859, 1609.8828, 70.0938, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -2681.5859, 1860.7500, 72.1719, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -2681.5859, 1798.0313, 73.3281, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -2681.5859, 1923.4688, 69.8828, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -2681.5859, 1986.1875, 66.5234, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -2681.5859, 2111.6172, 60.7891, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -2681.5859, 2048.9063, 62.0938, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -2681.5859, 1735.3125, 73.3438, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, -2681.5859, 1672.6016, 72.3047, 0.25);
- RemoveBuildingForPlayer(playerid, 8028, 1735.8594, 519.1563, 25.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 8056, 1735.8594, 519.1563, 25.1563, 0.25);
- RemoveBuildingForPlayer(playerid, 8128, 1735.8750, 519.0078, 4.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 8129, 1735.8750, 519.0078, 4.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 1290, 1750.1094, 556.5469, 31.0391, 0.25);
- RemoveBuildingForPlayer(playerid, 8860, 2766.7656, 570.5234, 7.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 8863, 2766.7656, 570.5234, 7.3828, 0.25);
- RemoveBuildingForPlayer(playerid, 3332, 445.4219, 565.4688, 24.5547, 0.25);
- RemoveBuildingForPlayer(playerid, 3333, -158.3516, 403.9063, -3.5391, 0.25);
- RemoveBuildingForPlayer(playerid, 3333, 475.2344, 537.3203, 3.3203, 0.25);
- RemoveBuildingForPlayer(playerid, 3332, 491.3125, 499.9375, 24.5547, 0.25);
- RemoveBuildingForPlayer(playerid, 16431, 475.1250, 537.4375, 17.5859, 0.25);
- RemoveBuildingForPlayer(playerid, 3382, -176.3516, 367.5234, 17.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 3382, -155.9844, 444.8906, 17.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 16688, -168.3203, 367.2422, 10.6641, 0.25);
- RemoveBuildingForPlayer(playerid, 3381, -176.3516, 367.5234, 17.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 16358, -168.3203, 367.2422, 10.6641, 0.25);
- RemoveBuildingForPlayer(playerid, 3330, -158.3516, 403.9063, -3.5391, 0.25);
- RemoveBuildingForPlayer(playerid, 3381, -155.9844, 444.8906, 17.6953, 0.25);
- RemoveBuildingForPlayer(playerid, 3331, 445.4219, 565.4688, 24.5547, 0.25);
- RemoveBuildingForPlayer(playerid, 16357, 475.1250, 537.4375, 17.5859, 0.25);
- RemoveBuildingForPlayer(playerid, 3330, 475.2344, 537.3203, 3.3203, 0.25);
- RemoveBuildingForPlayer(playerid, 3331, 491.3125, 499.9375, 24.5547, 0.25);
- RemoveBuildingForPlayer(playerid, 3413, 2766.7578, 562.8594, -4.4922, 0.25);
- RemoveBuildingForPlayer(playerid, 3411, 2766.7578, 562.8594, -4.4922, 0.25);
- RemoveBuildingForPlayer(playerid, 3412, 2766.7578, 562.8594, -4.4922, 0.25);
- //S.T.A.R.S Interior
- RemoveBuildingForPlayer(playerid, 2063, 2573.6172, -1280.2422, 1037.6719, 0.25);
- RemoveBuildingForPlayer(playerid, 2063, 2576.2734, -1280.2422, 1037.6719, 0.25);
- RemoveBuildingForPlayer(playerid, 2063, 2577.2813, -1286.1406, 1037.6719, 0.25);
- RemoveBuildingForPlayer(playerid, 2063, 2577.2813, -1283.3516, 1037.6719, 0.25);
- /* */
- GangZoneShowForPlayer(playerid, GangLavaAutos, BLANCO2);
- GangZoneShowForPlayer(playerid, GangProstibulo, BLANCO2);
- GangZoneShowForPlayer(playerid, GangGroveMuerta, BLANCO2);
- GangZoneShowForPlayer(playerid, GangZombiesBajos, BLANCO2);
- GangZoneShowForPlayer(playerid, GangViejoMotel, BLANCO2);
- GangZoneShowForPlayer(playerid, GangGlenMuerte, BLANCO2);
- GangZoneShowForPlayer(playerid, GangSkatePark, BLANCO2);
- GangZoneShowForPlayer(playerid, GangMedicinaZombie, BLANCO2);
- GangZoneShowForPlayer(playerid, Gangidlewood1, BLANCO2);
- GangZoneShowForPlayer(playerid, gangidlewood2, BLANCO2);
- GangZoneShowForPlayer(playerid, Gangidlewood3, BLANCO2);
- GangZoneShowForPlayer(playerid, GangUnity, BLANCO2);
- GangZoneShowForPlayer(playerid, GangCoronaCaida, BLANCO2);
- GangZoneShowForPlayer(playerid, GangComisarialoscaidos, BLANCO2);
- GangZoneShowForPlayer(playerid, GangZonaConspir, BLANCO2);
- GangZoneShowForPlayer(playerid, GangVinewood, BLANCO2);
- GangZoneShowForPlayer(playerid, GangNatural, BLANCO2);
- GangZoneShowForPlayer(playerid, GangNoNatural, BLANCO2);
- GangZoneShowForPlayer(playerid, GangSantoMuertoBeach, BLANCO2);
- GangZoneShowForPlayer(playerid, GangPuntoMuerto, BLANCO2);
- TextDrawShowForPlayer(playerid, Estado[playerid]);
- TextDrawShowForPlayer(playerid, Zones[playerid]);
- TextDrawShowForPlayer(playerid, Zones2[playerid]);
- TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
- TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 0)) RemovePlayerAttachedObject(playerid, 0);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 1)) RemovePlayerAttachedObject(playerid, 1);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 2)) RemovePlayerAttachedObject(playerid, 2);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 3)) RemovePlayerAttachedObject(playerid, 3);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 4)) RemovePlayerAttachedObject(playerid, 4);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 5)) RemovePlayerAttachedObject(playerid, 5);
- RemovePlayerAttachedObject(playerid,0);
- JugadorInfo[playerid][jZombieC] = 1;
- LPuestos[playerid] = 0;
- GPuesto[playerid] = 0;
- ConTexto[playerid] = 0;
- AntiDeAMX();
- /* */
- //TextDrawShowForPlayer(playerid,Dinero[playerid]); // jdinheiroo - estava desativado
- new tmphour;
- new tmpminute;
- new tmpsecond;
- gettime(tmphour, tmpminute, tmpsecond);
- if (realtime)
- {
- SetWorldTime(tmphour);
- }
- PlayerPlaySound(playerid, 1069, 0.0, 0.0, 0.0);
- SetPlayerDrunkLevel(playerid, 0);
- if(JugadorInfo[playerid][jEstiloPelea] == 1)
- {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
- }
- else if(JugadorInfo[playerid][jEstiloPelea] == 2)
- {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
- }
- else if(JugadorInfo[playerid][jEstiloPelea] == 3)
- {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
- }
- if(JugadorInfo[playerid][jArma] != 0)
- {
- GivePlayerWeapon(playerid, JugadorInfo[playerid][jArma], JugadorInfo[playerid][jMunicion]);
- }
- if(JugadorInfo[playerid][jArma2] != 0)
- {
- GivePlayerWeapon(playerid, JugadorInfo[playerid][jArma2], JugadorInfo[playerid][jMunicion2]);
- }
- if(JugadorInfo[playerid][jArma3] != 0)
- {
- GivePlayerWeapon(playerid, JugadorInfo[playerid][jArma3], JugadorInfo[playerid][jMunicion3]);
- }
- if(JugadorInfo[playerid][jSpawn] == 1)
- {
- new which_spawn = random(4);
- if(which_spawn == 0)
- {
- if(gTeam[playerid] == EHUMANO)
- {
- SetPlayerPos(playerid,815.0766,-1094.3162,25.7895);
- SetPlayerInterior(playerid,0);
- SetPlayerWeather(playerid,ClimaDefault);
- SetPlayerSkin(playerid,JugadorInfo[playerid][jRopa]);
- }
- else if(gTeam[playerid] == EZOMBIE)
- {
- SetPlayerPos(playerid,1138.4512,-1385.9067,13.7797);
- SetPlayerInterior(playerid,0);
- SetPlayerWeather(playerid, ClimaDefault);
- new rnd = random(sizeof(ZombieSkin));
- SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
- }
- else if(gTeam[playerid] == EHUMANO)
- {
- SetPlayerPos(playerid,815.0766,-1094.3162,25.7895);
- SetPlayerInterior(playerid,0);
- SetPlayerWeather(playerid,ClimaDefault);
- SetPlayerSkin(playerid,JugadorInfo[playerid][jRopa]);
- }
- }
- else if(which_spawn == 1)
- {
- if(gTeam[playerid] == EHUMANO)
- {
- SetPlayerPos(playerid,1134.1107,-1488.0193,22.7690);
- SetPlayerInterior(playerid,0);
- SetPlayerWeather(playerid, ClimaDefault);
- SetPlayerSkin(playerid,JugadorInfo[playerid][jRopa]);
- }
- else if(gTeam[playerid] == EZOMBIE)
- {
- SetPlayerPos(playerid,1543.7426,-1305.9878,16.1152);
- SetPlayerInterior(playerid,0);
- SetPlayerWeather(playerid, ClimaDefault);
- new rnd = random(sizeof(ZombieSkin));
- SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
- }
- }
- else if(which_spawn == 2)
- {
- if(gTeam[playerid] == EHUMANO)
- {
- SetPlayerPos(playerid,2509.9282,-1472.3695,24.0294);
- SetPlayerInterior(playerid,0);
- SetPlayerWeather(playerid, ClimaDefault);
- SetPlayerSkin(playerid,JugadorInfo[playerid][jRopa]);
- }
- else if(gTeam[playerid] == EZOMBIE)
- {
- SetPlayerPos(playerid,2578.9900,-1412.2079,24.4618);
- SetPlayerInterior(playerid,0);
- SetPlayerWeather(playerid, ClimaDefault);
- new rnd = random(sizeof(ZombieSkin));
- SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
- }
- }
- else if(which_spawn == 3)
- {
- if(gTeam[playerid] == EHUMANO)
- {
- SetPlayerPos(playerid,1593.0189,-1203.7548,19.8659);
- SetPlayerInterior(playerid,0);
- SetPlayerWeather(playerid, ClimaDefault);
- SetPlayerSkin(playerid,JugadorInfo[playerid][jRopa]);
- }
- else if(gTeam[playerid] == EZOMBIE)
- {
- SetPlayerPos(playerid,2578.9900,-1412.2079,24.4618);
- SetPlayerInterior(playerid,0);
- SetPlayerWeather(playerid, ClimaDefault);
- new rnd = random(sizeof(ZombieSkin));
- SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
- }
- }
- if(JugadorInfo[playerid][jInfectado] >= 1)
- {
- SafeSetPlayerPos(playerid,JugadorInfo[playerid][jPos_x],JugadorInfo[playerid][jPos_y],JugadorInfo[playerid][jPos_z]);
- ZombieTeam(playerid);
- new rnd = random(sizeof(ZombieSkin));
- SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
- JugadorInfo[playerid][jInfectado] = 0;
- JugadorInfo[playerid][jZombie] = 1;
- TogglePlayerControllable(playerid, 1);
- }
- else if(JugadorInfo[playerid][jInfectado] == 0 && JugadorInfo[playerid][jZombie] == 0)
- {
- SafeSetPlayerPos(playerid,JugadorInfo[playerid][jPos_x],JugadorInfo[playerid][jPos_y],JugadorInfo[playerid][jPos_z]);
- SetPlayerSkin(playerid, JugadorInfo[playerid][jRopa]);
- SetTimerEx("Desmayar", 2000, 0, "d", playerid);
- } /*
- else if(JugadorInfo[playerid][jLider] == 1)
- {
- SetPlayerPos(playerid,225.6344,1909.2631,17.6406);
- Militar(playerid);
- }
- else if(JugadorInfo[playerid][jLider] == 2)
- {
- TogglePlayerControllable(playerid,0);
- SetTimerEx("Desfrizear", 6000, 0, "d", playerid);
- SetPlayerPos(playerid,1833.8231,-1299.1377,22.2039);
- Conspirador(playerid);
- }
- else if(JugadorInfo[playerid][jMiembro] == 3)
- {
- SetPlayerPos(playerid,2759.2126,-2436.4126,13.5050);
- Militar(playerid);
- }
- else if(JugadorInfo[playerid][jMiembro] == 2)
- {
- TogglePlayerControllable(playerid,0);
- SetTimerEx("Desfrizear", 6000, 0, "d", playerid);
- SetPlayerPos(playerid,1833.8231,-1299.1377,22.2039);
- Conspirador(playerid);
- }
- else if(JugadorInfo[playerid][jMiembro] == 1)
- {
- SetPlayerPos(playerid,110.2537,1901.6782,10.0955);
- Militar(playerid);
- } */
- }
- else if(JugadorInfo[playerid][jSpawn] == 0)
- {
- if(JugadorInfo[playerid][jEncarcelado] == 0)
- {
- SafeSetPlayerInterior(playerid,JugadorInfo[playerid][jInt]);
- SafeSetPlayerPos(playerid,JugadorInfo[playerid][jPos_x],JugadorInfo[playerid][jPos_y],JugadorInfo[playerid][jPos_z]);
- SetPlayerHealth(playerid,JugadorInfo[playerid][jVida]);
- SetPlayerSkin(playerid,JugadorInfo[playerid][jRopa]);
- SetPlayerArmour(playerid,JugadorInfo[playerid][jArmadura]);
- TogglePlayerControllable(playerid, 1);
- JugadorInfo[playerid][jSpawn] = 1;
- return 1;
- }
- else if(JugadorInfo[playerid][jEncarcelado] >= 1)
- {
- SetPlayerVirtualWorld(playerid, 0);
- SetPlayerPos(playerid, 2448.2351,-1977.7130,13.5938);
- SendClientMessage(playerid, ROJO_OSCURO, "Tu condena no ha terminado!.");
- SetPlayerSkin(playerid,JugadorInfo[playerid][jRopa]);
- return 1;
- }
- }
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- new string[128];
- GetPlayerPos(playerid,positionx,positiony,positionz);
- JugadorInfo[playerid][jPos_x] = positionx;
- JugadorInfo[playerid][jPos_y] = positiony;
- JugadorInfo[playerid][jPos_z] = positionz;
- JugadorInfo[playerid][jSpawn] = 1;
- if(IsPlayerAttachedObjectSlotUsed(playerid, 0)) RemovePlayerAttachedObject(playerid, 0);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 1)) RemovePlayerAttachedObject(playerid, 1);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 2)) RemovePlayerAttachedObject(playerid, 2);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 3)) RemovePlayerAttachedObject(playerid, 3);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 4)) RemovePlayerAttachedObject(playerid, 4);
- if(IsPlayerAttachedObjectSlotUsed(playerid, 5)) RemovePlayerAttachedObject(playerid, 5);
- if(gTeam[killerid] == EHUMANO)
- {
- if(gTeam[playerid] == EHUMANO)
- {
- format(string, sizeof(string),"[FDM ZA-RP]: %s matou o %s, toma atençao. [%d]",NombreJugador(killerid), NombreJugador(playerid), killerid);
- ABroadCast(VERDE,string,1);
- }
- }
- if(gTeam[killerid] == EHUMANO)
- {
- if(gTeam[playerid] == EZOMBIE)
- {
- JugadorInfo[killerid][jPunteria] += 1;
- }
- }
- if(gTeam[playerid] == EZOMBIE)
- {
- if(JugadorInfo[playerid][jZombieC] == 3)
- {
- new Float:POSJ[3];
- GetPlayerPos(playerid,POSJ[0],POSJ[1],POSJ[2]);
- CreateExplosion(POSJ[0],POSJ[1],POSJ[2],6,10.0);
- }
- }
- JugadorInfo[playerid][jCaidas] = 0;
- JugadorInfo[playerid][jTyrant] = 0;
- JugadorInfo[playerid][jArma] = 0;
- JugadorInfo[playerid][jArma2] = 0;
- JugadorInfo[playerid][jArma3] = 0;
- JugadorInfo[playerid][jMunicion] = 0;
- JugadorInfo[playerid][jMunicion2] = 0;
- JugadorInfo[playerid][jMunicion3] = 0;
- JugadorInfo[playerid][jCaidas] = 0;
- if(JugadorInfo[playerid][jInfectado] >= 1)
- {
- format(string, 128, "[FDM ZA-RP]: %s você está infectado, injecte Medicina A ou B antes que a infecção piore! [%d]");
- SendClientMessage(playerid,VERDE, string);
- }
- if(gPlayerUsingLoopingAnim[playerid])
- {
- gPlayerUsingLoopingAnim[playerid] = 0;
- TextDrawHideForPlayer(playerid,txtAnimHelper);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement