Код:
//----------------------------------------------------------
//
// GRAND LARCENY 1.0
// A freeroam gamemode for SA-MP 0.3
//
//----------------------------------------------------------
#include <irc>
#include <a_samp>
#include <core>
#include <ircfs>
#include <float>
#include <YSI\y_ini>
#include <streamer>
#include <sscanf2>
#include <ZCMD> //Like so!
#include <DynamicRadioStations>
#include "../include/gl_common.inc"
#include "../include/gl_spawns.inc"
#pragma tabsize 0
//----------------------------------------------------------
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_NORMAL_PLAYER 0xFFBB7777
#define COLOR_RED 0xFF444499
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_GREEN 0xB1FB44FF
#define loop(%1,%2) for (new %1 = 0; %1 < %2; %1++) // loop (used for gamemode)
#define GAMETEXT_COLOR 2 //Change this to change the color of the text. 0 = yellow(default), 1 = blue, 2 = green, 3 = red, 4 = purple, 5 = white, 6 = black.
#define CITY_LOS_SANTOS 0
#define CITY_SAN_FIERRO 1
#define CITY_LAS_VENTURAS 2
#define Skinid 1
#define Money 2
#define Faction 3
#define irc
#define STREAMER_TYPE_OBJECT (0)
#define STREAMER_TYPE_PICKUP (1)
#define STREAMER_TYPE_CP (2)
#define STREAMER_TYPE_RACE_CP (3)
#define STREAMER_TYPE_MAP_ICON (4)
#define STREAMER_TYPE_3D_TEXT_LABEL (5)
#define STREAMER_TYPE_AREA (6)
#define STREAMER_AREA_TYPE_CIRCLE (0)
#define STREAMER_AREA_TYPE_RECTANGLE (1)
#define STREAMER_AREA_TYPE_SPHERE (2)
#define STREAMER_AREA_TYPE_CUBE (3)
#define STREAMER_AREA_TYPE_POLYGON (4)
#define STREAMER_OBJECT_TYPE_GLOBAL (0)
#define STREAMER_OBJECT_TYPE_PLAYER (1)
#define STREAMER_OBJECT_TYPE_DYNAMIC (2)
#define AdminLevel 5
#define Level 6
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4
#define PATH "/Users/%s.ini"
#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
// Name that everyone will see
#define BOT_1_NICKNAME "Julius95Bot"
// Name that will only be visible in a whois
#define BOT_1_REALNAME "Julius95Bot"
// Name that will be in front of the hostname (username@hostname)
#define BOT_1_USERNAME "Julius95Bot"
#define IRC_SERVER "irc.tl"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#Julius95"
#define IRC_CHANNEL2 "#Julius95" // IRC Channel #2
// If your bot names are registered put a password here to identify them with
#define IRC_PASSWORD "password"
#define IRC_PASSWORD "password"
// Maximum number of bots in the filterscript
#define MAX_BOTS (2)
#define PLUGIN_VERSION "1.4.3"
new total_vehicles_from_files=0;
// Class selection globals
new gPlayerCitySelection[MAX_PLAYERS];
new gPlayerHasCitySelected[MAX_PLAYERS];
new gPlayerLastCitySelectionTick[MAX_PLAYERS];
new Text:txtClassSelHelper;
new Text:txtLosSantos;
new Text:txtSanFierro;
new Text:txtLasVenturas;
new thisanimid=0;
new lastanimid=0;
new Text:txtTimeDisp;
new hour, minute;
new timestr[32];
new szString[32];
new gBotID[MAX_BOTS], gGroupID;
new botIDs[MAX_BOTS], groupID;
enum zoneinfo {
zone_name[256],
Float:zone_minx,
Float:zone_miny,
Float:zone_minz,
Float:zone_maxx,
Float:zone_maxy,
Float:zone_maxz
}
new Float:zones[][zoneinfo] = {
{ "The Big Ear'", -410.00, 1403.30, -3.00, -137.90, 1681.20, 200.00},
{ "Aldea Malvada", -1372.10, 2498.50, 0.00, -1277.50, 2615.30, 200.00},
{ "Angel Pine", -2324.90, -2584.20, -6.10, -1964.20, -2212.10, 200.00},
{ "Arco del Oeste", -901.10, 2221.80, 0.00, -592.00, 2571.90, 200.00},
{ "Avispa Country Club", -2646.40, -355.40, 0.00, -2270.00, -222.50, 200.00},
{ "Avispa Country Club", -2831.80, -430.20, -6.10, -2646.40, -222.50, 200.00},
{ "Avispa Country Club", -2361.50, -417.10, 0.00, -2270.00, -355.40, 200.00},
{ "Avispa Country Club", -2667.80, -302.10, -28.80, -2646.40, -262.30, 71.10},
{ "Avispa Country Club", -2470.00, -355.40, 0.00, -2270.00, -318.40, 46.10},
{ "Avispa Country Club", -2550.00, -355.40, 0.00, -2470.00, -318.40, 39.70},
{ "Back o Beyond", -1166.90, -2641.10, 0.00, -321.70, -1856.00, 200.00},
{ "Battery Point", -2741.00, 1268.40, -4.50, -2533.00, 1490.40, 200.00},
{ "Bayside", -2741.00, 2175.10, 0.00, -2353.10, 2722.70, 200.00},
{ "Bayside Marina", -2353.10, 2275.70, 0.00, -2153.10, 2475.70, 200.00},
{ "Beacon Hill", -399.60, -1075.50, -1.40, -319.00, -977.50, 198.50},
{ "Blackfield", 964.30, 1203.20, -89.00, 1197.30, 1403.20, 110.90},
{ "Blackfield", 964.30, 1403.20, -89.00, 1197.30, 1726.20, 110.90},
{ "Blackfield Chapel", 1375.60, 596.30, -89.00, 1558.00, 823.20, 110.90},
{ "Blackfield Chapel", 1325.60, 596.30, -89.00, 1375.60, 795.00, 110.90},
{ "Blackfield Intersection", 1197.30, 1044.60, -89.00, 1277.00, 1163.30, 110.90},
{ "Blackfield Intersection", 1166.50, 795.00, -89.00, 1375.60, 1044.60, 110.90},
{ "Blackfield Intersection", 1277.00, 1044.60, -89.00, 1315.30, 1087.60, 110.90},
{ "Blackfield Intersection", 1375.60, 823.20, -89.00, 1457.30, 919.40, 110.90},
{ "Blueberry", 104.50, -220.10, 2.30, 349.60, 152.20, 200.00},
{ "Blueberry", 19.60, -404.10, 3.80, 349.60, -220.10, 200.00},
{ "Blueberry Acres", -319.60, -220.10, 0.00, 104.50, 293.30, 200.00},
{ "Caligula's Palace", 2087.30, 1543.20, -89.00, 2437.30, 1703.20, 110.90},
{ "Caligula's Palace", 2137.40, 1703.20, -89.00, 2437.30, 1783.20, 110.90},
{ "Calton Heights", -2274.10, 744.10, -6.10, -1982.30, 1358.90, 200.00},
{ "Chinatown", -2274.10, 578.30, -7.60, -2078.60, 744.10, 200.00},
{ "City Hall", -2867.80, 277.40, -9.10, -2593.40, 458.40, 200.00},
{ "Come-A-Lot", 2087.30, 943.20, -89.00, 2623.10, 1203.20, 110.90},
{ "Commerce", 1323.90, -1842.20, -89.00, 1701.90, -1722.20, 110.90},
{ "Commerce", 1323.90, -1722.20, -89.00, 1440.90, -1577.50, 110.90},
{ "Commerce", 1370.80, -1577.50, -89.00, 1463.90, -1384.90, 110.90},
{ "Commerce", 1463.90, -1577.50, -89.00, 1667.90, -1430.80, 110.90},
{ "Commerce", 1583.50, -1722.20, -89.00, 1758.90, -1577.50, 110.90},
{ "Commerce", 1667.90, -1577.50, -89.00, 1812.60, -1430.80, 110.90},
{ "Conference Center", 1046.10, -1804.20, -89.00, 1323.90, -1722.20, 110.90},
{ "Conference Center", 1073.20, -1842.20, -89.00, 1323.90, -1804.20, 110.90},
{ "Cranberry Station", -2007.80, 56.30, 0.00, -1922.00, 224.70, 100.00},
{ "Creek", 2749.90, 1937.20, -89.00, 2921.60, 2669.70, 110.90},
{ "Dillimore", 580.70, -674.80, -9.50, 861.00, -404.70, 200.00},
{ "Doherty", -2270.00, -324.10, -0.00, -1794.90, -222.50, 200.00},
{ "Doherty", -2173.00, -222.50, -0.00, -1794.90, 265.20, 200.00},
{ "Downtown", -1982.30, 744.10, -6.10, -1871.70, 1274.20, 200.00},
{ "Downtown", -1871.70, 1176.40, -4.50, -1620.30, 1274.20, 200.00},
{ "Downtown", -1700.00, 744.20, -6.10, -1580.00, 1176.50, 200.00},
{ "Downtown", -1580.00, 744.20, -6.10, -1499.80, 1025.90, 200.00},
{ "Downtown", -2078.60, 578.30, -7.60, -1499.80, 744.20, 200.00},
{ "Downtown", -1993.20, 265.20, -9.10, -1794.90, 578.30, 200.00},
{ "Downtown Los Santos", 1463.90, -1430.80, -89.00, 1724.70, -1290.80, 110.90},
{ "Downtown Los Santos", 1724.70, -1430.80, -89.00, 1812.60, -1250.90, 110.90},
{ "Downtown Los Santos", 1463.90, -1290.80, -89.00, 1724.70, -1150.80, 110.90},
{ "Downtown Los Santos", 1370.80, -1384.90, -89.00, 1463.90, -1170.80, 110.90},
{ "Downtown Los Santos", 1724.70, -1250.90, -89.00, 1812.60, -1150.80, 110.90},
{ "Downtown Los Santos", 1370.80, -1170.80, -89.00, 1463.90, -1130.80, 110.90},
{ "Downtown Los Santos", 1378.30, -1130.80, -89.00, 1463.90, -1026.30, 110.90},
{ "Downtown Los Santos", 1391.00, -1026.30, -89.00, 1463.90, -926.90, 110.90},
{ "Downtown Los Santos", 1507.50, -1385.20, 110.90, 1582.50, -1325.30, 335.90},
{ "East Beach", 2632.80, -1852.80, -89.00, 2959.30, -1668.10, 110.90},
{ "East Beach", 2632.80, -1668.10, -89.00, 2747.70, -1393.40, 110.90},
{ "East Beach", 2747.70, -1668.10, -89.00, 2959.30, -1498.60, 110.90},
{ "East Beach", 2747.70, -1498.60, -89.00, 2959.30, -1120.00, 110.90},
{ "East Los Santos", 2421.00, -1628.50, -89.00, 2632.80, -1454.30, 110.90},
{ "East Los Santos", 2222.50, -1628.50, -89.00, 2421.00, -1494.00, 110.90},
{ "East Los Santos", 2266.20, -1494.00, -89.00, 2381.60, -1372.00, 110.90},
{ "East Los Santos", 2381.60, -1494.00, -89.00, 2421.00, -1454.30, 110.90},
{ "East Los Santos", 2281.40, -1372.00, -89.00, 2381.60, -1135.00, 110.90},
{ "East Los Santos", 2381.60, -1454.30, -89.00, 2462.10, -1135.00, 110.90},
{ "East Los Santos", 2462.10, -1454.30, -89.00, 2581.70, -1135.00, 110.90},
{ "Easter Basin", -1794.90, 249.90, -9.10, -1242.90, 578.30, 200.00},
{ "Easter Basin", -1794.90, -50.00, -0.00, -1499.80, 249.90, 200.00},
{ "Easter Bay Airport", -1499.80, -50.00, -0.00, -1242.90, 249.90, 200.00},
{ "Easter Bay Airport", -1794.90, -730.10, -3.00, -1213.90, -50.00, 200.00},
{ "Easter Bay Airport", -1213.90, -730.10, 0.00, -1132.80, -50.00, 200.00},
{ "Easter Bay Airport", -1242.90, -50.00, 0.00, -1213.90, 578.30, 200.00},
{ "Easter Bay Airport", -1213.90, -50.00, -4.50, -947.90, 578.30, 200.00},
{ "Easter Bay Airport", -1315.40, -405.30, 15.40, -1264.40, -209.50, 25.40},
{ "Easter Bay Airport", -1354.30, -287.30, 15.40, -1315.40, -209.50, 25.40},
{ "Easter Bay Airport", -1490.30, -209.50, 15.40, -1264.40, -148.30, 25.40},
{ "Easter Bay Chemicals", -1132.80, -768.00, 0.00, -956.40, -578.10, 200.00},
{ "Easter Bay Chemicals", -1132.80, -787.30, 0.00, -956.40, -768.00, 200.00},
{ "El Castillo del Diablo", -464.50, 2217.60, 0.00, -208.50, 2580.30, 200.00},
{ "El Castillo del Diablo", -208.50, 2123.00, -7.60, 114.00, 2337.10, 200.00},
{ "El Castillo del Diablo", -208.50, 2337.10, 0.00, 8.40, 2487.10, 200.00},
{ "El Corona", 1812.60, -2179.20, -89.00, 1970.60, -1852.80, 110.90},
{ "El Corona", 1692.60, -2179.20, -89.00, 1812.60, -1842.20, 110.90},
{ "El Quebrados", -1645.20, 2498.50, 0.00, -1372.10, 2777.80, 200.00},
{ "Esplanade East", -1620.30, 1176.50, -4.50, -1580.00, 1274.20, 200.00},
{ "Esplanade East", -1580.00, 1025.90, -6.10, -1499.80, 1274.20, 200.00},
{ "Esplanade East", -1499.80, 578.30, -79.60, -1339.80, 1274.20, 20.30},
{ "Esplanade North", -2533.00, 1358.90, -4.50, -1996.60, 1501.20, 200.00},
{ "Esplanade North", -1996.60, 1358.90, -4.50, -1524.20, 1592.50, 200.00},
{ "Esplanade North", -1982.30, 1274.20, -4.50, -1524.20, 1358.90, 200.00},
{ "Fallen Tree", -792.20, -698.50, -5.30, -452.40, -380.00, 200.00},
{ "Fallow Bridge", 434.30, 366.50, 0.00, 603.00, 555.60, 200.00},
{ "Fern Ridge", 508.10, -139.20, 0.00, 1306.60, 119.50, 200.00},
{ "Financial", -1871.70, 744.10, -6.10, -1701.30, 1176.40, 300.00},
{ "Fisher's Lagoon", 1916.90, -233.30, -100.00, 2131.70, 13.80, 200.00},
{ "Flint Intersection", -187.70, -1596.70, -89.00, 17.00, -1276.60, 110.90},
{ "Flint Range", -594.10, -1648.50, 0.00, -187.70, -1276.60, 200.00},
{ "Fort Carson", -376.20, 826.30, -3.00, 123.70, 1220.40, 200.00},
{ "Foster Valley", -2270.00, -430.20, -0.00, -2178.60, -324.10, 200.00},
{ "Foster Valley", -2178.60, -599.80, -0.00, -1794.90, -324.10, 200.00},
{ "Foster Valley", -2178.60, -1115.50, 0.00, -1794.90, -599.80, 200.00},
{ "Foster Valley", -2178.60, -1250.90, 0.00, -1794.90, -1115.50, 200.00},
{ "Frederick Bridge", 2759.20, 296.50, 0.00, 2774.20, 594.70, 200.00},
{ "Gant Bridge", -2741.40, 1659.60, -6.10, -2616.40, 2175.10, 200.00},
{ "Gant Bridge", -2741.00, 1490.40, -6.10, -2616.40, 1659.60, 200.00},
{ "Ganton", 2222.50, -1852.80, -89.00, 2632.80, -1722.30, 110.90},
{ "Ganton", 2222.50, -1722.30, -89.00, 2632.80, -1628.50, 110.90},
{ "Garcia", -2411.20, -222.50, -0.00, -2173.00, 265.20, 200.00},
{ "Garcia", -2395.10, -222.50, -5.30, -2354.00, -204.70, 200.00},
{ "Garver Bridge", -1339.80, 828.10, -89.00, -1213.90, 1057.00, 110.90},
{ "Garver Bridge", -1213.90, 950.00, -89.00, -1087.90, 1178.90, 110.90},
{ "Garver Bridge", -1499.80, 696.40, -179.60, -1339.80, 925.30, 20.30},
{ "Glen Park", 1812.60, -1449.60, -89.00, 1996.90, -1350.70, 110.90},
{ "Glen Park", 1812.60, -1100.80, -89.00, 1994.30, -973.30, 110.90},
{ "Glen Park", 1812.60, -1350.70, -89.00, 2056.80, -1100.80, 110.90},
{ "Green Palms", 176.50, 1305.40, -3.00, 338.60, 1520.70, 200.00},
{ "Greenglass College", 964.30, 1044.60, -89.00, 1197.30, 1203.20, 110.90},
{ "Greenglass College", 964.30, 930.80, -89.00, 1166.50, 1044.60, 110.90},
{ "Hampton Barns", 603.00, 264.30, 0.00, 761.90, 366.50, 200.00},
{ "Hankypanky Point", 2576.90, 62.10, 0.00, 2759.20, 385.50, 200.00},
{ "Harry Gold Parkway", 1777.30, 863.20, -89.00, 1817.30, 2342.80, 110.90},
{ "Hashbury", -2593.40, -222.50, -0.00, -2411.20, 54.70, 200.00},
{ "Hilltop Farm", 967.30, -450.30, -3.00, 1176.70, -217.90, 200.00},
{ "Hunter Quarry", 337.20, 710.80, -115.20, 860.50, 1031.70, 203.70},
{ "Idlewood", 1812.60, -1852.80, -89.00, 1971.60, -1742.30, 110.90},
{ "Idlewood", 1812.60, -1742.30, -89.00, 1951.60, -1602.30, 110.90},
{ "Idlewood", 1951.60, -1742.30, -89.00, 2124.60, -1602.30, 110.90},
{ "Idlewood", 1812.60, -1602.30, -89.00, 2124.60, -1449.60, 110.90},
{ "Idlewood", 2124.60, -1742.30, -89.00, 2222.50, -1494.00, 110.90},
{ "Idlewood", 1971.60, -1852.80, -89.00, 2222.50, -1742.30, 110.90},
{ "Jefferson", 1996.90, -1449.60, -89.00, 2056.80, -1350.70, 110.90},
{ "Jefferson", 2124.60, -1494.00, -89.00, 2266.20, -1449.60, 110.90},
{ "Jefferson", 2056.80, -1372.00, -89.00, 2281.40, -1210.70, 110.90},
{ "Jefferson", 2056.80, -1210.70, -89.00, 2185.30, -1126.30, 110.90},
{ "Jefferson", 2185.30, -1210.70, -89.00, 2281.40, -1154.50, 110.90},
{ "Jefferson", 2056.80, -1449.60, -89.00, 2266.20, -1372.00, 110.90},
{ "Julius Thruway East", 2623.10, 943.20, -89.00, 2749.90, 1055.90, 110.90},
{ "Julius Thruway East", 2685.10, 1055.90, -89.00, 2749.90, 2626.50, 110.90},
{ "Julius Thruway East", 2536.40, 2442.50, -89.00, 2685.10, 2542.50, 110.90},
{ "Julius Thruway East", 2625.10, 2202.70, -89.00, 2685.10, 2442.50, 110.90},
{ "Julius Thruway North", 2498.20, 2542.50, -89.00, 2685.10, 2626.50, 110.90},
{ "Julius Thruway North", 2237.40, 2542.50, -89.00, 2498.20, 2663.10, 110.90},
{ "Julius Thruway North", 2121.40, 2508.20, -89.00, 2237.40, 2663.10, 110.90},
{ "Julius Thruway North", 1938.80, 2508.20, -89.00, 2121.40, 2624.20, 110.90},
{ "Julius Thruway North", 1534.50, 2433.20, -89.00, 1848.40, 2583.20, 110.90},
{ "Julius Thruway North", 1848.40, 2478.40, -89.00, 1938.80, 2553.40, 110.90},
{ "Julius Thruway North", 1704.50, 2342.80, -89.00, 1848.40, 2433.20, 110.90},
{ "Julius Thruway North", 1377.30, 2433.20, -89.00, 1534.50, 2507.20, 110.90},
{ "Julius Thruway South", 1457.30, 823.20, -89.00, 2377.30, 863.20, 110.90},
{ "Julius Thruway South", 2377.30, 788.80, -89.00, 2537.30, 897.90, 110.90},
{ "Julius Thruway West", 1197.30, 1163.30, -89.00, 1236.60, 2243.20, 110.90},
{ "Julius Thruway West", 1236.60, 2142.80, -89.00, 1297.40, 2243.20, 110.90},
{ "Juniper Hill", -2533.00, 578.30, -7.60, -2274.10, 968.30, 200.00},
{ "Juniper Hollow", -2533.00, 968.30, -6.10, -2274.10, 1358.90, 200.00},
{ "K.A.C.C. Military Fuels", 2498.20, 2626.50, -89.00, 2749.90, 2861.50, 110.90},
{ "Kincaid Bridge", -1339.80, 599.20, -89.00, -1213.90, 828.10, 110.90},
{ "Kincaid Bridge", -1213.90, 721.10, -89.00, -1087.90, 950.00, 110.90},
{ "Kincaid Bridge", -1087.90, 855.30, -89.00, -961.90, 986.20, 110.90},
{ "King's", -2329.30, 458.40, -7.60, -1993.20, 578.30, 200.00},
{ "King's", -2411.20, 265.20, -9.10, -1993.20, 373.50, 200.00},
{ "King's", -2253.50, 373.50, -9.10, -1993.20, 458.40, 200.00},
{ "LVA Freight Depot", 1457.30, 863.20, -89.00, 1777.40, 1143.20, 110.90},
{ "LVA Freight Depot", 1375.60, 919.40, -89.00, 1457.30, 1203.20, 110.90},
{ "LVA Freight Depot", 1277.00, 1087.60, -89.00, 1375.60, 1203.20, 110.90},
{ "LVA Freight Depot", 1315.30, 1044.60, -89.00, 1375.60, 1087.60, 110.90},
{ "LVA Freight Depot", 1236.60, 1163.40, -89.00, 1277.00, 1203.20, 110.90},
{ "Las Barrancas", -926.10, 1398.70, -3.00, -719.20, 1634.60, 200.00},
{ "Las Brujas", -365.10, 2123.00, -3.00, -208.50, 2217.60, 200.00},
{ "Las Colinas", 1994.30, -1100.80, -89.00, 2056.80, -920.80, 110.90},
{ "Las Colinas", 2056.80, -1126.30, -89.00, 2126.80, -920.80, 110.90},
{ "Las Colinas", 2185.30, -1154.50, -89.00, 2281.40, -934.40, 110.90},
{ "Las Colinas", 2126.80, -1126.30, -89.00, 2185.30, -934.40, 110.90},
{ "Las Colinas", 2747.70, -1120.00, -89.00, 2959.30, -945.00, 110.90},
{ "Las Colinas", 2632.70, -1135.00, -89.00, 2747.70, -945.00, 110.90},
{ "Las Colinas", 2281.40, -1135.00, -89.00, 2632.70, -945.00, 110.90},
{ "Las Payasadas", -354.30, 2580.30, 2.00, -133.60, 2816.80, 200.00},
{ "Las Venturas Airport", 1236.60, 1203.20, -89.00, 1457.30, 1883.10, 110.90},
{ "Las Venturas Airport", 1457.30, 1203.20, -89.00, 1777.30, 1883.10, 110.90},
{ "Las Venturas Airport", 1457.30, 1143.20, -89.00, 1777.40, 1203.20, 110.90},
{ "Las Venturas Airport", 1515.80, 1586.40, -12.50, 1729.90, 1714.50, 87.50},
{ "Last Dime Motel", 1823.00, 596.30, -89.00, 1997.20, 823.20, 110.90},
{ "Leafy Hollow", -1166.90, -1856.00, 0.00, -815.60, -1602.00, 200.00},
{ "Lil' Probe Inn", -90.20, 1286.80, -3.00, 153.80, 1554.10, 200.00},
{ "Linden Side", 2749.90, 943.20, -89.00, 2923.30, 1198.90, 110.90},
{ "Linden Station", 2749.90, 1198.90, -89.00, 2923.30, 1548.90, 110.90},
{ "Linden Station", 2811.20, 1229.50, -39.50, 2861.20, 1407.50, 60.40},
{ "Little Mexico", 1701.90, -1842.20, -89.00, 1812.60, -1722.20, 110.90},
{ "Little Mexico", 1758.90, -1722.20, -89.00, 1812.60, -1577.50, 110.90},
{ "Los Flores", 2581.70, -1454.30, -89.00, 2632.80, -1393.40, 110.90},
{ "Los Flores", 2581.70, -1393.40, -89.00, 2747.70, -1135.00, 110.90},
{ "Los Santos International", 1249.60, -2394.30, -89.00, 1852.00, -2179.20, 110.90},
{ "Los Santos International", 1852.00, -2394.30, -89.00, 2089.00, -2179.20, 110.90},
{ "Los Santos International", 1382.70, -2730.80, -89.00, 2201.80, -2394.30, 110.90},
{ "Los Santos International", 1974.60, -2394.30, -39.00, 2089.00, -2256.50, 60.90},
{ "Los Santos International", 1400.90, -2669.20, -39.00, 2189.80, -2597.20, 60.90},
{ "Los Santos International", 2051.60, -2597.20, -39.00, 2152.40, -2394.30, 60.90},
{ "Marina", 647.70, -1804.20, -89.00, 851.40, -1577.50, 110.90},
{ "Marina", 647.70, -1577.50, -89.00, 807.90, -1416.20, 110.90},
{ "Marina", 807.90, -1577.50, -89.00, 926.90, -1416.20, 110.90},
{ "Market", 787.40, -1416.20, -89.00, 1072.60, -1310.20, 110.90},
{ "Market", 952.60, -1310.20, -89.00, 1072.60, -1130.80, 110.90},
{ "Market", 1072.60, -1416.20, -89.00, 1370.80, -1130.80, 110.90},
{ "Market", 926.90, -1577.50, -89.00, 1370.80, -1416.20, 110.90},
{ "Market Station", 787.40, -1410.90, -34.10, 866.00, -1310.20, 65.80},
{ "Martin Bridge", -222.10, 293.30, 0.00, -122.10, 476.40, 200.00},
{ "Missionary Hill", -2994.40, -811.20, 0.00, -2178.60, -430.20, 200.00},
{ "Montgomery", 1119.50, 119.50, -3.00, 1451.40, 493.30, 200.00},
{ "Montgomery", 1451.40, 347.40, -6.10, 1582.40, 420.80, 200.00},
{ "Montgomery Intersection", 1546.60, 208.10, 0.00, 1745.80, 347.40, 200.00},
{ "Montgomery Intersection", 1582.40, 347.40, 0.00, 1664.60, 401.70, 200.00},
{ "Mulholland", 1414.00, -768.00, -89.00, 1667.60, -452.40, 110.90},
{ "Mulholland", 1281.10, -452.40, -89.00, 1641.10, -290.90, 110.90},
{ "Mulholland", 1269.10, -768.00, -89.00, 1414.00, -452.40, 110.90},
{ "Mulholland", 1357.00, -926.90, -89.00, 1463.90, -768.00, 110.90},
{ "Mulholland", 1318.10, -910.10, -89.00, 1357.00, -768.00, 110.90},
{ "Mulholland", 1169.10, -910.10, -89.00, 1318.10, -768.00, 110.90},
{ "Mulholland", 768.60, -954.60, -89.00, 952.60, -860.60, 110.90},
{ "Mulholland", 687.80, -860.60, -89.00, 911.80, -768.00, 110.90},
{ "Mulholland", 737.50, -768.00, -89.00, 1142.20, -674.80, 110.90},
{ "Mulholland", 1096.40, -910.10, -89.00, 1169.10, -768.00, 110.90},
{ "Mulholland", 952.60, -937.10, -89.00, 1096.40, -860.60, 110.90},
{ "Mulholland", 911.80, -860.60, -89.00, 1096.40, -768.00, 110.90},
{ "Mulholland", 861.00, -674.80, -89.00, 1156.50, -600.80, 110.90},
{ "Mulholland Intersection", 1463.90, -1150.80, -89.00, 1812.60, -768.00, 110.90},
{ "North Rock", 2285.30, -768.00, 0.00, 2770.50, -269.70, 200.00},
{ "Ocean Docks", 2373.70, -2697.00, -89.00, 2809.20, -2330.40, 110.90},
{ "Ocean Docks", 2201.80, -2418.30, -89.00, 2324.00, -2095.00, 110.90},
{ "Ocean Docks", 2324.00, -2302.30, -89.00, 2703.50, -2145.10, 110.90},
{ "Ocean Docks", 2089.00, -2394.30, -89.00, 2201.80, -2235.80, 110.90},
{ "Ocean Docks", 2201.80, -2730.80, -89.00, 2324.00, -2418.30, 110.90},
{ "Ocean Docks", 2703.50, -2302.30, -89.00, 2959.30, -2126.90, 110.90},
{ "Ocean Docks", 2324.00, -2145.10, -89.00, 2703.50, -2059.20, 110.90},
{ "Ocean Flats", -2994.40, 277.40, -9.10, -2867.80, 458.40, 200.00},
{ "Ocean Flats", -2994.40, -222.50, -0.00, -2593.40, 277.40, 200.00},
{ "Ocean Flats", -2994.40, -430.20, -0.00, -2831.80, -222.50, 200.00},
{ "Octane Springs", 338.60, 1228.50, 0.00, 664.30, 1655.00, 200.00},
{ "Old Venturas Strip", 2162.30, 2012.10, -89.00, 2685.10, 2202.70, 110.90},
{ "Palisades", -2994.40, 458.40, -6.10, -2741.00, 1339.60, 200.00},
{ "Palomino Creek", 2160.20, -149.00, 0.00, 2576.90, 228.30, 200.00},
{ "Paradiso", -2741.00, 793.40, -6.10, -2533.00, 1268.40, 200.00},
{ "Pershing Square", 1440.90, -1722.20, -89.00, 1583.50, -1577.50, 110.90},
{ "Pilgrim", 2437.30, 1383.20, -89.00, 2624.40, 1783.20, 110.90},
{ "Pilgrim", 2624.40, 1383.20, -89.00, 2685.10, 1783.20, 110.90},
{ "Pilson Intersection", 1098.30, 2243.20, -89.00, 1377.30, 2507.20, 110.90},
{ "Pirates in Men's Pants", 1817.30, 1469.20, -89.00, 2027.40, 1703.20, 110.90},
{ "Playa del Seville", 2703.50, -2126.90, -89.00, 2959.30, -1852.80, 110.90},
{ "Prickle Pine", 1534.50, 2583.20, -89.00, 1848.40, 2863.20, 110.90},
{ "Prickle Pine", 1117.40, 2507.20, -89.00, 1534.50, 2723.20, 110.90},
{ "Prickle Pine", 1848.40, 2553.40, -89.00, 1938.80, 2863.20, 110.90},
{ "Prickle Pine", 1938.80, 2624.20, -89.00, 2121.40, 2861.50, 110.90},
{ "Queens", -2533.00, 458.40, 0.00, -2329.30, 578.30, 200.00},
{ "Queens", -2593.40, 54.70, 0.00, -2411.20, 458.40, 200.00},
{ "Queens", -2411.20, 373.50, 0.00, -2253.50, 458.40, 200.00},
{ "Randolph Industrial Estate", 1558.00, 596.30, -89.00, 1823.00, 823.20, 110.90},
{ "Redsands East", 1817.30, 2011.80, -89.00, 2106.70, 2202.70, 110.90},
{ "Redsands East", 1817.30, 2202.70, -89.00, 2011.90, 2342.80, 110.90},
{ "Redsands East", 1848.40, 2342.80, -89.00, 2011.90, 2478.40, 110.90},
{ "Redsands West", 1236.60, 1883.10, -89.00, 1777.30, 2142.80, 110.90},
{ "Redsands West", 1297.40, 2142.80, -89.00, 1777.30, 2243.20, 110.90},
{ "Redsands West", 1377.30, 2243.20, -89.00, 1704.50, 2433.20, 110.90},
{ "Redsands West", 1704.50, 2243.20, -89.00, 1777.30, 2342.80, 110.90},
{ "Regular Tom", -405.70, 1712.80, -3.00, -276.70, 1892.70, 200.00},
{ "Richman", 647.50, -1118.20, -89.00, 787.40, -954.60, 110.90},
{ "Richman", 647.50, -954.60, -89.00, 768.60, -860.60, 110.90},
{ "Richman", 225.10, -1369.60, -89.00, 334.50, -1292.00, 110.90},
{ "Richman", 225.10, -1292.00, -89.00, 466.20, -1235.00, 110.90},
{ "Richman", 72.60, -1404.90, -89.00, 225.10, -1235.00, 110.90},
{ "Richman", 72.60, -1235.00, -89.00, 321.30, -1008.10, 110.90},
{ "Richman", 321.30, -1235.00, -89.00, 647.50, -1044.00, 110.90},
{ "Richman", 321.30, -1044.00, -89.00, 647.50, -860.60, 110.90},
{ "Richman", 321.30, -860.60, -89.00, 687.80, -768.00, 110.90},
{ "Richman", 321.30, -768.00, -89.00, 700.70, -674.80, 110.90},
{ "Robada Intersection", -1119.00, 1178.90, -89.00, -862.00, 1351.40, 110.90},
{ "Roca Escalante", 2237.40, 2202.70, -89.00, 2536.40, 2542.50, 110.90},
{ "Roca Escalante", 2536.40, 2202.70, -89.00, 2625.10, 2442.50, 110.90},
{ "Rockshore East", 2537.30, 676.50, -89.00, 2902.30, 943.20, 110.90},
{ "Rockshore West", 1997.20, 596.30, -89.00, 2377.30, 823.20, 110.90},
{ "Rockshore West", 2377.30, 596.30, -89.00, 2537.30, 788.80, 110.90},
{ "Rodeo", 72.60, -1684.60, -89.00, 225.10, -1544.10, 110.90},
{ "Rodeo", 72.60, -1544.10, -89.00, 225.10, -1404.90, 110.90},
{ "Rodeo", 225.10, -1684.60, -89.00, 312.80, -1501.90, 110.90},
{ "Rodeo", 225.10, -1501.90, -89.00, 334.50, -1369.60, 110.90},
{ "Rodeo", 334.50, -1501.90, -89.00, 422.60, -1406.00, 110.90},
{ "Rodeo", 312.80, -1684.60, -89.00, 422.60, -1501.90, 110.90},
{ "Rodeo", 422.60, -1684.60, -89.00, 558.00, -1570.20, 110.90},
{ "Rodeo", 558.00, -1684.60, -89.00, 647.50, -1384.90, 110.90},
{ "Rodeo", 466.20, -1570.20, -89.00, 558.00, -1385.00, 110.90},
{ "Rodeo", 422.60, -1570.20, -89.00, 466.20, -1406.00, 110.90},
{ "Rodeo", 466.20, -1385.00, -89.00, 647.50, -1235.00, 110.90},
{ "Rodeo", 334.50, -1406.00, -89.00, 466.20, -1292.00, 110.90},
{ "Royal Casino", 2087.30, 1383.20, -89.00, 2437.30, 1543.20, 110.90},
{ "San Andreas Sound", 2450.30, 385.50, -100.00, 2759.20, 562.30, 200.00},
{ "Santa Flora", -2741.00, 458.40, -7.60, -2533.00, 793.40, 200.00},
{ "Santa Maria Beach", 342.60, -2173.20, -89.00, 647.70, -1684.60, 110.90},
{ "Santa Maria Beach", 72.60, -2173.20, -89.00, 342.60, -1684.60, 110.90},
{ "Shady Cabin", -1632.80, -2263.40, -3.00, -1601.30, -2231.70, 200.00},
{ "Shady Creeks", -1820.60, -2643.60, -8.00, -1226.70, -1771.60, 200.00},
{ "Shady Creeks", -2030.10, -2174.80, -6.10, -1820.60, -1771.60, 200.00},
{ "Sobell Rail Yards", 2749.90, 1548.90, -89.00, 2923.30, 1937.20, 110.90},
{ "Spinybed", 2121.40, 2663.10, -89.00, 2498.20, 2861.50, 110.90},
{ "Starfish Casino", 2437.30, 1783.20, -89.00, 2685.10, 2012.10, 110.90},
{ "Starfish Casino", 2437.30, 1858.10, -39.00, 2495.00, 1970.80, 60.90},
{ "Starfish Casino", 2162.30, 1883.20, -89.00, 2437.30, 2012.10, 110.90},
{ "Temple", 1252.30, -1130.80, -89.00, 1378.30, -1026.30, 110.90},
{ "Temple", 1252.30, -1026.30, -89.00, 1391.00, -926.90, 110.90},
{ "Temple", 1252.30, -926.90, -89.00, 1357.00, -910.10, 110.90},
{ "Temple", 952.60, -1130.80, -89.00, 1096.40, -937.10, 110.90},
{ "Temple", 1096.40, -1130.80, -89.00, 1252.30, -1026.30, 110.90},
{ "Temple", 1096.40, -1026.30, -89.00, 1252.30, -910.10, 110.90},
{ "The Camel's Toe", 2087.30, 1203.20, -89.00, 2640.40, 1383.20, 110.90},
{ "The Clown's Pocket", 2162.30, 1783.20, -89.00, 2437.30, 1883.20, 110.90},
{ "The Emerald Isle", 2011.90, 2202.70, -89.00, 2237.40, 2508.20, 110.90},
{ "The Farm", -1209.60, -1317.10, 114.90, -908.10, -787.30, 251.90},
{ "The Four Dragons Casino", 1817.30, 863.20, -89.00, 2027.30, 1083.20, 110.90},
{ "The High Roller", 1817.30, 1283.20, -89.00, 2027.30, 1469.20, 110.90},
{ "The Mako Span", 1664.60, 401.70, 0.00, 1785.10, 567.20, 200.00},
{ "The Panopticon", -947.90, -304.30, -1.10, -319.60, 327.00, 200.00},
{ "The Pink Swan", 1817.30, 1083.20, -89.00, 2027.30, 1283.20, 110.90},
{ "The Sherman Dam", -968.70, 1929.40, -3.00, -481.10, 2155.20, 200.00},
{ "The Strip", 2027.40, 863.20, -89.00, 2087.30, 1703.20, 110.90},
{ "The Strip", 2106.70, 1863.20, -89.00, 2162.30, 2202.70, 110.90},
{ "The Strip", 2027.40, 1783.20, -89.00, 2162.30, 1863.20, 110.90},
{ "The Strip", 2027.40, 1703.20, -89.00, 2137.40, 1783.20, 110.90},
{ "The Visage", 1817.30, 1863.20, -89.00, 2106.70, 2011.80, 110.90},
{ "The Visage", 1817.30, 1703.20, -89.00, 2027.40, 1863.20, 110.90},
{ "Unity Station", 1692.60, -1971.80, -20.40, 1812.60, -1932.80, 79.50},
{ "Valle Ocultado", -936.60, 2611.40, 2.00, -715.90, 2847.90, 200.00},
{ "Verdant Bluffs", 930.20, -2488.40, -89.00, 1249.60, -2006.70, 110.90},
{ "Verdant Bluffs", 1073.20, -2006.70, -89.00, 1249.60, -1842.20, 110.90},
{ "Verdant Bluffs", 1249.60, -2179.20, -89.00, 1692.60, -1842.20, 110.90},
{ "Verdant Meadows", 37.00, 2337.10, -3.00, 435.90, 2677.90, 200.00},
{ "Verona Beach", 647.70, -2173.20, -89.00, 930.20, -1804.20, 110.90},
{ "Verona Beach", 930.20, -2006.70, -89.00, 1073.20, -1804.20, 110.90},
{ "Verona Beach", 851.40, -1804.20, -89.00, 1046.10, -1577.50, 110.90},
{ "Verona Beach", 1161.50, -1722.20, -89.00, 1323.90, -1577.50, 110.90},
{ "Verona Beach", 1046.10, -1722.20, -89.00, 1161.50, -1577.50, 110.90},
{ "Vinewood", 787.40, -1310.20, -89.00, 952.60, -1130.80, 110.90},
{ "Vinewood", 787.40, -1130.80, -89.00, 952.60, -954.60, 110.90},
{ "Vinewood", 647.50, -1227.20, -89.00, 787.40, -1118.20, 110.90},
{ "Vinewood", 647.70, -1416.20, -89.00, 787.40, -1227.20, 110.90},
{ "Whitewood Estates", 883.30, 1726.20, -89.00, 1098.30, 2507.20, 110.90},
{ "Whitewood Estates", 1098.30, 1726.20, -89.00, 1197.30, 2243.20, 110.90},
{ "Willowfield", 1970.60, -2179.20, -89.00, 2089.00, -1852.80, 110.90},
{ "Willowfield", 2089.00, -2235.80, -89.00, 2201.80, -1989.90, 110.90},
{ "Willowfield", 2089.00, -1989.90, -89.00, 2324.00, -1852.80, 110.90},
{ "Willowfield", 2201.80, -2095.00, -89.00, 2324.00, -1989.90, 110.90},
{ "Willowfield", 2541.70, -1941.40, -89.00, 2703.50, -1852.80, 110.90},
{ "Willowfield", 2324.00, -2059.20, -89.00, 2541.70, -1852.80, 110.90},
{ "Willowfield", 2541.70, -2059.20, -89.00, 2703.50, -1941.40, 110.90},
{ "Yellow Bell Station", 1377.40, 2600.40, -21.90, 1492.40, 2687.30, 78.00},
// Main Zones
{ "Los Santos", 44.60, -2892.90, -242.90, 2997.00, -768.00, 900.00},
{ "Las Venturas", 869.40, 596.30, -242.90, 2997.00, 2993.80, 900.00},
{ "Bone County", -480.50, 596.30, -242.90, 869.40, 2993.80, 900.00},
{ "Tierra Robada", -2997.40, 1659.60, -242.90, -480.50, 2993.80, 900.00},
{ "Tierra Robada", -1213.90, 596.30, -242.90, -480.50, 1659.60, 900.00},
{ "San Fierro", -2997.40, -1115.50, -242.90, -1213.90, 1659.60, 900.00},
{ "Red County", -1213.90, -768.00, -242.90, 2997.00, 596.30, 900.00},
{ "Flint County", -1213.90, -2892.90, -242.90, 44.60, -768.00, 900.00},
{ "Whetstone", -2997.40, -2892.90, -242.90, -1213.90, -1115.50, 900.00}
};
new VehicleNames[212][] = {
{"Landstalker"},{"Bravura"},{"Buffalo"},{"Linerunner"},{"Perrenial"},{"Sentinel"},{"Dumper"},
{"Firetruck"},{"Trashmaster"},{"Stretch"},{"Manana"},{"Infernus"},{"Voodoo"},{"Pony"},{"Mule"},
{"Cheetah"},{"Ambulance"},{"Leviathan"},{"Moonbeam"},{"Esperanto"},{"Taxi"},{"Washington"},
{"Bobcat"},{"Mr Whoopee"},{"BF Injection"},{"Hunter"},{"Premier"},{"Enforcer"},{"Securicar"},
{"Banshee"},{"Predator"},{"Bus"},{"Rhino"},{"Barracks"},{"Hotknife"},{"Trailer 1"},{"Previon"},
{"Coach"},{"Cabbie"},{"Stallion"},{"Rumpo"},{"RC Bandit"},{"Romero"},{"Packer"},{"Monster"},
{"Admiral"},{"Squalo"},{"Seasparrow"},{"Pizzaboy"},{"Tram"},{"Trailer 2"},{"Turismo"},
{"Speeder"},{"Reefer"},{"Tropic"},{"Flatbed"},{"Yankee"},{"Caddy"},{"Solair"},{"Berkley's RC Van"},
{"Skimmer"},{"PCJ-600"},{"Faggio"},{"Freeway"},{"RC Baron"},{"RC Raider"},{"Glendale"},{"Oceanic"},
{"Sanchez"},{"Sparrow"},{"Patriot"},{"Quad"},{"Coastguard"},{"Dinghy"},{"Hermes"},{"Sabre"},
{"Rustler"},{"ZR-350"},{"Walton"},{"Regina"},{"Comet"},{"BMX"},{"Burrito"},{"Camper"},{"Marquis"},
{"Baggage"},{"Dozer"},{"Maverick"},{"News Chopper"},{"Rancher"},{"FBI Rancher"},{"Virgo"},{"Greenwood"},
{"Jetmax"},{"Hotring"},{"Sandking"},{"Blista Compact"},{"Police Maverick"},{"Boxville"},{"Benson"},
{"Mesa"},{"RC Goblin"},{"Hotring Racer A"},{"Hotring Racer B"},{"Bloodring Banger"},{"Rancher"},
{"Super GT"},{"Elegant"},{"Journey"},{"Bike"},{"Mountain Bike"},{"Beagle"},{"Cropdust"},{"Stunt"},
{"Tanker"}, {"Roadtrain"},{"Nebula"},{"Majestic"},{"Buccaneer"},{"Shamal"},{"Hydra"},{"FCR-900"},
{"NRG-500"},{"HPV1000"},{"Cement Truck"},{"Tow Truck"},{"Fortune"},{"Cadrona"},{"FBI Truck"},
{"Willard"},{"Forklift"},{"Tractor"},{"Combine"},{"Feltzer"},{"Remington"},{"Slamvan"},
{"Blade"},{"Freight"},{"Streak"},{"Vortex"},{"Vincent"},{"Bullet"},{"Clover"},{"Sadler"},
{"Firetruck LA"},{"Hustler"},{"Intruder"},{"Primo"},{"Cargobob"},{"Tampa"},{"Sunrise"},{"Merit"},
{"Utility"},{"Nevada"},{"Yosemite"},{"Windsor"},{"Monster A"},{"Monster B"},{"Uranus"},{"Jester"},
{"Sultan"},{"Stratum"},{"Elegy"},{"Raindance"},{"RC Tiger"},{"Flash"},{"Tahoma"},{"Savanna"},
{"Bandito"},{"Freight Flat"},{"Streak Carriage"},{"Kart"},{"Mower"},{"Duneride"},{"Sweeper"},
{"Broadway"},{"Tornado"},{"AT-400"},{"DFT-30"},{"Huntley"},{"Stafford"},{"BF-400"},{"Newsvan"},
{"Tug"},{"Trailer 3"},{"Emperor"},{"Wayfarer"},{"Euros"},{"Hotdog"},{"Club"},{"Freight Carriage"},
{"Trailer 3"},{"Andromada"},{"Dodo"},{"RC Cam"},{"Launch"},{"Police Car (LSPD)"},{"Police Car (SFPD)"},
{"Police Car (LVPD)"},{"Police Ranger"},{"Picador"},{"S.W.A.T. Van"},{"Alpha"},{"Phoenix"},{"Glendale"},
{"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},{"Boxville"},{"Farm Plow"},
{"Utility Trailer"}
};
new VehicleModel[MAX_PLAYERS];
new CFCTimer;
forward CheckForChange(playerid);
forward ShowGameTextForPlayer(playerid);
forward update_zones(playerid);
new zoneupdates[MAX_PLAYERS];
new player_zone[MAX_PLAYERS];
new zoneupdate;
forward UpdateTimeAndWeather();
//--------------------------------------------------
new fine_weather_ids[] = {1,2,3,4,5,6,7,12,13,14,15,17,18,24,25,26,27,28,29,30,40};
new foggy_weather_ids[] = {9,19,20,31,32};
new wet_weather_ids[] = {8};
stock UpdateWorldWeather()
{
new next_weather_prob = random(100);
if(next_weather_prob < 70) SetWeather(fine_weather_ids[random(sizeof(fine_weather_ids))]);
else if(next_weather_prob < 95) SetWeather(foggy_weather_ids[random(sizeof(foggy_weather_ids))]);
else SetWeather(wet_weather_ids[random(sizeof(wet_weather_ids))]);
}
//----------------------------------------------------------
main()
{
print("\n---------------------------------------");
print("Running Julius95's server\n");
print("---------------------------------------\n");
}
//----------------------------------------------------------
public OnPlayerConnect(playerid)
{
if(!IsPlayerConnected(playerid)) return 1;
printf("Passed");
SendDeathMessage(INVALID_PLAYER_ID,playerid,200);
printf("Passed");
gettime(hour, minute);
SetPlayerTime(playerid,hour,minute);
GameTextForPlayer(playerid,"~w~Julius95's Free Mode",3000,4);
SendClientMessage(playerid,COLOR_WHITE,"Welcome to {88AA88}J{FFFFFF}ulius's {88AA88}ser{FFFFFF}ver");
// class selection init vars
gPlayerCitySelection[playerid] = -1;
gPlayerHasCitySelected[playerid] = 0;
gPlayerLastCitySelectionTick[playerid] = GetTickCount();
new joinMsg[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(joinMsg, sizeof(joinMsg), "02[%d] 03*** %s has joined the server.", playerid, name);
IRC_GroupSay(groupID, IRC_CHANNEL, joinMsg);
return 1;
}
//----------------------------------------------------------
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid,txtTimeDisp);
gettime(hour, minute);
SetPlayerTime(playerid,hour,minute);
if(IsPlayerNPC(playerid)) return 1;
new randSpawn = 0;
zoneupdates[playerid] = 1;
player_zone[playerid] = -1;
if(!zoneupdate) zoneupdate = SetTimer("update_zones",1000,4);
SetPlayerInterior(playerid,0);
TogglePlayerClock(playerid,0);
if(CITY_LOS_SANTOS == gPlayerCitySelection[playerid]) {
randSpawn = random(sizeof(gRandomSpawns_LosSantos));
SetPlayerPos(playerid,
gRandomSpawns_LosSantos[randSpawn][0],
gRandomSpawns_LosSantos[randSpawn][1],
gRandomSpawns_LosSantos[randSpawn][2]);
SetPlayerFacingAngle(playerid,gRandomSpawns_LosSantos[randSpawn][3]);
}
else if(CITY_SAN_FIERRO == gPlayerCitySelection[playerid]) {
randSpawn = random(sizeof(gRandomSpawns_SanFierro));
SetPlayerPos(playerid,
gRandomSpawns_SanFierro[randSpawn][0],
gRandomSpawns_SanFierro[randSpawn][1],
gRandomSpawns_SanFierro[randSpawn][2]);
SetPlayerFacingAngle(playerid,gRandomSpawns_SanFierro[randSpawn][3]);
}
else if(CITY_LAS_VENTURAS == gPlayerCitySelection[playerid]) {
randSpawn = random(sizeof(gRandomSpawns_LasVenturas));
SetPlayerPos(playerid,
gRandomSpawns_LasVenturas[randSpawn][0],
gRandomSpawns_LasVenturas[randSpawn][1],
gRandomSpawns_LasVenturas[randSpawn][2]);
SetPlayerFacingAngle(playerid,gRandomSpawns_LasVenturas[randSpawn][3]);
}
TogglePlayerClock(playerid, 0);
return 1;
}
//----------------------------------------------------------
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
SetPlayerScore(killerid, GetPlayerScore(killerid)+1);
if(killerid != INVALID_PLAYER_ID) GivePlayerMoney(killerid, 500);
GetPlayerMoney(killerid, 500);
new msg[128], killerName[MAX_PLAYER_NAME], reasonMsg[32], playerName[MAX_PLAYER_NAME];
GetPlayerName(killerid, killerName, sizeof(killerName));
GetPlayerName(playerid, playerName, sizeof(playerName));
if (killerid != INVALID_PLAYER_ID)
{
switch (reason)
{
case 0: reasonMsg = "Unarmed";
case 1: reasonMsg = "Brass Knuckles";
case 2: reasonMsg = "Golf Club";
case 3: reasonMsg = "Night Stick";
case 4: reasonMsg = "Knife";
case 5: reasonMsg = "Baseball Bat";
case 6: reasonMsg = "Shovel";
case 7: reasonMsg = "Pool Cue";
case 8: reasonMsg = "Katana";
case 9: reasonMsg = "Chainsaw";
case 10: reasonMsg = "Dildo";
case 11: reasonMsg = "Dildo";
case 12: reasonMsg = "Vibrator";
case 13: reasonMsg = "Vibrator";
case 14: reasonMsg = "Flowers";
case 15: reasonMsg = "Cane";
case 22: reasonMsg = "Pistol";
case 23: reasonMsg = "Silenced Pistol";
case 24: reasonMsg = "Desert Eagle";
case 25: reasonMsg = "Shotgun";
case 26: reasonMsg = "Sawn-off Shotgun";
case 27: reasonMsg = "Combat Shotgun";
case 28: reasonMsg = "MAC-10";
case 29: reasonMsg = "MP5";
case 30: reasonMsg = "AK-47";
case 31: reasonMsg = "M4";
case 32: reasonMsg = "TEC-9";
case 33: reasonMsg = "Country Rifle";
case 34: reasonMsg = "Sniper Rifle";
case 37: reasonMsg = "Fire";
case 38: reasonMsg = "Minigun";
case 41: reasonMsg = "Spray Can";
case 42: reasonMsg = "Fire Extinguisher";
case 49: reasonMsg = "Vehicle Collision";
case 50: reasonMsg = "Vehicle Collision";
case 51: reasonMsg = "Explosion";
default: reasonMsg = "Unknown";
}
format(msg, sizeof(msg), "04*** %s killed %s. (%s)", killerName, playerName, reasonMsg);
}
else
{
switch (reason)
{
case 53: format(msg, sizeof(msg), "04*** %s died. (Drowned)", playerName);
case 54: format(msg, sizeof(msg), "04*** %s died. (Collision)", playerName);
default: format(msg, sizeof(msg), "04*** %s died.", playerName);
}
}
IRC_GroupSay(groupID, IRC_CHANNEL, msg);
TextDrawHideForPlayer(playerid,txtTimeDisp);
new playercash;
// if they ever return to class selection make them city
// select again first
gPlayerHasCitySelected[playerid] = 0;
{
return 1;
}
if(killerid == INVALID_PLAYER_ID) {
ResetPlayerMoney(playerid);
} else {
playercash = GetPlayerMoney(playerid);
if(playercash > 0) {
GivePlayerMoney(killerid, playercash);
ResetPlayerMoney(playerid);
}
}
return 1;
}
//----------------------------------------------------------
ClassSel_SetupCharSelection(playerid)
{
if(gPlayerCitySelection[playerid] == CITY_LOS_SANTOS) {
SetPlayerInterior(playerid,11);
SetPlayerPos(playerid,508.7362,-87.4335,998.9609);
SetPlayerFacingAngle(playerid,0.0);
SetPlayerCameraPos(playerid,508.7362,-83.4335,998.9609);
SetPlayerCameraLookAt(playerid,508.7362,-87.4335,998.9609);
}
else if(gPlayerCitySelection[playerid] == CITY_SAN_FIERRO) {
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,-2673.8381,1399.7424,918.3516);
SetPlayerFacingAngle(playerid,181.0);
SetPlayerCameraPos(playerid,-2673.2776,1394.3859,918.3516);
SetPlayerCameraLookAt(playerid,-2673.8381,1399.7424,918.3516);
}
else if(gPlayerCitySelection[playerid] == CITY_LAS_VENTURAS) {
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,349.0453,193.2271,1014.1797);
SetPlayerFacingAngle(playerid,286.25);
SetPlayerCameraPos(playerid,352.9164,194.5702,1014.1875);
SetPlayerCameraLookAt(playerid,349.0453,193.2271,1014.1797);
}
}
//----------------------------------------------------------
// Used to init textdraws of city names
ClassSel_InitCityNameText(Text:txtInit)
{
TextDrawUseBox(txtInit, 0);
TextDrawLetterSize(txtInit,1.25,3.0);
TextDrawFont(txtInit, 0);
TextDrawSetShadow(txtInit,0);
TextDrawSetOutline(txtInit,1);
TextDrawColor(txtInit,0xEEEEEEFF);
TextDrawBackgroundColor(txtClassSelHelper,0x000000FF);
}
//----------------------------------------------------------
ClassSel_InitTextDraws()
{
// Init our observer helper text display
txtLosSantos = TextDrawCreate(10.0, 380.0, "Los Santos");
ClassSel_InitCityNameText(txtLosSantos);
txtSanFierro = TextDrawCreate(10.0, 380.0, "San Fierro");
ClassSel_InitCityNameText(txtSanFierro);
txtLasVenturas = TextDrawCreate(10.0, 380.0, "Las Venturas");
ClassSel_InitCityNameText(txtLasVenturas);
// Init our observer helper text display
txtClassSelHelper = TextDrawCreate(10.0, 415.0,
" Press ~b~~k~~GO_LEFT~ ~w~or ~b~~k~~GO_RIGHT~ ~w~to switch cities.~n~ Press ~r~~k~~PED_FIREWEAPON~ ~w~to select.");
TextDrawUseBox(txtClassSelHelper, 1);
TextDrawBoxColor(txtClassSelHelper,0x222222BB);
TextDrawLetterSize(txtClassSelHelper,0.3,1.0);
TextDrawTextSize(txtClassSelHelper,400.0,40.0);
TextDrawFont(txtClassSelHelper, 2);
TextDrawSetShadow(txtClassSelHelper,0);
TextDrawSetOutline(txtClassSelHelper,1);
TextDrawBackgroundColor(txtClassSelHelper,0x000000FF);
TextDrawColor(txtClassSelHelper,0xFFFFFFFF);
}
//----------------------------------------------------------
ClassSel_SetupSelectedCity(playerid)
{
if(gPlayerCitySelection[playerid] == -1) {
gPlayerCitySelection[playerid] = CITY_LOS_SANTOS;
}
if(gPlayerCitySelection[playerid] == CITY_LOS_SANTOS) {
SetPlayerInterior(playerid,0);
SetPlayerCameraPos(playerid,1630.6136,-2286.0298,110.0);
SetPlayerCameraLookAt(playerid,1887.6034,-1682.1442,47.6167);
TextDrawShowForPlayer(playerid,txtLosSantos);
TextDrawHideForPlayer(playerid,txtSanFierro);
TextDrawHideForPlayer(playerid,txtLasVenturas);
}
else if(gPlayerCitySelection[playerid] == CITY_SAN_FIERRO) {
SetPlayerInterior(playerid,0);
SetPlayerCameraPos(playerid,-1300.8754,68.0546,129.4823);
SetPlayerCameraLookAt(playerid,-1817.9412,769.3878,132.6589);
TextDrawHideForPlayer(playerid,txtLosSantos);
TextDrawShowForPlayer(playerid,txtSanFierro);
TextDrawHideForPlayer(playerid,txtLasVenturas);
}
else if(gPlayerCitySelection[playerid] == CITY_LAS_VENTURAS) {
SetPlayerInterior(playerid,0);
SetPlayerCameraPos(playerid,1310.6155,1675.9182,110.7390);
SetPlayerCameraLookAt(playerid,2285.2944,1919.3756,68.2275);
TextDrawHideForPlayer(playerid,txtLosSantos);
TextDrawHideForPlayer(playerid,txtSanFierro);
TextDrawShowForPlayer(playerid,txtLasVenturas);
}
}
//----------------------------------------------------------
ClassSel_SwitchToNextCity(playerid)
{
gPlayerCitySelection[playerid]++;
if(gPlayerCitySelection[playerid] > CITY_LAS_VENTURAS) {
gPlayerCitySelection[playerid] = CITY_LOS_SANTOS;
}
PlayerPlaySound(playerid,1052,0.0,0.0,0.0);
gPlayerLastCitySelectionTick[playerid] = GetTickCount();
ClassSel_SetupSelectedCity(playerid);
}
//----------------------------------------------------------
ClassSel_SwitchToPreviousCity(playerid)
{
gPlayerCitySelection[playerid]--;
if(gPlayerCitySelection[playerid] < CITY_LOS_SANTOS) {
gPlayerCitySelection[playerid] = CITY_LAS_VENTURAS;
}
PlayerPlaySound(playerid,1053,0.0,0.0,0.0);
gPlayerLastCitySelectionTick[playerid] = GetTickCount();
ClassSel_SetupSelectedCity(playerid);
}
//----------------------------------------------------------
ClassSel_HandleCitySelection(playerid)
{
new Keys,ud,lr;
GetPlayerKeys(playerid,Keys,ud,lr);
if(gPlayerCitySelection[playerid] == -1) {
ClassSel_SwitchToNextCity(playerid);
return;
}
// only allow new selection every ~500 ms
if( (GetTickCount() - gPlayerLastCitySelectionTick[playerid]) < 500 ) return;
if(Keys & KEY_FIRE) {
gPlayerHasCitySelected[playerid] = 1;
TextDrawHideForPlayer(playerid,txtClassSelHelper);
TextDrawHideForPlayer(playerid,txtLosSantos);
TextDrawHideForPlayer(playerid,txtSanFierro);
TextDrawHideForPlayer(playerid,txtLasVenturas);
TogglePlayerSpectating(playerid,0);
return;
}
if(lr > 0) {
ClassSel_SwitchToNextCity(playerid);
}
else if(lr < 0) {
ClassSel_SwitchToPreviousCity(playerid);
}
}
//----------------------------------------------------------
public OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerNPC(playerid)) return 1;
if(gPlayerHasCitySelected[playerid]) {
ClassSel_SetupCharSelection(playerid);
return 1;
} else {
if(GetPlayerState(playerid) != PLAYER_STATE_SPECTATING) {
TogglePlayerSpectating(playerid,1);
TextDrawShowForPlayer(playerid, txtClassSelHelper);
gPlayerCitySelection[playerid] = -1;
}
}
zoneupdates[playerid] = 0;
player_zone[playerid] = -1;
return 0;
}
//----------------------------------------------------------
public OnGameModeInit()
{
// Connect the first bot
botIDs[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
// Set the connect delay for the first bot to 20 seconds
IRC_SetIntData(botIDs[0], E_IRC_CONNECT_DELAY, 20);
// Connect the second bot
// Create a group (the bots will be added to it upon connect)
groupID = IRC_CreateGroup();
txtTimeDisp = TextDrawCreate(605.0,25.0,"00:00");
TextDrawUseBox(txtTimeDisp, 0);
TextDrawFont(txtTimeDisp, 3);
TextDrawSetShadow(txtTimeDisp,0); // no shadow
TextDrawSetOutline(txtTimeDisp,2); // thickness 1
TextDrawBackgroundColor(txtTimeDisp,0x000000FF);
TextDrawColor(txtTimeDisp,0xFFFFFFFF);
TextDrawAlignment(txtTimeDisp,3);
TextDrawLetterSize(txtTimeDisp,0.5,1.5);
UpdateTimeAndWeather();
SetTimer("UpdateTimeAndWeather",1000 * 60,1);
#define USE_TEXTDRAW_SET 1
AddRadioStation("Radio Julius", "http://julius95.zapto.org:8000/listen.pls", 1);
AddRadioStation("Vinylgodis", "http://93.182.176.123/listen.pls", 1);
AddRadioStation("Radio Seven", "http://www.radioseven.se/128.pls", 1);
AddRadioStation("Dansbandskanalen", "http://www.guldkanalen.se/static/streamDBK/128MP3.pls", 1);
AddRadioStation("Din Gata", "http://sverigesradio.se/topsy/direkt/2576-hi-mp3.pls", 1);
AddRadioStation("Big R Radio", "http://yp.shoutcast.com/sbin/tunein-station.pls?id=73131", 1);
AddRadioStation("Radio AF", "http://webradio.af.lu.se:8000/listen.pls", 1);
AddRadioStation("Reggae141.com", "http://yp.shoutcast.com/sbin/tunein-station.pls?id=85742", 1);
AddRadioStation("Hit Radio N1", "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1277314", 1);
AddRadioStation("The 1920s Radio Network", "http://64.5.130.43/listen.pls", 1);
AddRadioStation("LAs HOT Country", "http://46.21.151.98:8000/listen.pls", 1);
AddRadioStation("Fade FM", "http://37.59.61.51/listen.pls", 1);
AddRadioStation("Radio Off", "", 1);
SetGameModeText("Free Mode, stunts, races etc.");
ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
ShowNameTags(1);
SetNameTagDrawDistance(40.0);
EnableStuntBonusForAll(0);
DisableInteriorEnterExits();
SetWeather(2);
SetWorldTime(11);
//UsePlayerPedAnims();
//ManualVehicleEngineAndLights();
//LimitGlobalChatRadius(300.0);
ClassSel_InitTextDraws();
// Player Class
AddPlayerClass(281,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(282,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(283,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(284,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(285,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(286,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(287,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(288,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(289,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(265,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(266,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(267,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(268,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(269,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(270,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(1,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(2,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(3,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(4,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(5,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(6,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(8,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(42,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(65,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(74,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(86,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(119,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(149,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(208,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(273,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(289,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(47,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(48,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(49,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(50,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(51,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(52,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(53,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(54,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(55,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(56,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(57,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(58,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(68,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(69,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(70,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(71,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(72,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(73,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(75,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(76,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(78,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(79,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(80,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(81,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(82,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(83,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(84,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(85,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(87,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(88,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(89,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(91,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(92,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(93,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(95,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(96,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(97,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(98,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(99,1759.0189,-1898.1260,13.5622,266.4503,-1,-1,-1,-1,-1,-1);
AddPlayerClass(281,2385.7600,-1281.1403,24.4851,115.8818,0,0,0,0,0,0); //
//AddVehicles
AddStaticVehicle(600,2461.7532,-1656.6047,13.0208,90.0551,43,8); // car0
AddStaticVehicle(439,-1766.9050,613.7802,28.0963,90.1726,79,78); // car1
AddStaticVehicle(549,-1997.1497,701.7988,45.0459,0.2772,14,14); // car2
AddStaticVehicle(480,-1997.1570,696.1385,45.1418,0.9108,127,8); // car3
AddStaticVehicle(555,-1997.1226,690.4085,45.0497,0.4574,58,1); // car4
AddStaticVehicle(533,-1997.1150,684.5101,45.0449,0.7273,7,1); // car5
AddStaticVehicle(518,-1997.1124,678.0267,44.9521,1.0255,8,0); // car6
AddStaticVehicle(542,-1997.1284,671.6221,44.1768,0.8896,45,92); // car7
AddStaticVehicle(419,-1997.0178,664.9196,42.9615,0.3890,1,76); // car8
AddStaticVehicle(502,-1944.3131,585.5934,35.0131,0.5602,36,88); // car9
AddStaticVehicle(451,-1947.4026,585.6334,34.7825,0.5844,1,36); // car10
AddStaticVehicle(506,-1950.4606,585.7036,34.8199,1.4687,126,52); // car 11
AddStaticVehicle(477,-1938.2062,585.5255,34.8710,359.9006,65,1); // car12
AddStaticVehicle(602,-1953.4102,585.8502,34.8846,359.4462,94,1); // car 13
AddStaticVehicle(496,-1956.5023,585.9746,34.7861,0.1029,2,6); // car14
AddStaticVehicle(402,-1959.3685,585.6564,34.9014,359.6677,86,110); // car15
AddStaticVehicle(541,-1935.3408,585.7760,34.7403,0.0132,126,6); // car16
AddStaticVehicle(415,-1932.3533,585.5296,34.8907,0.0465,119,1); // car17
AddStaticVehicle(587,-1929.2599,586.0511,34.8377,359.7012,0,1); // car18
AddStaticVehicle(504,-1926.2498,585.7791,34.9114,359.2645,45,29); // car19
AddStaticVehicle(598,-1616.6740,651.2231,6.9347,0.8125,0,1); // car20
AddStaticVehicle(601,-1628.8429,651.0104,6.9463,359.6806,1,1); // car21
AddStaticVehicle(427,-1605.2008,651.7350,7.3193,359.6695,0,1); // car22
AddStaticVehicle(596,-1599.6945,651.1352,6.9087,359.4665,0,1); // car23
AddStaticVehicle(514,-1658.1969,449.0964,7.7671,213.6456,25,1); // car24
AddStaticVehicle(432,-1450.3162,458.0264,7.1965,358.0674,43,0); // car25
AddStaticVehicle(596,-1587.6300,651.6120,6.9087,358.3333,0,1); // car26
AddStaticVehicle(596,-1581.8977,651.7803,6.9078,359.2933,0,1); // car27
AddStaticVehicle(598,-1594.4235,673.0942,6.9332,179.1243,0,1); // car28
AddStaticVehicle(598,-1600.0331,673.0317,6.9328,179.5085,0,1); // car29
AddStaticVehicle(490,-1574.2876,714.2642,-5.1145,89.0129,0,0); // car30
AddStaticVehicle(490,-1574.2661,710.3427,-5.1147,89.1375,0,0); // car31
AddStaticVehicle(490,-1574.1755,706.1642,-5.1146,90.7530,0,0); // car32
AddStaticVehicle(596,-1573.6791,722.1187,-5.5211,90.6117,0,1); // car33
AddStaticVehicle(596,-1573.8575,730.6639,-5.5217,89.7573,0,1); // car34
AddStaticVehicle(596,-1573.5385,734.4633,-5.5220,88.8792,0,1); // car35
AddStaticVehicle(596,-1573.4248,739.0908,-5.5221,90.4690,0,1); // car36
AddStaticVehicle(596,-1573.2230,742.5228,-5.5208,89.2028,0,1); // car37
AddStaticVehicle(598,-1600.3463,749.7092,-5.4954,180.3100,0,1); // car38
AddStaticVehicle(598,-1604.2474,749.6938,-5.4956,179.8932,0,1); // car39
AddStaticVehicle(598,-1608.4534,749.6821,-5.4960,180.4397,0,1); // car40
AddStaticVehicle(598,-1612.7340,749.6252,-5.4962,181.2642,0,1); // car41
AddStaticVehicle(598,-1616.6920,749.7081,-5.4970,179.9954,0,1); // car41
AddStaticVehicle(598,-1592.1154,749.6444,-5.4973,179.6934,0,1); // car43
AddStaticVehicle(598,-1587.9971,749.8513,-5.4958,178.9971,0,1); // car44
AddStaticVehicle(598,-1583.9622,749.8259,-5.4954,179.3184,0,1); // car45
AddStaticVehicle(598,-1579.9960,749.7203,-5.4958,179.3284,0,1); // car46
AddStaticVehicle(597,-1622.7053,649.7056,-5.4738,88.5598,0,1); // car47
AddStaticVehicle(596,-1639.5427,674.1429,-5.5225,269.2240,0,1); // car48
AddStaticVehicle(596,-1639.6805,682.0773,-5.5206,270.4482,0,1); // car49
AddStaticVehicle(597,-1639.7576,686.4487,-5.4733,271.0222,0,1); // car50
AddStaticVehicle(597,-1639.8285,669.9292,-5.4740,269.2921,0,1); // car51
AddStaticVehicle(596,-1639.7863,666.1780,-5.5219,269.8799,0,1); // car52
AddStaticVehicle(597,-1639.9882,661.8076,-5.4729,269.4359,0,1); // car53
AddStaticVehicle(596,-1639.7858,657.7263,-5.5219,270.1051,0,1); // car54
AddStaticVehicle(597,-1639.8157,653.7025,-5.4737,268.7205,0,1); // car55
AddStaticVehicle(596,-1639.5710,649.8344,-5.5219,269.4172,0,1); // car56
AddStaticVehicle(598,-1595.6241,694.0532,-5.4961,180.6208,0,1); // car57
AddStaticVehicle(598,-1600.1334,693.9891,-5.4959,179.8698,0,1); // car58
AddStaticVehicle(598,-1604.2416,693.9874,-5.4968,179.3441,0,1); // car59
AddStaticVehicle(598,-1608.5326,694.0151,-5.4969,179.8332,0,1); // car60
AddStaticVehicle(598,-1612.3291,694.0125,-5.4954,180.4067,0,1); // car61
AddStaticVehicle(598,-1616.5938,694.0545,-5.4963,180.0018,0,1); // car62
AddStaticVehicle(598,-1620.7970,694.0438,-5.4966,179.2025,0,1); // car63
AddStaticVehicle(598,-1624.8109,693.9700,-5.4957,177.9268,0,1); // car64
AddStaticVehicle(598,-1628.9708,693.9097,-5.4965,179.0654,0,1); // car65
AddStaticVehicle(598,-1632.7097,693.9340,-5.4964,178.4928,0,1); // car66
AddStaticVehicle(427,-1596.4033,678.2721,-5.1103,1.2281,0,1); // car67
AddStaticVehicle(427,-1611.6322,733.2242,-5.1102,358.4313,0,1); // car68
AddStaticVehicle(601,-1603.5253,733.0418,-5.4757,0.2952,1,1); // car69
AddStaticVehicle(601,-1607.4572,732.7892,-5.4819,359.0168,1,1); // car70
AddStaticVehicle(601,-1590.8903,718.8868,-5.4834,271.2448,1,1); // car71
AddStaticVehicle(601,-1590.8268,714.7463,-5.4834,268.9313,1,1); // car72
AddStaticVehicle(601,-1604.3324,676.1072,-5.4834,1.0470,1,1); // car73
AddStaticVehicle(601,-1608.3807,675.8729,-5.4834,0.8872,1,1); // car74
AddStaticVehicle(601,-1640.4934,690.0363,-5.4834,267.7431,1,1); // car75
AddStaticVehicle(601,-1636.2931,694.5077,-5.4834,186.3782,1,1); // car76
AddStaticVehicle(601,-1622.6899,657.6486,-5.4834,89.5577,1,1); // car77
AddStaticVehicle(601,-1622.5437,661.3481,-5.4834,88.2688,1,1); // car78
AddStaticVehicle(601,-1571.8530,745.8903,-5.4834,89.7020,1,1); // car79
AddStaticVehicle(601,-1576.2029,749.3005,-5.4835,173.8618,1,1); // car80
AddStaticVehicle(497,-1632.6996,671.5107,7.3643,268.2399,0,1); // car81
AddStaticVehicle(449,-1857.2998,603.2500,35.4973,270.0000,1,74); // tram82
AddStaticVehicle(411,1911.1893,-2279.0786,13.4614,179.2485,123,1); // lol1
AddStaticVehicle(445,1907.7418,-2279.5120,13.6094,179.8117,35,35); // lol2
AddStaticVehicle(504,1904.7721,-2279.1318,13.5269,179.3161,57,38); // lol3
AddStaticVehicle(401,1901.4082,-2279.2578,13.5139,180.0869,47,47); // lol4
AddStaticVehicle(518,1898.2179,-2279.1873,13.4053,180.2076,56,29); // lol5
AddStaticVehicle(542,1894.9795,-2279.2842,13.4777,180.0437,32,92); // lol6
AddStaticVehicle(507,1891.8937,-2279.1143,13.5598,179.7240,42,42); // lol8
AddStaticVehicle(562,1888.6708,-2279.1792,13.3937,179.5717,17,1); // lol7
AddStaticVehicle(558,1885.4453,-2279.1008,13.3649,179.9285,116,1); // lol9
AddStaticVehicle(585,1882.3105,-2278.6233,13.3206,179.4485,42,42); // lol10
AddStaticVehicle(419,1878.8553,-2279.2100,13.5319,179.2855,47,76); // lol11
AddStaticVehicle(526,1875.7548,-2279.3730,13.5010,179.3397,9,39); // lol12
AddStaticVehicle(480,1911.1173,-2287.7908,13.5075,359.5498,46,46); // lol13
AddStaticVehicle(587,1907.8986,-2288.0244,13.4612,0.5045,101,1); // 14
AddStaticVehicle(434,1904.6763,-2288.2078,13.6972,359.9930,12,12); // 15
AddStaticVehicle(502,1901.3320,-2288.2546,13.6262,359.5880,79,62); // 17
AddStaticVehicle(603,1898.3413,-2288.2791,13.5726,359.3993,69,1); // 19
AddStaticVehicle(506,1895.0903,-2288.1157,13.4389,359.9139,6,6); // lol20
AddStaticVehicle(451,1891.8843,-2288.2788,13.4408,359.4118,16,16); // lol21
AddStaticVehicle(529,1888.6558,-2288.2527,13.3676,359.2263,42,42); // lol22
AddStaticVehicle(421,1885.5139,-2288.0940,13.6169,359.4807,30,1); // lol23
AddStaticVehicle(540,1882.1724,-2288.2661,13.5956,359.5057,7,7); // lol24
AddStaticVehicle(550,1878.9658,-2288.3044,13.5483,0.0715,11,11); // lol25
AddStaticVehicle(560,1875.8556,-2288.1931,13.4395,359.4767,33,0); // lol27
AddStaticVehicle(580,1923.8180,-2269.1038,13.5305,359.8271,81,81); // lol28
AddStaticVehicle(458,1920.7224,-2269.0457,13.6129,359.4567,101,1); // lol29
AddStaticVehicle(405,1917.4686,-2268.8232,13.6094,358.7858,24,1); // lol30
AddStaticVehicle(442,1914.3392,-2269.3115,13.5632,359.4727,36,0); // lol31
AddStaticVehicle(479,1911.1680,-2269.1724,13.5300,359.4114,49,23); // lol33
AddStaticVehicle(547,1908.0110,-2269.2039,13.4693,359.9124,10,1); // lol34
AddStaticVehicle(426,1904.7115,-2268.9585,13.4777,359.8541,62,62); // lol35
AddStaticVehicle(420,1901.5040,-2269.0149,13.5146,359.4012,6,1); // lol36
AddStaticVehicle(597,1898.0305,-2268.9377,13.5027,358.3706,0,1); // lol37
AddStaticVehicle(596,1895.1246,-2268.8660,13.4557,359.2520,0,1); // lol38
AddStaticVehicle(598,1891.8759,-2269.0061,13.4802,359.5250,0,1); // lol39
AddStaticVehicle(467,1888.6821,-2269.2686,13.4743,359.0755,22,1); // lol40
AddStaticVehicle(516,1885.5570,-2269.2581,13.5683,359.8004,116,1); // lol41
AddStaticVehicle(551,1882.3090,-2269.2805,13.5350,359.5113,91,1); // lol42
AddStaticVehicle(546,1878.9924,-2268.9438,13.4587,359.6487,3,87); // lol43
AddStaticVehicle(492,1875.7860,-2269.0564,13.5162,359.0539,77,26); // lol44
AddStaticVehicle(466,1872.6475,-2269.1812,13.4762,358.6961,16,76); // lol45
AddStaticVehicle(585,1869.4386,-2269.1697,13.3187,359.1321,62,62); // lol46
AddStaticVehicle(602,1866.0898,-2268.8457,13.5410,359.1708,34,1); // lol47
AddStaticVehicle(402,1862.9867,-2269.0178,13.5661,359.9218,30,30); // lol48
AddStaticVehicle(429,1859.9293,-2269.0386,13.4141,0.0943,12,12); // lol49
AddStaticVehicle(541,1856.7625,-2274.5742,13.3593,89.5916,51,1); // lol50
AddStaticVehicle(415,1856.9264,-2277.6211,13.5063,88.5767,20,1); // lol51
AddStaticVehicle(431,1862.0280,-2304.1050,13.6462,270.0306,59,83); // lol52
AddStaticVehicle(437,1873.7074,-2304.0161,13.6802,269.9991,95,16); // lol53
AddStaticVehicle(554,1856.9506,-2280.5718,13.8178,89.4800,65,32); // lol54
AddStaticVehicle(478,1856.6708,-2283.6772,13.7288,89.6596,66,1); // lol55
AddStaticVehicle(495,1856.7122,-2286.5811,14.0823,89.3343,119,122); // lol56
AddStaticVehicle(422,1856.6270,-2289.3911,13.7232,89.2235,97,25); // lol57
AddStaticVehicle(543,1856.7506,-2292.5146,13.5551,89.6668,43,8); // lol58
AddStaticVehicle(489,1859.7606,-2298.5264,13.8834,179.9259,14,123); // lol59
AddStaticVehicle(599,1863.0787,-2298.5251,13.9349,178.6234,0,1); // lol60
AddStaticVehicle(490,1866.3394,-2298.1189,13.8696,179.5494,0,0); // lol61
AddStaticVehicle(601,1869.4817,-2297.9785,13.5007,179.2839,1,1); // lol62
AddStaticVehicle(528,1872.7810,-2299.0559,13.7821,179.4620,0,0); // lol63
AddStaticVehicle(427,1875.7861,-2298.1174,13.8663,179.8300,0,1); // lol64
AddStaticVehicle(433,1879.0906,-2296.8906,14.1710,179.9041,43,0); // lol67
AddStaticVehicle(579,1882.2793,-2298.7673,13.6687,179.2489,11,11); // lol68
AddStaticVehicle(400,1885.5701,-2299.2480,13.8267,179.4204,4,1); // lol69
AddStaticVehicle(500,1888.7135,-2298.7749,13.8403,179.5145,28,119); // lol70
AddStaticVehicle(444,1891.5771,-2298.2197,14.1174,179.4028,32,36); // lol71
AddStaticVehicle(470,1895.1737,-2299.0354,13.7274,179.7490,43,0); // lol73
AddStaticVehicle(600,1898.1533,-2298.6555,13.4504,179.4988,32,8); // lol74
AddStaticVehicle(536,1901.3976,-2298.9766,13.4717,179.8836,12,1); // lol75
AddStaticVehicle(534,1904.6555,-2298.5073,13.4587,179.1104,42,42); // lol76
AddStaticVehicle(575,1907.9175,-2299.1719,13.3361,178.8462,51,96); // lol77
AddStaticVehicle(567,1910.9651,-2298.3127,13.6028,179.3204,102,114); // lol78
AddStaticVehicle(561,1914.3330,-2298.5879,13.5480,179.2602,25,78); // lol79
AddStaticVehicle(559,1917.4224,-2298.8337,13.3907,179.8719,36,8); // lol80
AddStaticVehicle(566,1920.6310,-2298.8464,13.5141,179.8326,52,8); // lol81
AddStaticVehicle(576,1923.8184,-2298.8926,13.3433,179.0500,76,8); // lol82
CreateObject(3374,1586.86181600,-2182.30590800,14.04866400,0.00000000,0.00000000,0.00000000); //object0
CreateObject(3374,1586.86206100,-2178.28710900,14.04866400,0.00000000,0.00000000,0.00000000); //object1
CreateObject(3374,1586.87182600,-2174.10351600,14.04866400,0.00000000,0.00000000,0.00000000); //object2
CreateObject(3374,1586.81347700,-2170.13208000,14.04866400,0.00000000,0.00000000,0.00000000); //object3
CreateObject(3374,1586.83654800,-2166.01782200,14.04866400,0.00000000,0.00000000,0.00000000); //object4
CreateObject(3374,1586.80481000,-2161.97485400,14.02366400,0.00000000,0.00000000,0.00000000); //object5
CreateObject(3374,1586.75390600,-2157.90332000,14.04866400,0.00000000,0.00000000,0.00000000); //object6
CreateObject(3374,1586.78247100,-2153.85180700,14.04085200,0.00000000,0.00000000,0.00000000); //object7
CreateObject(3374,1586.76879900,-2149.85180700,14.04085200,0.00000000,0.00000000,0.00000000); //object8
CreateObject(3374,1586.80993700,-2145.83203100,14.04085200,0.00000000,0.00000000,0.00000000); //object9
CreateObject(3374,1586.96521000,-2141.83227500,14.04085200,0.00000000,0.00000000,0.00000000); //object10
CreateObject(11435,1590.40661600,-2160.16333000,17.21593900,0.00000000,0.00000000,-325.72604817); //object11
//Objects
CreateObject(13592, 1966.19921875, -2460.3994140625, 21.60000038147, 0, 0, 0);
CreateObject(13592, 1965.4000244141, -2466.6000976563, 21.200000762939, 0, 0, 0);
CreateObject(634, 1892.5, -2414.1999511719, 12.5, 0, 0, 0);
CreateObject(655, 1902.4000244141, -2409, 12.5, 0, 0, 0);
CreateObject(671, 1914.5999755859, -2414.6999511719, 12.5, 0, 0, 0);
CreateObject(680, 1910.6999511719, -2414.1000976563, 12.5, 0, 0, 0);
CreateObject(687, 1911.5, -2414.6000976563, 12.5, 0, 0, 0);
CreateObject(710, 1916.9000244141, -2417.3000488281, 28.10000038147, 0, 0, 0);
CreateObject(777, 1876.0999755859, -2415, 12.60000038147, 0, 0, 0);
CreateObject(18270, 1836.0999755859, -2403.3999023438, 19.39999961853, 0, 0, 0);
CreateObject(1634, 1986.5999755859, -2344.1000976563, 17.60000038147, 0, 0, 300);
CreateObject(1634, 1979.8000488281, -2348.1000976563, 13.800000190735, 0, 0, 300);
CreateObject(1634, 2025.3000488281, -2332.6000976563, 24.5, 0, 0, 180);
CreateObject(18478, 1856.0999755859, -2516, 40.299999237061, 0, 30, 0);
CreateObject(18478, 1725.0999755859, -2515.8000488281, 75.400001525879, 0, 0, 0);
CreateObject(13592, 1982.0999755859, -2528.3000488281, 22.60000038147, 0, 0, 0);
CreateObject(13590, 2034.1999511719, -2526.1999511719, 13.5, 0, 0, 270);
CreateObject(5754, 1586.0999755859, -2515.5, 82.800003051758, 0, 0, 90);
CreateObject(6449, 1458.0999755859, -2499.8000488281, 96.199996948242, 0, 0, 90);
CreateObject(13592, 1966.1999511719, -2460.3999023438, 21.60000038147, 0, 0, 0);
CreateObject(13592, 1965.4000244141, -2466.6000976563, 21.200000762939, 0, 0, 0);
CreateObject(634, 1892.5, -2414.1999511719, 12.5, 0, 0, 0);
CreateObject(655, 1902.4000244141, -2409, 12.5, 0, 0, 0);
CreateObject(671, 1914.5999755859, -2414.6999511719, 12.5, 0, 0, 0);
CreateObject(680, 1910.6999511719, -2414.1000976563, 12.5, 0, 0, 0);
CreateObject(687, 1911.5, -2414.6000976563, 12.5, 0, 0, 0);
CreateObject(710, 1916.9000244141, -2417.3000488281, 28.10000038147, 0, 0, 0);
CreateObject(777, 1876.0999755859, -2415, 12.60000038147, 0, 0, 0);
CreateObject(18270, 1836.0999755859, -2403.3999023438, 19.39999961853, 0, 0, 0);
CreateObject(1634, 1986.5999755859, -2344.1000976563, 17.60000038147, 0, 0, 300);
CreateObject(1634, 1979.8000488281, -2348.1000976563, 13.800000190735, 0, 0, 300);
CreateObject(1634, 2025.3000488281, -2332.6000976563, 24.5, 0, 0, 180);
CreateObject(18478, 1856.0999755859, -2516, 40.299999237061, 0, 30, 0);
CreateObject(18478, 1725.099609375, -2515.7998046875, 75.400001525879, 0, 0, 0);
CreateObject(13592, 1982.0999755859, -2528.3000488281, 22.60000038147, 0, 0, 0);
CreateObject(13590, 2034.1999511719, -2526.1999511719, 13.5, 0, 0, 270);
CreateObject(5754, 1586.0999755859, -2515.5, 82.800003051758, 0, 0, 90);
CreateObject(6449, 1458.0999755859, -2499.8000488281, 96.199996948242, 0, 0, 90);
CreateObject(5314, 1597, -1196, 343.10000610352, 0, 0, 90);
CreateObject(615, 1566.5999755859, -1305.5999755859, 343.20001220703, 0, 0, 0);
CreateObject(615, 1582.4000244141, -1304.6999511719, 343.20001220703, 0, 0, 0);
CreateObject(615, 1566.1999511719, -1286.6999511719, 343.20001220703, 0, 0, 0);
CreateObject(615, 1582.1999511719, -1283.9000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1566.3000488281, -1273.6999511719, 343.20001220703, 0, 0, 0);
CreateObject(615, 1566.1999511719, -1244, 343.20001220703, 0, 0, 0);
CreateObject(615, 1566, -1262.4000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1582, -1274.5, 343.20001220703, 0, 0, 0);
CreateObject(615, 1565.6999511719, -1259.3000488281, 343.20001220703, 0, 0, 0);
CreateObject(615, 1582.6999511719, -1244.4000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1567.5999755859, -1224.8000488281, 343.20001220703, 0, 0, 0);
CreateObject(615, 1583.0999755859, -1224.9000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1568.5999755859, -1211.0999755859, 343.20001220703, 0, 0, 0);
CreateObject(615, 1583, -1210.5999755859, 343.20001220703, 0, 0, 0);
CreateObject(615, 1567.3000488281, -1195.9000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1581.8000488281, -1194.9000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1565.6999511719, -1182.8000488281, 343.20001220703, 0, 0, 0);
CreateObject(615, 1582.8000488281, -1182.4000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1568.4000244141, -1168.4000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1582.9000244141, -1168.1999511719, 343.20001220703, 0, 0, 0);
CreateObject(615, 1569.1999511719, -1153.4000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1584.5, -1158.4000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1573.9000244141, -1143.5999755859, 343.20001220703, 0, 0, 0);
CreateObject(615, 1588.3000488281, -1149.9000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1577.4000244141, -1133.0999755859, 343.20001220703, 0, 0, 0);
CreateObject(615, 1591, -1139.3000488281, 343.20001220703, 0, 0, 0);
CreateObject(615, 1582.9000244141, -1123.5, 343.20001220703, 0, 0, 0);
CreateObject(615, 1597, -1131.4000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1590.4000244141, -1115.0999755859, 343.20001220703, 0, 0, 0);
CreateObject(615, 1602.6999511719, -1122.3000488281, 343.20001220703, 0, 0, 0);
CreateObject(615, 1597.1999511719, -1105, 343.20001220703, 0, 0, 0);
CreateObject(615, 1609, -1115.4000244141, 343.20001220703, 0, 0, 0);
CreateObject(615, 1606.5999755859, -1095.6999511719, 343.20001220703, 0, 0, 0);
CreateObject(615, 1615.9000244141, -1106.5999755859, 343.20001220703, 0, 0, 0);
CreateObject(13592, 1966.1999511719, -2460.3999023438, 21.60000038147, 0, 0, 0);
CreateObject(13592, 1965.4000244141, -2466.6000976563, 21.200000762939, 0, 0, 0);
CreateObject(634, 1892.5, -2414.1999511719, 12.5, 0, 0, 0);
CreateObject(655, 1902.4000244141, -2409, 12.5, 0, 0, 0);
CreateObject(671, 1914.5999755859, -2414.6999511719, 12.5, 0, 0, 0);
CreateObject(680, 1910.6999511719, -2414.1000976563, 12.5, 0, 0, 0);
CreateObject(687, 1911.5, -2414.6000976563, 12.5, 0, 0, 0);
CreateObject(710, 1916.9000244141, -2417.3000488281, 28.10000038147, 0, 0, 0);
CreateObject(777, 1876.0999755859, -2415, 12.60000038147, 0, 0, 0);
CreateObject(18270, 1836.0999755859, -2403.3999023438, 19.39999961853, 0, 0, 0);
CreateObject(1634, 1986.5999755859, -2344.1000976563, 17.60000038147, 0, 0, 300);
CreateObject(1634, 1979.8000488281, -2348.1000976563, 13.800000190735, 0, 0, 300);
CreateObject(1634, 2025.3000488281, -2332.6000976563, 24.5, 0, 0, 180);
CreateObject(18478, 1856.099609375, -2516, 40.299999237061, 0, 29.998168945313, 0);
CreateObject(18478, 1725.0999755859, -2515.8000488281, 75.400001525879, 0, 0, 0);
CreateObject(13592, 1982.0999755859, -2528.3000488281, 22.60000038147, 0, 0, 0);
CreateObject(13590, 2034.1999511719, -2526.1999511719, 13.5, 0, 0, 270);
CreateObject(5754, 1586.0999755859, -2515.5, 82.800003051758, 0, 0, 90);
CreateObject(6449, 1458.0999755859, -2499.8000488281, 96.199996948242, 0, 0, 90);
CreateObject(17300, -1387.5999755859, -276.79998779297, 46.200000762939, 351.98559570313, 0, 315);
CreateObject(17300, -1548, -463.29998779297, 83.800003051758, 1, 0, 315);
CreateObject(17300, -1699.8000488281, -639.90002441406, 113, 355, 0, 315);
CreateObject(18483, -1803.5999755859, -760, 130.89999389648, 0, 0, 48);
CreateObject(1634, -1297.5, -176, 14.39999961853, 0, 0, 315);
CreateObject(1634, -1300.5, -173.10000610352, 14.39999961853, 0, 0, 315);
CreateObject(5112, -970.40002441406, 514.90002441406, 9.6999998092651, 0, 0, 40);
CreateObject(5112, -858.5, 617.29998779297, 10, 0, 0, 45);
CreateObject(1632, -786.79998779297, 695.20001220703, 17.39999961853, 0, 0, 135);
CreateObject(4710, -1178, 424.5, 13.39999961853, 0, 0, 160);
CreateObject(4148, -1283.3000488281, 470.70001220703, 6.3000001907349, 353, 0, 70);
CreateObject(8040, 1648.1999511719, -1064.6999511719, 343.89999389648, 0, 0, 225);
CreateObject(4150, 1576.6999511719, -1368.4000244141, 343.10000610352, 0, 0, 0);
CreateObject(4150, 1576.6999511719, -1484.4000244141, 322.60000610352, 20, 0, 0);
CreateObject(4150, 1576.9000244141, -1572.8000488281, 290.5, 20, 0, 0);
CreateObject(4150, 1577.0999755859, -1681.5999755859, 245.39999389648, 25, 0, 0);
CreateObject(4150, 1577.0999755859, -1787.8000488281, 194.73950195313, 26, 0, 0);
CreateObject(13641, 1578.5, -1845.8000488281, 169.80000305176, 0, 0, 270);
CreateObject(13641, 1572.0999755859, -1845.9000244141, 169.80000305176, 0, 0, 270);
CreateObject(13641, 1478.5999755859, -2567.3999023438, 14.5, 0, 0, 0);
CreateObject(13641, 1477.5999755859, -2552.5, 12.5, 0, 0, 0);
CreateObject(13640, 1511.3000488281, -2533.6999511719, 13.60000038147, 0, 0, 0);
CreateObject(13592, 1543.9000244141, -2529.5, 22.700000762939, 0, 0, 5);
CreateObject(1634, 1775.5999755859, -2569.6000976563, 13.800000190735, 0, 0, 0);
CreateObject(1634, 1774.5, -2518.8999023438, 13.800000190735, 0, 0, 180);
CreateObject(3567, 1777, -2455.8000488281, 13.39999961853, 0, 0, 0);
CreateObject(12932, 1802.5999755859, -2436.6999511719, 15.89999961853, 0, 0, 0);
CreateObject(7515, 1727.8000488281, -2459.1999511719, 18.5, 0, 0, 0);
CreateObject(3625, 1557.9000244141, -2460.8000488281, 15.39999961853, 0, 0, 0);
CreateObject(8302, 1593.5, -2445.3000488281, 14.60000038147, 0, 0, 0);
CreateObject(8040, 1893.0999755859, -2283.8999023438, 13.5, 0, 0, 0);
CreateObject(13666, 1929.6999511719, -2343.6999511719, 18.299999237061, 0, 0, 0);
CreateObject(9076, 1889.4000244141, -2675, 43.400001525879, 0, 0, 270);
CreateObject(16778, 1896.9000244141, -2449.3999023438, 12.5, 0, 0, 0);
CreateObject(16776, 1936.5, -2428.8000488281, 12.5, 0, 0, 0);
CreateObject(13562, 1810.8000488281, -2646.3999023438, 24.10000038147, 0, 0, 0);
CreateObject(13667, 1841.5, -2641.6999511719, 38.599998474121, 0, 0, 95);
CreateObject(14608, 1823.5, -2641.3000488281, 27.60000038147, 0, 0, 325);
CreateObject(16776, 1754.3000488281, -2647.3999023438, 25.39999961853, 0, 0, 180);
CreateObject(1634, 1970.5999755859, -2428.3999023438, 13.800000190735, 0, 0, 90);
CreateObject(18483, 2476.5, -1659.0999755859, 12, 0, 329.13635253906, 0);
CreateObject(18483, 2541.6999511719, -1659, 31, 0, 358.17993164063, 0);
CreateObject(18483, 2575.1999511719, -1659, 32.099998474121, 0, 330, 0);
CreateObject(18483, 2605.3999023438, -1659, 49.5, 0, 330, 0);
CreateObject(18483, 2624.8000488281, -1659.0999755859, 60.700000762939, 0, 330, 0);
CreateObject(18483, 2655.1000976563, -1659.4000244141, 78.099998474121, 0, 330, 0);
CreateObject(17300, 2809.8994140625, -1658.69921875, 102.80000305176, 3.8397216796875, 0, 85.995483398438);
CreateObject(13139, 172.80000305176, 109.5, 492.70001220703, 0, 0, 0);
CreateObject(17062, 3026.1000976563, -1656.5999755859, 163.5, 331.5, 0, 87);
CreateObject(8420, 3161.1999511719, -1644.5999755859, 217.69999694824, 346, 0, 19);
CreateObject(13641, 2369.3999023438, -1658.8000488281, 12.39999961853, 0, 0, 178);
CreateObject(4564,-1110.89685100,799.23919700,86.15966000,0.00000000,0.00000000,-56.25001695); //object0
CreateObject(4564,-1340.26293900,634.87323000,81.43283800,0.00000000,0.00000000,-56.25001695); //object1
CreateObject(4564,-1175.14404300,885.74969500,80.42990900,0.00000000,0.00000000,-56.25001695); //object2
CreateObject(4564,-1220.78784200,939.74902300,80.66890700,0.00000000,0.00000000,-44.99999064); //object3
CreateObject(4564,-1297.46630900,1010.36755400,80.91190300,0.00000000,0.00000000,-44.99999064); //object4
CreateObject(4564,-1264.64196800,858.27282700,18.98666000,0.00000000,72.19268219,-321.01616320); //object5
CreateObject(4564,-1229.61584500,722.99646000,84.15016900,0.00000000,0.00000000,-144.53106754); //object6
CreateObject(8344,-1372.41613800,619.62793000,5.53268700,0.00000000,0.00000000,33.75002163); //object7
CreateObject(8343,-974.15271000,877.81695600,5.42150000,0.00000000,0.00000000,213.74998418); //object8
CreateObject(8354,-1028.66210900,808.41400100,5.47807200,0.00000000,0.00000000,-236.24986491); //object9
CreateObject(8344,-1411.01513700,711.30242900,5.44672900,0.00000000,0.00000000,-51.95277619); //object10
CreateObject(8355,-1400.20849600,618.06329300,5.51100500,0.00000000,0.00000000,-146.24994093); //object11
CreateObject(8354,-1259.36865200,642.26623500,5.55511300,0.00000000,0.00000000,123.74994561); //object12
CreateObject(8354,-1210.73254400,674.37561000,5.53012400,0.00000000,0.00000000,-234.53099152); //object13
CreateObject(8354,-1151.96069300,719.41491700,5.54153600,0.00000000,0.00000000,-231.95273874); //object14
CreateObject(8354,-1112.19030800,752.56353800,5.49154800,0.00000000,0.00000000,-236.24986491); //object15
CreateObject(7240,-1027.87133800,1093.32922400,-2.76759100,0.00000000,0.00000000,-56.25001695); //object16
CreateObject(8354,-1222.35681200,862.81378200,5.48374000,0.00000000,0.00000000,-321.09334062); //object17
CreateObject(8354,-1174.71521000,960.12158200,5.46137800,0.00000000,0.00000000,-501.09330317); //object18
CreateObject(8355,-1108.11816400,878.72552500,5.37948700,0.00000000,0.00000000,40.62551517); //object19
CreateObject(8344,-1279.11645500,1032.35974100,5.44399500,0.00000000,0.00000000,-128.98391507); //object20
CreateObject(8343,-1330.25634800,1004.15350300,5.47697000,0.00000000,0.00000000,49.29711681); //object21
CreateObject(8354,-1272.50927700,923.86523400,5.43121100,0.00000000,0.00000000,-669.84306753); //object22
CreateObject(8355,-1204.80664100,843.33526600,5.46066100,0.00000000,0.00000000,37.18776840); //object23
CreateObject(8355,-1316.31469700,903.24218800,5.29093600,0.00000000,0.00000000,-37.18771110); //object24
CreateObject(8344,-1247.10644500,763.31964100,5.47859700,0.00000000,0.00000000,-56.24995965); //object25
CreateObject(8355,-1207.33313000,752.95159900,5.44345700,0.00000000,0.00000000,37.18776840); //object26
CreateObject(8355,-1339.05078100,725.22033700,5.52947500,0.00000000,0.00000000,-149.76497970); //object27
CreateObject(8355,-1019.26641800,988.67364500,2.26291700,-2.57831008,0.00000000,33.75002163); //object28
CreateObject(10766,-1000.92773400,1051.28112800,-0.34244700,0.00000000,0.00000000,123.74994561); //object29
CreateObject(8344,-1350.23046900,817.08221400,5.48794200,0.00000000,0.00000000,-36.40562371); //object30
CreateObject(10766,-1066.78344700,1112.68066400,-0.39994600,0.00000000,0.00000000,213.74998418); //object31
CreateObject(10766,-1028.71606400,1056.29968300,-0.34992900,0.00000000,0.00000000,33.74996433); //object32
CreateObject(4084,-1070.06689500,1120.34130900,3.81248500,0.00000000,0.00000000,33.75002163); //object33
CreateObject(4084,-1070.86767600,1121.41735800,3.81248500,0.00000000,0.00000000,33.75002163); //object34
CreateObject(4084,-1066.83874500,1115.48657200,3.81248500,0.00000000,0.00000000,33.75002163); //object35
CreateObject(4564,-1027.73669400,854.56115700,86.81475100,0.00000000,0.00000000,-56.25001695); //object36
CreateObject(10828,-998.14178500,803.83703600,2.82863500,0.00000000,0.00000000,-146.24999822); //object37
CreateObject(10828,-1027.12817400,784.48919700,2.85123000,0.00000000,0.00000000,-146.24999822); //object38
CreateObject(16502,-1085.54418900,1079.16345200,-1.95126800,0.00000000,0.00000000,33.75002163); //object39
CreateObject(16502,-1091.90918000,1087.94580100,-1.94893400,0.00000000,0.00000000,33.75002163); //object40
CreateObject(16502,-1079.67126500,1070.11230500,-1.94117400,0.00000000,0.00000000,33.75002163); //object41
CreateObject(10828,-1056.24218800,765.02752700,2.89038900,0.00000000,0.00000000,-146.24999822); //object42
CreateObject(14553,-1225.78979500,890.00671400,73.88651300,20.62648062,0.00000000,128.90662306); //object43
CreateObject(14548,-1226.91772500,888.62103300,74.79006200,19.76704393,0.00000000,-231.87550403); //object44
CreateObject(3887,-1295.78320300,882.97686800,8.92747200,0.00000000,0.00000000,-36.32833170); //object45
CreateObject(3887,-1324.16137700,843.73217800,7.23853000,0.00000000,0.00000000,-36.32833170); //object46
CreateObject(3887,-1264.48571800,876.17657500,11.69966900,0.00000000,0.00000000,-137.57833929); //object47
CreateObject(3887,-1243.14599600,846.17523200,11.74270800,0.00000000,0.00000000,-142.73495944); //object48
CreateObject(3887,-1249.11950700,819.99871800,11.59244800,0.00000000,0.00000000,-236.17274479); //object49
CreateObject(10828,-1085.07043500,745.09985400,2.89683900,0.00000000,0.00000000,-144.53106754); //object50
CreateObject(10828,-1113.26355000,724.29406700,2.95977700,0.00000000,0.00000000,-142.81219415); //object51
CreateObject(10828,-1140.74707000,702.33435100,3.01092300,0.00000000,0.00000000,-140.23388408); //object52
CreateObject(10828,-1168.13354500,680.57550000,3.05446100,0.00000000,0.00000000,-142.81219415); //object53
CreateObject(10828,-1196.36218300,660.01806600,3.06780800,0.00000000,0.00000000,-145.39056153); //object54
CreateObject(10828,-1224.93664600,640.23718300,3.03139100,0.00000000,0.00000000,-145.39056153); //object55
CreateObject(10828,-1254.15722700,620.88421600,2.95637800,0.00000000,0.00000000,-147.96887161); //object56
CreateObject(10828,-1282.24609400,603.21240200,2.93136700,0.00000000,0.00000000,-147.96887161); //object57
CreateObject(10828,-1311.64697300,584.15905800,2.90637300,0.00000000,0.00000000,-146.24999822); //object58
CreateObject(10828,-1341.88647500,570.16772500,2.90894100,0.00000000,0.00000000,-164.37551807); //object59
CreateObject(10828,-1374.07959000,570.54547100,2.88394300,0.00000000,0.00000000,-197.26610300); //object60
CreateObject(10828,-1402.48877000,587.97235100,2.90893100,0.00000000,0.00000000,-225.85938988); //object61
CreateObject(10828,-1424.11108400,614.88159200,2.93283000,0.00000000,0.00000000,-236.17263020); //object62
CreateObject(10828,-1443.02356000,644.49719200,2.89023600,0.00000000,0.00000000,-238.75094027); //object63
CreateObject(10828,-1458.09814500,675.74133300,2.87297300,0.00000000,0.00000000,-250.00090928); //object64
CreateObject(10828,-1459.80078100,708.56915300,2.84797900,0.00000000,0.00000000,-283.75093091); //object65
CreateObject(10828,-1443.76123000,737.47930900,2.79797900,0.00000000,0.00000000,-314.06326306); //object66
CreateObject(10828,-1417.73852500,760.97534200,2.79798000,0.00000000,0.00000000,-321.87554260); //object67
CreateObject(10828,-1407.72814900,768.96380600,2.79798600,0.00000000,0.00000000,-321.87554260); //object68
CreateObject(10828,-1396.30737300,796.81146200,2.86419800,0.00000000,0.00000000,-262.18777888); //object69
CreateObject(10828,-1373.35217300,859.12231400,2.86419700,0.00000000,0.00000000,-307.18782682); //object70
CreateObject(10828,-1391.34863300,829.44134500,2.86419500,0.00000000,0.00000000,-295.07836382); //object71
CreateObject(10828,-1352.16333000,887.02838100,2.86419700,0.00000000,0.00000000,-307.18782682); //object72
CreateObject(10828,-1330.99511700,914.94006300,2.84219200,0.00000000,0.00000000,-307.18782682); //object73
CreateObject(10828,-969.21386700,823.21380600,2.84337800,0.00000000,0.00000000,-146.24999822); //object74
CreateObject(10828,-946.88525400,848.00073200,2.79776200,0.00000000,0.00000000,-117.65659675); //object75
CreateObject(10828,-938.52624500,880.70575000,2.77275900,0.00000000,0.00000000,-90.78212596); //object76
CreateObject(10828,-946.28112800,913.39300500,2.77275800,0.00000000,0.00000000,-62.18872449); //object77
CreateObject(10828,-964.16619900,943.37994400,2.80834900,0.00000000,0.00000000,-56.17266764); //object78
CreateObject(10828,-983.60443100,972.45404100,1.72812600,0.00000000,-3.43774677,-56.17266764); //object79
CreateObject(10828,-1003.11151100,1001.60430900,-0.14770800,0.00000000,-2.57831008,-56.17266764); //object80
CreateObject(10828,-1037.55590800,978.95477300,0.42647200,0.00000000,-2.57831008,-56.17266764); //object81
CreateObject(10828,-1018.23010300,950.08917200,1.96086000,0.00000000,-2.57831008,-56.17266764); //object82
CreateObject(10828,-998.65850800,920.95257600,2.77886600,0.00000000,0.00000000,-56.17266764); //object83
CreateObject(10398,-1007.41064500,1083.04736300,23.80242500,0.00000000,0.00000000,-236.24997950); //object84
CreateObject(4601,-1410.65893600,772.80169700,-12.15290600,0.00000000,0.00000000,127.18780697); //object85
CreateObject(4550,-1007.27893100,877.21026600,71.40600600,0.00000000,0.00000000,22.49999532); //object86
CreateObject(10828,-989.96130400,907.93750000,2.82675000,0.00000000,0.00000000,-56.17266764); //object87
CreateObject(4550,-1351.21862800,633.45996100,66.51912700,0.00000000,0.00000000,56.25001695); //object88
CreateObject(1675,-1357.58996600,801.13470500,4.59740700,20.62648062,0.00000000,-51.09339679); //object89
CreateObject(1675,-1348.89355500,790.44342000,4.62240900,20.62648062,0.00000000,-51.09339679); //object90
CreateObject(1675,-1339.98632800,779.37078900,4.62240500,20.62648062,0.00000000,-51.09339679); //object91
CreateObject(1675,-1332.62451200,775.47235100,4.67634700,20.62648062,0.00000000,-6.09340615); //object92
CreateObject(1675,-1360.29968300,810.02722200,4.49741200,20.62648062,0.00000000,-96.09338743); //object93
CreateObject(10828,-1330.38855000,945.64288300,2.95641100,0.00000000,0.00000000,-399.76617547); //object94
CreateObject(10828,-1327.57397500,919.90460200,2.91508400,0.00000000,0.00000000,-307.18782682); //object95
CreateObject(4550,-1303.23852500,1017.53393600,83.17265300,0.00000000,0.00000000,40.70280717); //object96
CreateObject(10828,-1354.78344700,970.47839400,2.88009400,0.00000000,0.00000000,-411.01614448); //object97
CreateObject(10828,-1367.25061000,1001.08984400,2.82822500,0.00000000,0.00000000,-444.76616610); //object98
CreateObject(10828,-1362.13488800,1034.10083000,2.87822800,0.00000000,0.00000000,-472.42295347); //object99
CreateObject(10828,-1340.71362300,1059.78674300,2.82822500,0.00000000,0.00000000,-506.17286050); //object100
CreateObject(10828,-1329.84545900,1066.99548300,2.82024900,0.00000000,0.00000000,-507.03229719); //object101
CreateObject(10828,-1297.94567900,1079.10461400,2.78628400,0.00000000,0.00000000,-532.11065989); //object102
CreateObject(10828,-1265.18139600,1073.96301300,2.84524400,0.00000000,0.00000000,-565.86056692); //object103
CreateObject(10828,-1236.28747600,1055.19873000,2.86689700,0.00000000,0.00000000,-579.68890331); //object104
CreateObject(10828,-1210.14575200,1032.04931600,2.79524400,0.00000000,0.00000000,-583.12676467); //object105
CreateObject(10828,-1186.20520000,1006.23376500,2.81263400,0.00000000,0.00000000,-590.93887232); //object106
CreateObject(10828,-1164.11853000,978.97424300,2.81262500,0.00000000,0.00000000,-590.93887232); //object107
CreateObject(10828,-1142.00439500,951.72558600,2.82101400,0.00000000,0.00000000,-590.93887232); //object108
CreateObject(10828,-1119.93115200,924.44604500,2.82605700,0.00000000,0.00000000,-590.93887232); //object109
CreateObject(10828,-1094.77648900,893.40094000,2.83073800,0.00000000,0.00000000,-590.93887232); //object110
CreateObject(10828,-1074.12463400,865.82550000,2.80573800,0.00000000,0.00000000,-595.23617037); //object111
CreateObject(10828,-1107.10754400,908.69757100,2.83015300,0.00000000,0.00000000,-590.93887232); //object112
CreateObject(1675,-1329.40979000,760.92419400,8.51394200,0.00000000,0.00000000,-58.90567633); //object113
CreateObject(1675,-1322.23217800,749.42150900,8.51394200,0.00000000,0.00000000,-148.90565760); //object114
CreateObject(1675,-1315.50427200,737.68298300,8.56394100,0.00000000,0.00000000,-238.90569617); //object115
CreateObject(1675,-1375.72460900,736.38555900,8.60619400,0.00000000,0.00000000,-57.18680294); //object116
CreateObject(1675,-1368.91406300,724.93945300,8.63894000,0.00000000,0.00000000,-329.76511414); //object117
CreateObject(8355,-1286.87414600,743.43518100,5.38051800,0.00000000,0.00000000,-146.24994093); //object118
CreateObject(3887,-1272.42114300,804.67669700,12.81245300,0.00000000,0.00000000,-234.45387140); //object119
CreateObject(10986,-1298.32067900,787.74023400,6.31021900,0.00000000,0.00000000,-67.49998596); //object120
CreateObject(10986,-1311.95483400,779.51861600,5.96912200,0.00000000,0.00000000,11.25002631); //object121
CreateObject(10986,-1320.45495600,771.32873500,6.16021800,0.00000000,0.00000000,-33.75002163); //object122
CreateObject(10986,-1316.02563500,777.12243700,6.28681000,0.00000000,0.00000000,-44.99999064); //object123
CreateObject(10986,-1305.12402300,786.05896000,6.21021900,0.00000000,0.00000000,22.50005261); //object124
CreateObject(10986,-1333.57336400,785.03308100,6.95882100,0.00000000,0.00000000,101.25006488); //object125
CreateObject(10986,-1341.28442400,790.96136500,6.07741800,-6.01605685,-13.75098708,67.50004325); //object126
CreateObject(10986,-1347.47204600,801.05712900,5.91601700,-6.01605685,-13.75098708,45.00004793); //object127
CreateObject(10986,-1352.77063000,810.29052700,6.67992400,-6.01605685,-13.75098708,22.50005261); //object128
CreateObject(10986,-1342.28283700,833.55236800,6.24640200,0.00000000,0.00000000,123.75006020); //object129
CreateObject(10986,-1350.72595200,828.19989000,6.23511200,0.00000000,0.00000000,191.25010345); //object130
CreateObject(10986,-1359.29162600,822.20361300,5.71764200,0.00000000,0.00000000,157.50008182); //object131
CreateObject(10986,-1355.30627400,825.83361800,6.46764300,0.00000000,0.00000000,157.50008182); //object132
CreateObject(8355,-1164.17004400,845.28680400,5.36066100,0.00000000,0.00000000,-321.95283461); //object133
CreateObject(7035,-1149.33300800,819.64538600,10.16544700,0.00000000,0.00000000,-52.81227017); //object134
CreateObject(8355,-1140.39209000,870.68573000,5.33566100,0.00000000,0.00000000,-321.95283461); //object135
CreateObject(8527,-1173.11523400,755.94293200,10.93212200,0.00000000,0.00000000,-51.95283348); //object136
CreateObject(8527,-1191.79687500,779.85601800,11.08140800,0.00000000,0.00000000,-51.95283348); //object137
CreateObject(981,-1301.77356000,765.64904800,6.33200600,0.00000000,0.00000000,71.79716942); //object138
CreateObject(3516,-1311.81433100,940.16931200,8.66687800,0.00000000,0.00000000,-128.90662306); //object139
CreateObject(3516,-1292.14636200,912.70910600,8.52660400,0.00000000,0.00000000,-38.90664178); //object140
CreateObject(3516,-1257.82995600,928.12170400,8.71940700,0.00000000,0.00000000,39.84337048); //object141
CreateObject(3516,-1286.13232400,962.13647500,8.66687800,0.00000000,0.00000000,141.09332077); //object142
CreateObject(3516,-1229.08862300,991.88659700,8.59044800,0.00000000,0.00000000,-38.90664178); //object143
CreateObject(3516,-1195.12512200,1007.38085900,8.62204600,0.00000000,0.00000000,39.84337048); //object144
CreateObject(3516,-1249.55981400,1021.92871100,8.67966300,0.00000000,0.00000000,-128.90662306); //object145
CreateObject(3516,-1137.09802200,935.56848100,8.69704500,0.00000000,0.00000000,-320.15661192); //object146
CreateObject(3516,-1168.69287100,918.22387700,8.69704500,0.00000000,0.00000000,-50.15661079); //object147
CreateObject(3516,-1183.41577100,950.80523700,8.69704300,0.00000000,0.00000000,-140.15664937); //object148
CreateObject(3516,-1070.03710900,804.21423300,8.71373900,0.00000000,0.00000000,-147.03214291); //object149
CreateObject(3516,-1054.58996600,773.70520000,8.55221700,0.00000000,0.00000000,-57.03216163); //object150
CreateObject(3516,-1039.35070800,817.43731700,8.71374100,0.00000000,0.00000000,122.96780092); //object151
CreateObject(3516,-1121.30285600,760.81225600,8.72720300,0.00000000,0.00000000,127.26498438); //object152
CreateObject(3516,-1150.47460900,747.45312500,8.72721500,0.00000000,0.00000000,217.26502296); //object153
CreateObject(3516,-1134.20129400,716.09875500,8.67720400,0.00000000,0.00000000,307.26506153); //object154
CreateObject(3516,-1162.50878900,727.57458500,8.77720300,0.00000000,0.00000000,127.26509898); //object155
CreateObject(3516,-1192.60559100,712.65301500,8.77720500,0.00000000,0.00000000,217.26513755); //object156
CreateObject(3516,-1176.54357900,682.09503200,8.65220500,0.00000000,0.00000000,307.26517612); //object157
CreateObject(3516,-1288.04638700,607.02014200,8.59078300,0.00000000,0.00000000,303.82748664); //object158
CreateObject(3516,-1236.54968300,639.91455100,8.69077800,0.00000000,0.00000000,303.82748664); //object159
CreateObject(3516,-1301.21911600,638.84509300,8.79078200,0.00000000,0.00000000,213.82756266); //object160
CreateObject(3516,-1253.89147900,671.76550300,8.34079900,0.00000000,0.00000000,213.82756266); //object161
CreateObject(3516,-1223.31835900,682.22467000,8.79078000,0.00000000,0.00000000,123.82752409); //object162
CreateObject(3516,-1267.65026900,653.30432100,8.44078400,0.00000000,0.00000000,123.82752409); //object163
CreateObject(3516,-1381.46350100,747.99877900,8.30740200,0.00000000,0.00000000,-51.01581830); //object164
CreateObject(3516,-1343.40539600,758.72381600,8.46514700,0.00000000,0.00000000,32.03132013); //object165
CreateObject(3516,-1386.93811000,781.13012700,8.39861300,0.00000000,0.00000000,200.78131367); //object166
CreateObject(3516,-1227.91845700,903.60784900,8.49441100,0.00000000,0.00000000,-231.01601004); //object167
CreateObject(3516,-1216.41455100,879.09307900,8.71940700,0.00000000,0.00000000,-321.01604861); //object168
CreateObject(3516,-1202.33154300,805.92010500,8.71426400,0.00000000,0.00000000,-416.17259275); //object169
CreateObject(3516,-1217.00366200,835.54321300,8.71940700,0.00000000,0.00000000,-502.65759254); //object170
CreateObject(3516,-1157.56445300,803.96942100,8.72721500,0.00000000,0.00000000,-325.23594007); //object171
CreateObject(3516,-1214.41406300,784.16638200,8.67912500,0.00000000,0.00000000,-325.23594007); //object172
CreateObject(3516,-1230.42810100,820.06115700,8.71426400,0.00000000,0.00000000,-235.23590150); //object173
CreateObject(3516,-1252.98779300,772.55889900,8.71426400,0.00000000,0.00000000,-55.23593894); //object174
CreateObject(3781,-1389.31018100,555.51617400,7.76526500,0.00000000,0.00000000,-195.54717232); //object175
CreateObject(8355,-1351.10314900,681.28924600,5.40639300,0.00000000,0.00000000,-146.24994093); //object176
CreateObject(8355,-1366.34973100,638.83929400,5.45639300,0.00000000,0.00000000,-146.24994093); //object177
CreateObject(6010,-1355.19934100,709.10540800,6.42883500,0.00000000,0.00000000,302.03114936); //object178
CreateObject(5767,-1422.32495100,698.49853500,38.09685100,0.00000000,0.00000000,0.00000000); //object179
CreateObject(8392,-1294.22985800,705.64025900,-1.26511700,0.00000000,0.00000000,-237.10941619); //object180
CreateObject(8392,-1292.97863800,705.59021000,-1.29011700,0.00000000,0.00000000,-418.82830942); //object181
CreateObject(8355,-1263.46740700,969.80841100,5.38313200,0.00000000,0.00000000,-218.98389634); //object182
CreateObject(10630,-1282.06750500,989.78686500,12.28616300,0.00000000,0.00000000,-220.70282702); //object183
CreateObject(10630,-1272.84582500,1000.52752700,12.31938300,0.00000000,0.00000000,-220.70282702); //object184
CreateObject(10630,-1285.23291000,1011.06280500,12.29438300,0.00000000,0.00000000,-220.70282702); //object185
CreateObject(10630,-1242.62475600,955.68072500,12.23616400,0.00000000,0.00000000,-40.70286447); //object186
CreateObject(10630,-1209.64843800,965.04718000,12.27268200,0.00000000,0.00000000,-141.09343536); //object187
CreateObject(10764,-1068.04028300,1005.67492700,-1.34656600,0.00000000,0.00000000,168.74999354); //object188
CreateObject(3873,-1247.04565400,748.00671400,11.90221600,0.00000000,0.00000000,0.00000000); //object189
CreateObject(10829,-1245.29064900,767.44842500,5.39771000,0.00000000,0.00000000,-89.99998128); //object190
CreateObject(2499,-1116.03515600,973.92627000,62.68457000,0.00000000,0.00000000,-202.50001517); //object191
CreateObject(2495,-1206.71228000,910.15948500,69.43854500,0.00000000,0.00000000,-11.25002631); //object192
CreateObject(2490,-1201.14294400,903.10748300,69.43808700,0.00000000,0.00000000,-89.99998128); //object193
CreateObject(2489,-1205.91076700,909.36621100,69.42489600,0.00000000,0.00000000,-51.87548418); //object194
CreateObject(2488,-1201.73681600,904.17504900,69.41398600,0.00000000,0.00000000,-52.81227017); //object195
CreateObject(2492,-1204.74890100,908.12854000,69.89329500,0.00000000,0.00000000,-56.25001695); //object196
CreateObject(2494,-1202.72729500,905.57366900,69.89174700,0.00000000,0.00000000,-56.25001695); //object197
CreateObject(2493,-1202.41870100,905.08166500,69.89341700,0.00000000,0.00000000,-56.25001695); //object198
CreateObject(2493,-1205.07092300,908.54040500,69.88761100,0.00000000,0.00000000,-44.99999064); //object199
CreateObject(1248,-1200.60241700,909.30505400,70.30965400,0.00000000,0.00000000,-52.81227017); //object200
CreateObject(16502,-1089.00622600,1033.76684600,-1.94632700,0.00000000,0.00000000,-56.24995965); //object201
CreateObject(18248,-1302.05346700,759.35711700,13.42204700,0.00000000,0.00000000,-258.75003211); //object202
CreateObject(7520,-1384.44982900,669.39257800,4.04198000,0.00000000,0.00000000,-596.24990460); //object203
CreateObject(18284,-1170.01904300,842.50134300,8.10550300,0.00000000,0.00000000,-51.95283348); //object204
CreateObject(18284,-1157.42358400,825.73840300,8.08050300,0.00000000,0.00000000,-51.95283348); //object205
CreateObject(1676,-1163.98437500,820.68981900,7.06460700,0.00000000,0.00000000,-51.95283348); //object206
CreateObject(1676,-1159.52966300,823.88909900,6.94152800,0.00000000,0.00000000,-51.95283348); //object207
CreateObject(1676,-1176.57507300,837.39392100,7.06460700,0.00000000,0.00000000,-51.95283348); //object208
CreateObject(1676,-1172.14416500,840.67913800,6.94418200,0.00000000,0.00000000,-51.95283348); //object209
CreateObject(910,-1123.51269500,842.83429000,6.60481500,0.00000000,0.00000000,35.46883772); //object210
CreateObject(10630,-1125.52246100,816.54980500,12.21561400,0.00000000,0.00000000,-52.81232747); //object211
CreateObject(7388,-1007.61340300,1012.85058600,1.59655600,0.00000000,0.00000000,0.00000000); //object212
CreateObject(4882,-1482.38232400,680.76409900,9.98654700,0.00000000,0.00000000,0.00000000); //object213
CreateObject(672,-1251.92272900,767.07495100,6.42658500,0.00000000,0.00000000,-78.75001226); //object214
CreateObject(672,-1239.02197300,765.76409900,6.39144500,0.00000000,0.00000000,-213.74998418); //object215
CreateObject(672,-1285.31701700,711.29815700,6.42658500,0.00000000,0.00000000,-213.74998418); //object216
CreateObject(672,-1301.83337400,699.83508300,6.47746300,0.00000000,0.00000000,-382.50003501); //object217
CreateObject(672,-1385.73266600,707.55004900,6.35438100,0.00000000,0.00000000,-348.75001339); //object218
CreateObject(672,-1330.29577600,669.53686500,6.35438100,0.00000000,0.00000000,-382.50003501); //object219
CreateObject(672,-1324.05297900,619.91003400,6.50310000,0.00000000,0.00000000,-382.50003501); //object220
CreateObject(672,-1306.13208000,632.06085200,6.50310000,0.00000000,0.00000000,-382.50003501); //object221
CreateObject(672,-1314.76208500,626.46594200,6.50310000,0.00000000,0.00000000,-314.99999176); //object222
CreateObject(672,-1412.17712400,676.25054900,6.40438000,0.00000000,0.00000000,-314.99999176); //object223
CreateObject(672,-1331.59411600,746.88305700,6.47746300,0.00000000,0.00000000,-314.99999176); //object224
CreateObject(672,-1312.80114700,873.30053700,7.40429000,0.00000000,0.00000000,-314.99999176); //object225
CreateObject(672,-1187.83911100,852.86029100,6.40864800,0.00000000,0.00000000,-314.99999176); //object226
CreateObject(672,-1100.26416000,833.38879400,6.28364800,0.00000000,0.00000000,-213.74998418); //object227
CreateObject(672,-1151.69274900,875.70208700,6.28364800,0.00000000,0.00000000,-236.25003679); //object228
CreateObject(672,-1106.64306600,1012.21496600,2.54998700,0.00000000,0.00000000,-236.25003679); //object229
CreateObject(672,-1077.17504900,968.46203600,2.57506800,0.00000000,0.00000000,-281.25002743); //object230
CreateObject(672,-1056.06396500,1047.86047400,2.55085300,0.00000000,0.00000000,-281.25002743); //object231
CreateObject(672,-1097.13049300,1109.38464400,2.54337100,0.00000000,0.00000000,-281.25002743); //object232
CreateObject(672,-1006.46447800,1015.04864500,2.55085300,0.00000000,0.00000000,-281.25002743); //object233
CreateObject(672,-1047.57617200,987.34613000,2.55085300,0.00000000,0.00000000,-281.25002743); //object234
CreateObject(7388,-1046.05603000,987.51886000,1.59655600,0.00000000,0.00000000,0.00000000); //object235
CreateObject(16061,-1240.52294900,959.01593000,18.10171900,0.00000000,0.00000000,-41.56224387); //object236
CreateObject(16061,-1277.58923300,993.01165800,17.83492700,0.00000000,0.00000000,-41.56224387); //object237
CreateObject(12853,-1398.06579600,662.16186500,7.51178500,0.00000000,0.00000000,-326.25001807); //object238
CreateObject(1676,-1403.83789100,650.80883800,7.25820500,0.00000000,0.00000000,-56.25001695); //object239
CreateObject(1676,-1410.89318800,661.35058600,7.25820500,0.00000000,0.00000000,-56.25001695); //object240
CreateObject(16217,-2347.53906300,1901.58801300,-1.36790600,0.00000000,0.00000000,0.00000000); //object0
CreateObject(16216,-2406.23437500,2061.44921900,0.97132300,0.00000000,0.00000000,-9.45380362); //object1
CreateObject(16257,-2524.29443400,1932.60791000,16.02078400,0.00000000,0.00000000,0.85943669); //object2
CreateObject(16000,-2409.44604500,1853.10974100,0.98829200,0.00000000,0.00000000,0.00000000); //object3
CreateObject(16203,-2251.55957000,1929.49218800,2.15853500,0.00000000,0.00000000,88.52192205); //object4
CreateObject(16340,-2509.23510700,1826.36022900,4.14120400,0.00000000,0.00000000,0.00000000); //object5
CreateObject(16342,-2499.41674800,1825.83508300,4.31734600,0.00000000,0.00000000,0.00000000); //object6
CreateObject(16365,-2501.64843800,1900.44250500,4.17507600,0.00000000,0.00000000,-4.29718346); //object7
CreateObject(16370,-2483.49121100,1862.14672900,2.55597100,0.00000000,0.00000000,-7.73493023); //object8
CreateObject(16385,-2478.57934600,1910.29760700,0.99838800,0.00000000,0.00000000,-3.43774677); //object9
CreateObject(16402,-2466.20410200,1889.20922900,4.41323200,0.00000000,0.00000000,39.53408786); //object10
CreateObject(16405,-2482.94555700,1867.22448700,2.81235800,0.00000000,0.00000000,-97.97578297); //object11
CreateObject(16409,-2361.26757800,1909.43225100,0.88914200,0.00000000,0.00000000,0.00000000); //object12
CreateObject(16409,-2361.25610400,1923.13940400,0.88322300,0.00000000,0.00000000,0.00000000); //object13
CreateObject(1641,-2368.76001000,1913.30554200,2.42007500,0.00000000,0.00000000,0.00000000); //object14
CreateObject(16424,-2458.74755900,2006.14282200,1.11905900,0.00000000,0.00000000,-91.10023213); //object15
CreateObject(16446,-2392.96215800,2031.44787600,6.06977900,0.00000000,0.00000000,0.00000000); //object16
CreateObject(16480,-2428.63134800,2092.93676800,3.49676200,0.00000000,0.00000000,-43.83127133); //object17
CreateObject(16475,-2406.22021500,1921.14135700,1.01848600,0.00000000,0.00000000,0.00000000); //object18
CreateObject(16563,-2401.84179700,1957.31311000,-1.25548300,0.00000000,0.00000000,0.00000000); //object19
CreateObject(16562,-2390.69873000,2009.45971700,2.84694600,0.00000000,0.00000000,89.38141604); //object20
CreateObject(16568,-2488.85717800,1952.36535600,3.93034700,0.00000000,0.00000000,90.24079544); //object21
CreateObject(16599,-2352.89697300,1925.60095200,4.83646300,0.00000000,0.00000000,0.00000000); //object22
CreateObject(16599,-2353.02832000,1907.31286600,4.81238500,0.00000000,0.00000000,0.00000000); //object23
CreateObject(16605,-2352.25683600,1963.72851600,0.28612700,0.00000000,0.00000000,88.52197935); //object24
CreateObject(16613,-2274.46655300,2016.02172900,5.86003500,0.00000000,0.00000000,-273.30086828); //object25
CreateObject(16641,-2205.91113300,2009.01196300,2.35832500,0.00000000,0.00000000,0.00000000); //object26
CreateObject(16669,-2311.95776400,2004.75695800,1.91807900,0.00000000,0.00000000,22.34535401); //object27
CreateObject(16668,-2289.64404300,1869.88903800,1.31238300,0.00000000,0.00000000,0.00000000); //object28
CreateObject(16673,-2480.70190400,1996.77124000,5.45969800,0.00000000,0.00000000,0.00000000); //object29
CreateObject(1682,-2311.26220700,2013.00964400,7.05026200,0.00000000,0.00000000,85.08423258); //object30
CreateObject(1683,-2313.93798800,2031.32055700,54.51059700,0.00000000,17.18873385,-37.81521448); //object31
CreateObject(1684,-2315.13476600,1973.49975600,2.51940600,0.00000000,0.00000000,0.00000000); //object32
CreateObject(1684,-2306.46948200,1963.16662600,2.51940800,0.00000000,0.00000000,-105.71071320); //object33
CreateObject(1685,-2310.36816400,1965.93127400,1.67953000,0.00000000,0.00000000,0.00000000); //object34
CreateObject(1686,-2311.43920900,1958.98132300,0.95008500,0.00000000,0.00000000,123.75894104); //object35
CreateObject(16690,-2386.15161100,1827.61132800,5.59655100,0.00000000,0.00000000,0.00000000); //object36
CreateObject(16687,-2407.41259800,1891.44055200,0.43302700,0.00000000,0.00000000,91.95966882); //object37
CreateObject(16684,-2389.08178700,1953.53442400,0.46057200,0.00000000,0.00000000,0.00000000); //object38
CreateObject(16689,-2417.62036100,1832.07653800,3.84666800,0.00000000,0.00000000,35.23690440); //object39
CreateObject(16769,-2446.15307600,1917.26818800,1.11321700,0.00000000,0.00000000,90.24085273); //object40
CreateObject(16767,-2406.71728500,1881.60815400,6.34186100,0.00000000,0.00000000,0.00000000); //object41
CreateObject(16771,-2377.89404300,2099.82055700,7.45010100,0.00000000,0.00000000,-180.48176276); //object42
CreateObject(16772,-2428.26782200,2100.97460900,6.61022200,0.00000000,0.00000000,-182.20063615); //object43
CreateObject(16778,-2317.30175800,1875.08886700,2.00537800,0.00000000,0.00000000,0.00000000); //object44
CreateObject(16778,-2318.27710000,1859.66613800,2.07841800,0.00000000,0.00000000,0.00000000); //object45
CreateObject(16777,-2401.60571300,1958.95141600,6.52265300,0.00000000,0.00000000,0.00000000); //object46
CreateObject(16001,-2328.25415000,1856.70202600,1.95593900,0.00000000,0.00000000,196.81117451); //object47
CreateObject(16003,-2324.97314500,1875.15576200,3.53638700,0.00000000,0.00000000,0.00000000); //object48
CreateObject(16003,-2473.62793000,1890.62902800,2.72645400,0.00000000,0.00000000,0.00000000); //object49
CreateObject(13006,-2305.24560500,1905.91345200,0.75785100,0.00000000,0.00000000,0.85943669); //object50
CreateObject(13190,-2354.39990200,1771.37304700,1.94468500,5.15662016,0.00000000,12.03211370); //object51
CreateObject(13198,-2381.52587900,1768.66210900,3.60803000,4.29718346,0.00000000,-4.29718346); //object52
CreateObject(13590,-2302.06054700,1897.24462900,10.66425600,0.00000000,0.00000000,0.00000000); //object53
CreateObject(13805,-2499.28735400,1713.42297400,-2.29726800,0.00000000,0.00000000,0.00000000); //object54
CreateObject(10014,-2485.83715800,2027.94335900,11.48071100,0.00000000,0.00000000,-1.71887339); //object55
CreateObject(10060,-2320.06811500,1792.90014600,12.25692400,24.06422740,0.00000000,18.04817055); //object56
CreateObject(10230,-2513.16650400,1986.08398400,5.07185400,0.85943669,8.59436693,-177.04395870); //object57
CreateObject(10231,-2511.70312500,1988.32312000,7.80457400,0.00000000,6.87549354,182.20069344); //object58
CreateObject(10236,-2323.85180700,1840.77783200,1.92706500,90.24085273,34.37746771,84.22479588); //object59
CreateObject(10280,-2435.40161100,1763.22460900,5.32786100,0.00000000,-2.57831008,-185.63838292); //object60
CreateObject(10380,-2473.20629900,1801.55456500,8.35380200,6.87549354,0.00000000,1.71887339); //object61
CreateObject(10610,-2350.42138700,2029.82580600,11.33211900,0.00000000,0.00000000,269.86312151); //object62
CreateObject(10675,-2404.39184600,2037.91638200,4.17630000,0.00000000,0.00000000,91.10028943); //object63
CreateObject(10775,-2231.85473600,1939.94628900,22.21769500,0.00000000,0.85943669,175.32514261); //object64
CreateObject(10810,-2352.12622100,2024.24157700,26.83182100,0.00000000,0.00000000,-38.67465117); //object65
CreateObject(10845,-2258.77880900,1982.56335400,3.70221300,0.00000000,0.00000000,0.00000000); //object66
CreateObject(10844,-2211.48852500,1867.94274900,4.97303800,0.00000000,0.00000000,-91.95972612); //object67
CreateObject(10865,-2132.50463900,1947.19311500,1.64921000,0.00000000,0.00000000,268.14419083); //object68
CreateObject(11480,-2486.63134800,1850.53198200,2.79885200,0.00000000,0.00000000,-11.17267701); //object69
CreateObject(11480,-2485.37304700,1856.86828600,2.80181300,0.00000000,0.00000000,-11.17267701); //object70
CreateObject(11504,-2477.41503900,1857.32617200,0.65331800,0.00000000,0.00000000,-99.69465635); //object71
CreateObject(4892,-2341.04931600,2092.52807600,3.05927800,0.00000000,0.00000000,178.76288938); //object72
CreateObject(4639,-2416.56591800,2016.47741700,2.38343800,0.00000000,0.00000000,0.00000000); //object73
CreateObject(16285,-2407.22876000,1812.92163100,1.02622300,0.00000000,0.00000000,206.26492084); //object74
CreateObject(987,-2316.68652300,1862.10290500,2.16717000,-63.59831526,0.00000000,89.38141604); //object75
CreateObject(1245,-2324.32763700,1865.03552200,3.10500100,0.85943669,3.43774677,-182.20063615); //object76
CreateObject(1245,-2324.24951200,1868.26269500,3.15413400,0.85943669,3.43774677,-183.06007284); //object77
CreateObject(1245,-2324.07592800,1871.33532700,3.15103400,0.85943669,3.43774677,-183.06007284); //object78
CreateObject(1697,-2235.15014600,1877.89660600,31.11265800,0.00000000,0.00000000,-48.12845479); //object79
CreateObject(1697,-2224.24707000,1876.13745100,31.27537700,0.00000000,0.00000000,0.85943669); //object80
CreateObject(1696,-2244.79711900,1971.56909200,30.63424300,0.00000000,0.00000000,53.28507495); //object81
CreateObject(1696,-2215.04541000,1973.14550800,31.06089400,0.00000000,0.00000000,-48.98789148); //object82
CreateObject(7979,-2233.16357400,1928.13977100,33.06855000,0.00000000,0.00000000,-5.15662016); //object83
CreateObject(6989,-2605.94335900,1871.54260300,-39.82300600,-0.85943669,0.00000000,73.91155557); //object84
CreateObject(3168,-2365.24609400,1958.75451700,0.76541100,0.00000000,0.00000000,21.48591732); //object85
CreateObject(3169,-2374.53369100,1959.21569800,0.43422900,0.00000000,0.00000000,-42.11239794); //object86
CreateObject(14407,-2214.44873000,1889.13696300,10.53885700,0.00000000,0.00000000,-178.76288938); //object87
CreateObject(14407,-2214.45605500,1899.21569800,16.55304100,1.71887339,0.00000000,-180.48176276); //object88
CreateObject(14407,-2214.43554700,1909.57055700,22.33741200,1.71887339,0.00000000,-180.48176276); //object89
CreateObject(14407,-2214.57397500,1919.93249500,27.93240700,1.71887339,-0.85943669,-180.48176276); //object90
CreateObject(987,-2473.30859400,1981.60742200,12.01727300,239.78283726,176.18457930,-91.10028943); //object91
CreateObject(1696,-2461.27685500,1992.91430700,14.13678100,-19.76704393,0.00000000,-85.94366927); //object92
CreateObject(1696,-2466.27685500,1987.76440400,14.18678000,-19.76704393,0.00000000,-85.94366927); //object93
CreateObject(1696,-2466.52685500,1992.51440400,14.18678000,-19.76704393,0.00000000,-85.94366927); //object94
CreateObject(1696,-2460.92627000,1988.13977100,14.13678100,-19.76704393,0.00000000,-85.94366927); //object95
CreateObject(5147,1945.59997559,-315.10000610,27.60000038,0.00000000,12.00000000,0.00000000); //object(sanpedbigbrid_las2) (1)
CreateObject(5147,1851.69995117,-316.00000000,50.90000153,0.00000000,55.00000000,0.00000000); //object(sanpedbigbrid_las2) (2)
CreateObject(5147,1765.30004883,-314.89999390,194.39999390,0.00000000,55.00000000,358.00000000); //object(sanpedbigbrid_las2) (4)
CreateObject(5147,1632.79980469,-310.19921875,323.39999390,0.00000000,19.99511719,357.99499512); //object(sanpedbigbrid_las2) (5)
CreateObject(1192,1498.40002441,-344.70001221,329.79998779,0.00000000,0.00000000,0.00000000); //object(rbmp_lr_t1) (1)
CreateObject(8040,153.39941406,153.59960938,476.39999390,0.00000000,0.00000000,0.00000000); //object(airprtcrprk02_lvs) (1)
CreateObject(8040,155.80000305,137.00000000,461.00000000,0.00000000,0.00000000,0.00000000); //object(airprtcrprk02_lvs) (2)
CreateObject(8390,1457.80004883,-309.29998779,383.00000000,0.00000000,0.00000000,90.00000000); //object(multicarpark01_lvs) (1)
CreateObject(4233,1329.19921875,-283.50000000,403.79998779,0.00000000,6.60998535,0.00000000); //object(roads05_lan) (1)
CreateObject(4233,1202.90002441,-283.39999390,411.20001221,0.00000000,0.00000000,0.00000000); //object(roads05_lan) (2)
CreateObject(4152,1075.09997559,-283.20001221,411.20001221,0.00000000,0.00000000,90.00000000); //object(roads15_lan) (1)
CreateObject(4154,959.00000000,-271.79998779,411.50000000,0.00000000,0.50000000,0.00000000); //object(roads16_lan) (1)
CreateObject(2781,937.90002441,-321.10000610,407.70001221,0.00000000,0.00000000,0.00000000); //object(cj_air_ticket) (1)
CreateObject(4867,803.40002441,-276.79998779,411.79998779,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (1)
CreateObject(4867,604.50000000,-277.10000610,411.79998779,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (2)
CreateObject(4867,392.00000000,-277.09960938,411.79998779,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (5)
CreateObject(4867,180.89999390,-277.20001221,411.79998779,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (6)
CreateObject(16332,749.12011719,-271.03320312,436.26892090,0.00000000,0.00000000,0.00000000); //object(quarry_cranhook) (1)
CreateObject(5708,762.90002441,-341.60000610,422.20001221,0.00000000,0.00000000,90.00000000); //object(hospital_law) (1)
CreateObject(9950,633.89941406,-313.59960938,422.70001221,0.00000000,0.00000000,270.00000000); //object(pier2_sfe) (1)
CreateObject(1337,469.60000610,-139.00000000,431.50000000,0.00000000,0.00000000,0.00000000); //object(binnt07_la) (2)
CreateObject(2660,156.19999695,143.60000610,468.29998779,0.00000000,0.00000000,0.00000000); //object(cj_banner06) (1)
CreateObject(13592,518.09960938,-325.89941406,420.39999390,0.00000000,0.00000000,0.00000000); //object(loopbig) (1)
CreateObject(13592,491.09960938,-301.19921875,420.39999390,0.00000000,0.00000000,0.00000000); //object(loopbig) (2)
CreateObject(1633,560.20001221,-308.60000610,413.10000610,0.00000000,0.00000000,0.00000000); //object(landjump) (1)
CreateObject(1633,554.40002441,-308.29998779,413.10000610,0.00000000,0.00000000,0.00000000); //object(landjump) (2)
CreateObject(1337,529.73339844,-338.89062500,415.12188721,0.00000000,0.00000000,0.00000000); //object(binnt07_la) (1)
CreateObject(1633,155.89999390,143.10000610,467.29998779,0.00000000,0.00000000,0.00000000); //object(landjump) (3)
CreateObject(7944,446.39999390,-276.29998779,411.79998779,0.00000000,0.00000000,0.00000000); //object(burgershotneon02) (1)
CreateObject(6257,441.00000000,-328.10000610,419.60000610,0.00000000,0.00000000,90.00000000); //object(burger01_law) (1)
CreateObject(12920,380.79998779,-337.50000000,411.79998779,0.00000000,0.00000000,90.00000000); //object(sw_tempbarn02) (1)
CreateObject(14875,375.29998779,-313.00000000,412.60000610,0.00000000,0.00000000,0.00000000); //object(kylie_hay1) (1)
CreateObject(14873,379.29998779,-310.29998779,412.60000610,0.00000000,0.00000000,0.00000000); //object(kylie_hay) (1)
CreateObject(17000,361.50000000,-336.79998779,411.79998779,0.00000000,0.00000000,0.00000000); //object(wt6suppsxc) (1)
CreateObject(17061,347.00000000,-331.70001221,411.79998779,0.00000000,0.00000000,0.00000000); //object(cw_barnie) (1)
CreateObject(14875,360.70001221,-309.60000610,412.60000610,0.00000000,0.00000000,0.00000000); //object(kylie_hay1) (2)
CreateObject(14875,363.70001221,-306.00000000,412.60000610,0.00000000,0.00000000,0.00000000); //object(kylie_hay1) (3)
CreateObject(10832,140.60000610,137.00000000,465.10000610,0.00000000,0.00000000,0.00000000); //object(gatehouse2_sfse) (1)
CreateObject(13623,249.10000610,-320.89999390,425.39999390,0.00000000,0.00000000,0.00000000); //object(midringfence) (1)
CreateObject(5076,303.89999390,-296.60000610,413.70001221,0.00000000,0.00000000,0.00000000); //object(sjmctfnce7_las) (1)
CreateObject(5077,274.00000000,-319.79998779,414.10000610,0.00000000,0.00000000,0.00000000); //object(sjmctfnce8_las) (1)
CreateObject(748,185.89999390,-205.00000000,412.60000610,0.00000000,0.00000000,0.00000000); //object(sm_scrb_grp1) (1)
CreateObject(880,199.69999695,-202.80000305,414.39999390,0.00000000,0.00000000,0.00000000); //object(p_rubble0bcol) (1)
CreateObject(750,175.10000610,-207.00000000,411.79998779,0.00000000,0.00000000,0.00000000); //object(sm_scrb_column2) (1)
CreateObject(646,191.50000000,-205.50000000,413.20001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (1)
CreateObject(616,157.10000610,-233.60000610,411.79998779,0.00000000,0.00000000,0.00000000); //object(veg_treea1) (1)
CreateObject(629,203.30000305,-197.80000305,411.79998779,0.00000000,0.00000000,0.00000000); //object(veg_palmkb5) (1)
CreateObject(629,172.69999695,-228.30000305,411.79998779,0.00000000,0.00000000,0.00000000); //object(veg_palmkb5) (2)
CreateObject(655,176.80000305,-227.19999695,411.79998779,0.00000000,0.00000000,0.00000000); //object(pinetree06) (1)
CreateObject(671,184.50000000,-231.00000000,411.79998779,0.00000000,0.00000000,0.00000000); //object(sm_bushytree) (1)
CreateObject(691,191.89999390,-226.19999695,411.79998779,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree4_big) (1)
CreateObject(715,198.69999695,-223.69999695,423.20001221,0.00000000,0.00000000,0.00000000); //object(veg_bevtree3) (1)
CreateObject(726,208.39999390,-225.60000610,411.79998779,0.00000000,0.00000000,0.00000000); //object(tree_hipoly19) (1)
CreateObject(732,213.00000000,-223.39999390,411.79998779,0.00000000,0.00000000,0.00000000); //object(tree_hipoly10) (1)
CreateObject(763,164.30000305,-227.19999695,411.79998779,0.00000000,0.00000000,0.00000000); //object(ash1_hi) (1)
CreateObject(779,162.39999390,-218.39999390,411.79998779,0.00000000,0.00000000,0.00000000); //object(pinebg_hism) (1)
CreateObject(886,211.19999695,-214.50000000,411.79998779,0.00000000,0.00000000,0.00000000); //object(elmtreegrn_po) (1)
CreateObject(3507,200.19999695,-215.30000305,411.79998779,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_g01) (1)
CreateObject(3517,192.30000305,-202.50000000,423.00000000,0.00000000,0.00000000,0.00000000); //object(ceasertree02_lvs) (1)
CreateObject(616,178.50000000,-210.00000000,411.79998779,0.00000000,0.00000000,0.00000000); //object(veg_treea1) (2)
CreateObject(645,182.39999390,-210.50000000,411.79998779,0.00000000,0.00000000,0.00000000); //object(veg_palmbig14) (1)
CreateObject(671,205.39999390,-214.19999695,411.79998779,0.00000000,0.00000000,0.00000000); //object(sm_bushytree) (2)
CreateObject(688,216.60000610,-203.10000610,411.79998779,0.00000000,0.00000000,0.00000000); //object(sm_fir_scabg) (1)
CreateObject(705,228.19999695,-192.60000610,411.79998779,0.00000000,0.00000000,0.00000000); //object(sm_veg_tree7vbig) (1)
CreateObject(718,226.80000305,-208.60000610,411.79998779,0.00000000,0.00000000,0.00000000); //object(vgs_palm04) (1)
CreateObject(729,232.50000000,-216.69999695,411.79998779,0.00000000,0.00000000,0.00000000); //object(tree_hipoly07) (1)
CreateObject(765,261.50000000,-224.10000610,411.79998779,0.00000000,0.00000000,0.00000000); //object(cedar2_hi) (1)
CreateObject(776,228.80000305,-226.80000305,411.79998779,0.00000000,0.00000000,0.00000000); //object(hazelweetree_hi) (1)
CreateObject(792,229.89999390,-199.30000305,411.79998779,0.00000000,0.00000000,0.00000000); //object(aw_streettree1) (1)
CreateObject(891,233.39999390,-234.19999695,411.79998779,0.00000000,0.00000000,0.00000000); //object(elmdead_po) (1)
CreateObject(3511,236.89999390,-242.69999695,411.79998779,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_b01) (1)
CreateObject(18268,212.39999390,-226.80000305,421.50000000,0.00000000,0.00000000,0.00000000); //object(cw2_mntfir05) (1)
CreateObject(615,215.19999695,-237.50000000,411.79998779,0.00000000,0.00000000,0.00000000); //object(veg_tree3) (1)
CreateObject(1337,157.86523438,-230.45214844,404.96624756,0.00000000,0.00000000,0.00000000); //object(binnt07_la) (6)
CreateObject(624,152.10000610,130.39999390,467.10000610,0.00000000,0.00000000,0.00000000); //object(veg_palwee02) (1)
CreateObject(4867,-29.00000000,-277.10000610,411.79998779,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (3)
CreateObject(4867,-238.50000000,-277.10000610,411.79998779,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (4)
CreateObject(4867,-437.39999390,-277.20001221,447.79998779,0.00000000,20.00000000,0.00000000); //object(lasrnway3_las) (7)
CreateObject(4867,-642.50000000,-277.10000610,484.29998779,0.00000000,0.00000000,0.00000000); //object(lasrnway3_las) (9)
CreateObject(4146,1442.50000000,-294.70001221,395.79998779,0.00000000,0.00000000,0.00000000); //object(roads12_lan) (1)
CreateObject(4867,-841.09997559,-277.10000610,431.39999390,0.00000000,330.04998779,0.00000000); //object(lasrnway3_las) (11)
CreateObject(4867,-1023.50000000,-277.20001221,344.89999390,0.00000000,339.00000000,0.00000000); //object(lasrnway3_las) (12)
CreateObject(4867,-1213.69995117,-277.10000610,271.79998779,0.00000000,339.00000000,0.00000000); //object(lasrnway3_las) (13)
CreateObject(4867,-1411.30004883,-276.89999390,197.69999695,0.00000000,340.00000000,0.00000000); //object(lasrnway3_las) (14)
CreateObject(4867,-1608.80004883,-277.00000000,125.55000305,0.00000000,340.00000000,0.00000000); //object(lasrnway3_las) (15)
CreateObject(4867,-1802.59997559,-277.00000000,54.79999924,0.00000000,340.00000000,0.00000000); //object(lasrnway3_las) (16)
// SPECIAL
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/trains.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/pilots.txt");
// LAS VENTURAS
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/lv_law.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/lv_airport.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/lv_gen.txt");
// SAN FIERRO
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/sf_law.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/sf_airport.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/sf_gen.txt");
// LOS SANTOS
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_law.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_airport.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_gen_inner.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/ls_gen_outer.txt");
// OTHER AREAS
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/whetstone.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/bone.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/flint.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/tierra.txt");
total_vehicles_from_files += LoadStaticVehiclesFromFile("vehicles/red_county.txt");
printf("Total vehicles from files: %d",total_vehicles_from_files);
return 1;
}
//----------------------------------------------------------
public OnPlayerUpdate(playerid)
{
if(!IsPlayerConnected(playerid)) return 0;
if(IsPlayerNPC(playerid)) return 1;
// changing cities by inputs
if( !gPlayerHasCitySelected[playerid] &&
GetPlayerState(playerid) == PLAYER_STATE_SPECTATING ) {
ClassSel_HandleCitySelection(playerid);
return 1;
}
// No weapons in interiors
if(GetPlayerInterior(playerid) != 0 && GetPlayerWeapon(playerid) != 0) {
SetPlayerArmedWeapon(playerid,0); // fists
return 0; // no syncing until they change their weapon
}
// Don't allow minigun
if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN) {
Kick(playerid);
return 0;
}
/* No jetpacks allowed
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) {
Kick(playerid);
return 0;
}*/
/* For testing animations
new msg[128+1];
new animlib[32+1];
new animname[32+1];
thisanimid = GetPlayerAnimationIndex(playerid);
if(lastanimid != thisanimid)
{
GetAnimationName(thisanimid,animlib,32,animname,32);
format(msg, 128, "anim(%d,%d): %s %s", lastanimid, thisanimid, animlib, animname);
lastanimid = thisanimid;
SendClientMessage(playerid, 0xFFFFFFFF, msg);
}*/
return 1;
}
//----------------------------------------------------------
public OnPlayerDisconnect(playerid, reason)
{
SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
new leaveMsg[128], name[MAX_PLAYER_NAME], reasonMsg[8];
switch(reason)
{
case 0: reasonMsg = "Timeout";
case 1: reasonMsg = "Leaving";
case 2: reasonMsg = "Kicked";
}
GetPlayerName(playerid, name, sizeof(name));
format(leaveMsg, sizeof(leaveMsg), "02[%d] 03*** %s has left the server. (%s)", playerid, name, reasonMsg);
IRC_GroupSay(groupID, IRC_CHANNEL, leaveMsg);
zoneupdates[playerid] = 0;
player_zone[playerid] = -1;
return 1;
}
//----------------------------------------------------------
enum
{
E_STREAMER_ATTACHED_OBJECT,
E_STREAMER_ATTACHED_PLAYER,
E_STREAMER_ATTACHED_VEHICLE,
E_STREAMER_ATTACH_OFFSET_X,
E_STREAMER_ATTACH_OFFSET_Y,
E_STREAMER_ATTACH_OFFSET_Z,
E_STREAMER_ATTACH_R_X,
E_STREAMER_ATTACH_R_Y,
E_STREAMER_ATTACH_R_Z,
E_STREAMER_ATTACH_X,
E_STREAMER_ATTACH_Y,
E_STREAMER_ATTACH_Z,
E_STREAMER_COLOR,
E_STREAMER_DRAW_DISTANCE,
E_STREAMER_EXTRA_ID,
E_STREAMER_INTERIOR_ID,
E_STREAMER_MAX_X,
E_STREAMER_MAX_Y,
E_STREAMER_MAX_Z,
E_STREAMER_MIN_X,
E_STREAMER_MIN_Y,
E_STREAMER_MIN_Z,
E_STREAMER_MODEL_ID,
E_STREAMER_MOVE_R_X,
E_STREAMER_MOVE_R_Y,
E_STREAMER_MOVE_R_Z,
E_STREAMER_MOVE_SPEED,
E_STREAMER_MOVE_X,
E_STREAMER_MOVE_Y,
E_STREAMER_MOVE_Z,
E_STREAMER_NEXT_X,
E_STREAMER_NEXT_Y,
E_STREAMER_NEXT_Z,
E_STREAMER_PLAYER_ID,
E_STREAMER_R_X,
E_STREAMER_R_Y,
E_STREAMER_R_Z,
E_STREAMER_SIZE,
E_STREAMER_STREAM_DISTANCE,
E_STREAMER_STYLE,
E_STREAMER_TEST_LOS,
E_STREAMER_TYPE,
E_STREAMER_WORLD_ID,
E_STREAMER_X,
E_STREAMER_Y,
E_STREAMER_Z
}
//--------------------------------------------------
//new last_weather_update=0;
public UpdateTimeAndWeather()
{
// Update time
gettime(hour, minute);
format(timestr,32,"%02d:%02d",hour,minute);
TextDrawSetString(txtTimeDisp,timestr);
SetWorldTime(hour);
new x=0;
while(x!=MAX_PLAYERS) {
if(IsPlayerConnected(x) && GetPlayerState(x) != PLAYER_STATE_NONE) {
SetPlayerTime(x,hour,minute);
}
x++;
}
/* Update weather every hour
if(last_weather_update == 0) {
UpdateWorldWeather();
}
last_weather_update++;
if(last_weather_update == 60) {
last_weather_update = 0;
}*/
}
//--------------------------------------------------
CMD:healme(playerid, params[])
{
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid, 0xFFFFFFFF, "Julius95Bot: You have successfully healed yourself!");
SendClientMessage(playerid, 0xFFFFFFFF, "Julius95Bot: Don't abuse this command for example during fights or you may get kicked and banned!");
return 1;
}
CMD:fix(playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "SpyBot: You are not in a vehicle!");
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid, 0xFFFFFFFF, "SpyBot: Your vehicle has been successfully repaired!");
return 1;
}
CMD:flip(playerid, params[])
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "AdrenalineBot: You are not in a vehicle!");
new currentveh;
new Float:angle;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh, angle);
SetVehicleZAngle(currentveh, angle);
SendClientMessage(playerid, 0xFFFFFFFF, "AdrenalineBot: Your vehicle has been successfully flipped!");
return 1;
}
new fixtimer[MAX_PLAYERS],bool:actived[MAX_PLAYERS];
CMD:autofix(playerid)
{
if(actived[playerid]) return SendClientMessage(playerid,-1,"TestBot: You have disabled autofix!"),KillTimer(fixtimer[playerid]),actived[playerid] = false;
fixtimer[playerid] = SetTimerEx("fixt",1000,true,"i",playerid);
actived[playerid] = true;
SendClientMessage(playerid,-1,"TestBot: You have enabled autofix! Don't abuse this command.");
return 1;
}
forward fixt(playerid);
public fixt(playerid)
{
if(!IsPlayerInAnyVehicle(playerid)) return 0;
RepairVehicle(GetPlayerVehicleID(playerid));
return 1;
}
new lastpm[MAX_PLAYERS][128];
CMD:pm(playerid, params[]) {
new id, message[1024];
if(sscanf(params,"ds[1024]",id,message))return SendClientMessage(playerid, COLOR_RED, "USAGE: /pm <playerid> <message>");
if (!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_RED, "ERROR: Player is not connected.");
if(playerid != id) {
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
new ReturnName[MAX_PLAYER_NAME];
GetPlayerName(id, ReturnName, sizeof(ReturnName));
format(szString,sizeof(szString), ">> PM To %s (ID:%d): %s", ReturnName, id, message);
SendClientMessage(playerid, 0xFFCC2299, szString);
format(szString,sizeof(szString),"<< PM From %s (ID:%d): %s",PlayerName, playerid, message);
SendClientMessage(id, 0xFFFF22AA, szString);
PlayerPlaySound(id, 1085, 0.0, 0.0, 0.0);
format(szString, sizeof(szString), "5*** [PM] From %s (ID:%d) To %s (ID:%d): %s",PlayerName,playerid,ReturnName,id,message);
IRC_GroupSay(gGroupID, IRC_CHANNEL2, szString);
}
else {
SendClientMessage(playerid, COLOR_RED, "ERROR: You cannot PM yourself");
}
return 1;
}
CMD:paint(playerid, params[]) {
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
new car1,car2;
if(IsPlayerInAnyVehicle(playerid)) {
if(sscanf(params, "dd",car1,car2))
return SendClientMessage(playerid, COLOR_RED,"USAGE: /paint number number");
ChangeVehicleColor(GetPlayerVehicleID(playerid), car1,car2);
format(szString, sizeof(szString), "WinampBot: You have changed your car colors to /paint %d %d", car1, car2);
SendClientMessage(playerid, COLOR_YELLOW, szString);
format(szString, sizeof(szString), "WinampBot: [CAR] %s (ID:%d) changed their color to /paint %d %d", PlayerName, playerid, car1, car2);
IRC_GroupSay(gGroupID, IRC_CHANNEL2, szString);
}
else {
SendClientMessage(playerid, COLOR_RED, "ERROR: You're not in any Vehicle!");
}
return 1;
}
CMD:lock(playerid, params[]) {
if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "ERROR: You must be in a vehicle to use this command!");
if (GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, COLOR_RED, "ERROR: You must be the driver of a vehicle to use this command");
new vID = GetPlayerVehicleID(playerid);
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
loop(i, MAX_PLAYERS) {
if (IsPlayerConnected(i) && i != playerid) {
SetVehicleParamsForPlayer(vID, i, 0, 1);
}
}
SetVehicleParamsForPlayer(vID, playerid, 0, 0);
SendClientMessage(playerid, COLOR_GREEN, "HelpBot: Your vehicle is now locked.");
format(szString, sizeof(szString), "HelpBot: [LOCK] %s (ID:%d) locked his vehicle.", PlayerName, playerid);
IRC_GroupSay(gGroupID, IRC_CHANNEL2, szString);
return 1;
}
CMD:unlock(playerid, params[]) {
if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "ERROR: You must be in a vehicle to use this command!");
if (GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, COLOR_RED, "ERROR: You must be the driver of a vehicle to use this command");
new vID = GetPlayerVehicleID(playerid);
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
loop(i, MAX_PLAYERS) {
if (IsPlayerConnected(i)) {
SetVehicleParamsForPlayer(vID, i, 0, 0);
}
}
SetVehicleParamsForPlayer(vID, playerid, 0, 0);
SendClientMessage(playerid, COLOR_GREEN, "Julius95Bot: Your vehicle is now unlocked.");
format(szString, sizeof(szString), "Julius95Bot: [UNLOCK] %s (ID:%d) has unlocked his vehicle.", PlayerName, playerid);
IRC_GroupSay(gGroupID, IRC_CHANNEL2, szString);
return 1;
}
CMD:spray(playerid, params[]) {
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
if(IsPlayerInAnyVehicle(playerid) == 1) {
new vID = GetPlayerVehicleID(playerid);
SetVehiclePos(vID, -1905.0388,267.0628,40.7519);
SetVehicleZAngle(vID, 360.0000);
PutPlayerInVehicle(playerid, vID, 0);
format(szString, sizeof(szString), "* (/spray) %s (ID:%d) has teleported to the Pay 'N Spray.", PlayerName, playerid);
SendClientMessageToAll(0x6B96EFFF, szString);
format(szString, sizeof(szString), "TestBot: [TELEPORT] (/spray) %s (ID:%d) has teleported to the Pay 'N Spray.", PlayerName, playerid);
IRC_GroupSay(gGroupID, IRC_CHANNEL2, szString);
}
else {
SetPlayerPos(playerid, -1905.0388,267.0628,40.7519);
SetPlayerFacingAngle(playerid, 360.0000);
format(szString, sizeof(szString), "* (/spray) %s (ID:%d) has teleported to the Pay 'N Spray.", PlayerName, playerid);
SendClientMessageToAll(0x6B96EFFF, szString);
format(szString, sizeof(szString), "TestBot: [TELEPORT] (/spray) %s (ID:%d) has teleported to the Pay 'N Spray.", PlayerName, playerid);
IRC_GroupSay(gGroupID, IRC_CHANNEL2, szString);
return 1;
}
}
CMD:getid(playerid, params[]) {
if(sscanf(params, "s[35]",params)) return SendClientMessage(playerid, COLOR_RED, "USAGE:/getid <partofname>");
new matches;
format(szString, sizeof(szString), "Matches:");
loop(i, MAX_PLAYERS) {
if (IsPlayerConnected(i)) {
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(i, PlayerName, sizeof(PlayerName));
if (!strfind(PlayerName, params, true)) {
matches++;
format(szString, sizeof(szString), "%s %s(%d)", szString, PlayerName, i);
}
}
}
if (matches == 0) {
SendClientMessage(playerid, COLOR_RED, "ERROR: No matches found");
}
else {
SendClientMessage(playerid, COLOR_GREEN, szString);
}
return 1;
}
//--------------------------------------------------
public IRC_OnConnect(botid, ip[], port)
{
printf("*** IRC_OnConnect: Bot ID %d connected to %s:%d", botid, ip, port);
// Join the channel
IRC_JoinChannel(botid, IRC_CHANNEL);
// Add the bot to the group
IRC_AddToGroup(groupID, botid);
new str[60];
format(str, 60, "nickserv identify %s", IRC_PASSWORD);
IRC_SendRaw(botid, str);
return 1;
}
/*
This callback is executed whenever a current connection is closed. The
plugin may automatically attempt to reconnect per user settings. IRC_Quit
may be called at any time to stop the reconnection process.
*/
public IRC_OnDisconnect(botid, ip[], port, reason[])
{
printf("*** IRC_OnDisconnect: Bot ID %d disconnected from %s:%d (%s)", botid, ip, port, reason);
// Remove the bot from the group
IRC_RemoveFromGroup(groupID, botid);
return 1;
}
/*
This callback is executed whenever a connection attempt begins. IRC_Quit may
be called at any time to stop the reconnection process.
*/
public IRC_OnConnectAttempt(botid, ip[], port)
{
printf("*** IRC_OnConnectAttempt: Bot ID %d attempting to connect to %s:%d...", botid, ip, port);
return 1;
}
/*
This callback is executed whenever a connection attempt fails. IRC_Quit may
be called at any time to stop the reconnection process.
*/
public IRC_OnConnectAttemptFail(botid, ip[], port, reason[])
{
printf("*** IRC_OnConnectAttemptFail: Bot ID %d failed to connect to %s:%d (%s)", botid, ip, port, reason);
return 1;
}
/*
This callback is executed whenever a bot joins a channel.
*/
public IRC_OnJoinChannel(botid, channel[])
{
printf("*** IRC_OnJoinChannel: Bot ID %d joined channel %s", botid, channel);
return 1;
}
/*
This callback is executed whenevever a bot leaves a channel.
*/
public IRC_OnLeaveChannel(botid, channel[], message[])
{
printf("*** IRC_OnLeaveChannel: Bot ID %d left channel %s (%s)", botid, channel, message);
return 1;
}
/*
This callback is executed whenevever a bot is invited to a channel.
*/
public IRC_OnInvitedToChannel(botid, channel[], invitinguser[], invitinghost[])
{
printf("*** IRC_OnInvitedToChannel: Bot ID %d invited to channel %s by %s (%s)", botid, channel, invitinguser, invitinghost);
IRC_JoinChannel(botid, channel);
return 1;
}
/*
This callback is executed whenevever a bot is kicked from a channel. If the
bot cannot immediately rejoin the channel (in the event, for example, that
the bot is kicked and then banned), you might want to set up a timer here
for rejoin attempts.
*/
public IRC_OnKickedFromChannel(botid, channel[], oppeduser[], oppedhost[], message[])
{
printf("*** IRC_OnKickedFromChannel: Bot ID %d kicked by %s (%s) from channel %s (%s)", botid, oppeduser, oppedhost, channel, message);
IRC_JoinChannel(botid, channel);
return 1;
}
public IRC_OnUserDisconnect(botid, user[], host[], message[])
{
printf("*** IRC_OnUserDisconnect (Bot ID %d): User %s (%s) disconnected (%s)", botid, user, host, message);
return 1;
}
public IRC_OnUserJoinChannel(botid, channel[], user[], host[])
{
printf("*** IRC_OnUserJoinChannel (Bot ID %d): User %s (%s) joined channel %s", botid, user, host, channel);
return 1;
}
public IRC_OnUserLeaveChannel(botid, channel[], user[], host[], message[])
{
printf("*** IRC_OnUserLeaveChannel (Bot ID %d): User %s (%s) left channel %s (%s)", botid, user, host, channel, message);
return 1;
}
public IRC_OnUserKickedFromChannel(botid, channel[], kickeduser[], oppeduser[], oppedhost[], message[])
{
printf("*** IRC_OnUserKickedFromChannel (Bot ID %d): User %s kicked by %s (%s) from channel %s (%s)", botid, kickeduser, oppeduser, oppedhost, channel, message);
}
public IRC_OnUserNickChange(botid, oldnick[], newnick[], host[])
{
printf("*** IRC_OnUserNickChange (Bot ID %d): User %s (%s) changed his/her nick to %s", botid, oldnick, host, newnick);
return 1;
}
public IRC_OnUserSetChannelMode(botid, channel[], user[], host[], mode[])
{
printf("*** IRC_OnUserSetChannelMode (Bot ID %d): User %s (%s) on %s set mode: %s", botid, user, host, channel, mode);
return 1;
}
public IRC_OnUserSetChannelTopic(botid, channel[], user[], host[], topic[])
{
printf("*** IRC_OnUserSetChannelTopic (Bot ID %d): User %s (%s) on %s set topic: %s", botid, user, host, channel, topic);
return 1;
}
public IRC_OnUserSay(botid, recipient[], user[], host[], message[])
{
printf("*** IRC_OnUserSay (Bot ID %d): User %s (%s) sent message to %s: %s", botid, user, host, recipient, message);
// Someone sent the first bot a private message
if (!strcmp(recipient, BOT_1_NICKNAME))
{
IRC_Say(botid, user, "You sent me a PM!");
}
return 1;
}
public IRC_OnUserNotice(botid, recipient[], user[], host[], message[])
{
printf("*** IRC_OnUserNotice (Bot ID %d): User %s (%s) sent notice to %s: %s", botid, user, host, recipient, message);
// Someone sent the second bot a notice (probably a network service)
if (!strcmp(recipient, BOT_1_NICKNAME))
{
IRC_Notice(botid, user, "You sent me a notice!");
}
return 1;
}
public IRC_OnUserRequestCTCP(botid, user[], host[], message[])
{
printf("*** IRC_OnUserRequestCTCP (Bot ID %d): User %s (%s) sent CTCP request: %s", botid, user, host, message);
// Someone sent a CTCP VERSION request
if (!strcmp(message, "VERSION"))
{
IRC_ReplyCTCP(botid, user, "VERSION SA-MP IRC Plugin v" #PLUGIN_VERSION "");
}
return 1;
}
public IRC_OnUserReplyCTCP(botid, user[], host[], message[])
{
printf("*** IRC_OnUserReplyCTCP (Bot ID %d): User %s (%s) sent CTCP reply: %s", botid, user, host, message);
return 1;
}
/*
This callback is useful for logging, debugging, or catching error messages
sent by the IRC server.
*/
public IRC_OnReceiveRaw(botid, message[])
{
new File:file;
if (!fexist("irc_log.txt"))
{
file = fopen("irc_log.txt", io_write);
}
else
{
file = fopen("irc_log.txt", io_append);
}
if (file)
{
fwrite(file, message);
fwrite(file, "\r\n");
fclose(file);
}
return 1;
}
/*
Some examples of channel commands are here. You can add more very easily;
their implementation is identical to that of ZeeX's zcmd.
*/
IRCCMD:say(botid, channel[], user[], host[], params[])
{
// Check if the user has at least voice in the channel
if (IRC_IsVoice(botid, channel, user))
{
// Check if the user entered any text
if (!isnull(params))
{
new msg[128];
// Echo the formatted message
format(msg, sizeof(msg), "02* %s on irc: %s", user, params);
IRC_GroupSay(groupID, channel, msg);
format(msg, sizeof(msg), "* %s on irc: %s", user, params);
SendClientMessageToAll(0xFFBB7777, msg);
}
}
return 1;
}
IRCCMD:kick(botid, channel[], user[], host[], params[])
{
// Check if the user is at least a halfop in the channel
if (IRC_IsHalfop(botid, channel, user))
{
new playerid, reason[64];
// Check if the user at least entered a player ID
if (sscanf(params, "dS(No reason)[64]", playerid, reason))
{
return 1;
}
// Check if the player is connected
if (IsPlayerConnected(playerid))
{
// Echo the formatted message
new msg[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(msg, sizeof(msg), "02*** %s has been kicked by %s on IRC. (%s)", name, user, reason);
IRC_GroupSay(groupID, channel, msg);
format(msg, sizeof(msg), "*** %s has been kicked by %s on IRC. (%s)", name, user, reason);
SendClientMessageToAll(0x0000FFFF, msg);
// Kick the player
Kick(playerid);
}
}
return 1;
}
IRCCMD:ban(botid, channel[], user[], host[], params[])
{
// Check if the user is at least an op in the channel
if (IRC_IsOp(botid, channel, user))
{
new playerid, reason[64];
// Check if the user at least entered a player ID
if (sscanf(params, "dS(No reason)[64]", playerid, reason))
{
return 1;
}
// Check if the player is connected
if (IsPlayerConnected(playerid))
{
// Echo the formatted message
new msg[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(msg, sizeof(msg), "02*** %s has been banned by %s on IRC. (%s)", name, user, reason);
IRC_GroupSay(groupID, channel, msg);
format(msg, sizeof(msg), "*** %s has been banned by %s on IRC. (%s)", name, user, reason);
SendClientMessageToAll(0x0000FFFF, msg);
// Ban the player
BanEx(playerid, reason);
}
}
return 1;
}
IRCCMD:rcon(botid, channel[], user[], host[], params[])
{
// Check if the user is at least an op in the channel
if (IRC_IsOp(botid, channel, user))
{
// Check if the user entered any text
if (!isnull(params))
{
// Check if the user did not enter any invalid commands
if (strcmp(params, "exit", true) != 0 && strfind(params, "loadfs irc", true) == -1)
{
// Echo the formatted message
new msg[128];
format(msg, sizeof(msg), "RCON command %s has been executed.", params);
IRC_GroupSay(groupID, channel, msg);
// Send the command
SendRconCommand(params);
}
}
}
return 1;
}
//----------------------------------------------------------
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_FIRE)
{
new veh = GetPlayerVehicleID(playerid);
AddVehicleComponent(veh,1010);
return 1;
}
return 1;
}
//----------------------------------------------------------
public update_zones() {
new
line1[10],
line2[10];
for(new i=0; i<MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) && zoneupdates[i] == 1) {
if(IsPlayerInZone(i,player_zone[i])) {
}
else {
new
player_zone_before;
player_zone_before = player_zone[i];
player_zone[i] = -1;
for(new j=0; j<sizeof(zones);j++) {
if(IsPlayerInZone(i,j) && player_zone[i] == -1) {
if(player_zone_before == -1) GameTextForPlayer(i,zones[j][zone_name],1500,1);
else if(strcmp(zones[j][zone_name],zones[player_zone_before][zone_name],true) != 0) GameTextForPlayer(i,zones[j][zone_name],1500,1);
player_zone[i] = j;
format(line1,10,"p%dzone",i);
format(line2,10,"%d",j);
}
}
if(player_zone[i] == -1) player_zone[i] = player_zone_before;
}
}
}
}
IsPlayerInZone(playerid, zoneid) {
if(zoneid == -1) return 0;
new
Float:x,
Float:y,
Float:z;
GetPlayerPos(playerid,x,y,z);
if(x >= zones[zoneid][zone_minx] && x < zones[zoneid][zone_maxx]
&& y >= zones[zoneid][zone_miny] && y < zones[zoneid][zone_maxy]
&& z >= zones[zoneid][zone_minz] && z < zones[zoneid][zone_maxz]
&& z < 900.0) return 1;
return 0;
}
//----------------------------------------------------------
//----------------------------------------------------------
public OnPlayerText(playerid, text[])
{
new name[MAX_PLAYER_NAME], ircMsg[256];
GetPlayerName(playerid, name, sizeof(name));
format(ircMsg, sizeof(ircMsg), "02[%d] 07%s: %s", playerid, name, text);
IRC_GroupSay(groupID, IRC_CHANNEL, ircMsg);
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate) //checks when the player gets in a vehicle
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
VehicleModel[playerid] = GetVehicleModel(GetPlayerVehicleID(playerid));
ShowGameTextForPlayer(playerid);
return 1;
}
if(newstate != PLAYER_STATE_DRIVER && (oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)) KillTimer(CFCTimer); //kills timer that checks for left vehicle if player exits vehicle
return 1;
}
public CheckForChange(playerid) //Checks if the player has changed vehicles.
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) != VehicleModel[playerid]) //makes sure the new vehicle isn't the same as old vehicle
{
VehicleModel[playerid] = GetVehicleModel(GetPlayerVehicleID(playerid));
ShowGameTextForPlayer(playerid);
}
return 1;
}
public ShowGameTextForPlayer(playerid) //optimised code here :D
{
new string[32];
switch(GAMETEXT_COLOR) //sets the text's color
{
case 0: format(string,sizeof(string),"%s",VehicleNames[VehicleModel[playerid]-400]); //yellow
case 1: format(string,sizeof(string),"~b~%s",VehicleNames[VehicleModel[playerid]-400]); //blue
case 2: format(string,sizeof(string),"~g~%s",VehicleNames[VehicleModel[playerid]-400]); //green
case 3: format(string,sizeof(string),"~r~%s",VehicleNames[VehicleModel[playerid]-400]); //red
case 4: format(string,sizeof(string),"~p~%s",VehicleNames[VehicleModel[playerid]-400]); //purple
case 5: format(string,sizeof(string),"~w~%s",VehicleNames[VehicleModel[playerid]-400]); //white
case 6: format(string,sizeof(string),"%~|~s",VehicleNames[VehicleModel[playerid]-400]); //black
}
GameTextForPlayer(playerid,string,2000,1); //shows the text
CFCTimer = SetTimerEx("CheckForChange",1000,true,"i",playerid); //starts timer to check if player has changed vehicles
return 1;
}