Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- //#define FILTERSCRIPT
- #include <a_samp>
- #include <YSI\y_ini.inc>
- #include <ZCMD>
- #include <sscanf2>
- #define DIALOG_REGISTER 1
- #define DIALOG_LOGIN 2
- #define SERVER_NAME "Main Roleplay"
- #define PASSWORD_SALT "334t!t>D<QW**@!)#$>C_)_AAgddh"
- #define MAX_LOGIN_ATTEMPTS (3)
- #define MIN_PASSWORD_LENGTH (5)
- #define MAX_PASSWORD_LENGTH (45)
- #define COL_WHITE "{FFFFFF}"
- #define COL_LIGHTBLUE "{00CED1}"
- #define COLOR_PURPLE 0xC2A2DAAA
- #define COLOR_ORANGE "{FFA500}"
- #define COLOR_RED 0xFF0000AA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_CYAN 0x00FFFFFF
- #define COLOR_PDRAD 0x297CCFFF
- new Engine[MAX_VEHICLES];
- new Lights[MAX_VEHICLES];
- enum pInfo
- {
- pSqlid,
- pPass,
- pCash,
- pAdmin,
- pTester,
- pFaction,
- pLeader,
- pDeveloper,
- pKills,
- pDeaths,
- DT,
- DTT,
- ADT
- }
- enum fInfo
- {
- fLeader,
- fRank,
- fCar,
- fRanks,
- fGov,
- fDuty
- }
- enum aInfo
- {
- aDuty,
- aLevel
- }
- enum cInfo
- {
- cLocked,
- cOwner,
- cSpawned,
- cAlarm,
- cColor,
- cEngine,
- cLights
- }
- new PlayerInfo[MAX_PLAYERS][pInfo];
- new FactionInfo[MAX_PLAYERS][fInfo];
- new AdminInfo[MAX_PLAYERS][aInfo];
- new CarInfo[MAX_PLAYERS][cInfo];
- new incercari[MAX_PLAYERS];
- forward dttimer(playerid);
- forward recuperare(playerid);
- forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);
- forward OnPlayerHealthChange(playerid, Float:newhealth, Float:oldhealth);
- forward SendAdminMessage(playerid, color, const message[]);
- new Text:spawntextdraw;
- main()
- {
- print("\n----------------------------------");
- print(" MAIN ROLEPLAY NETWORK 0.1 [BETA] ");
- print("----------------------------------\n");
- }
- // GameTextForPlayer(playerid, "~w~EL QUEBRADOS NETWORK", -1, 5);
- public OnGameModeInit()
- {
- SetGameModeText("Main-RP 0.1[BETA]");
- spawntextdraw = TextDrawCreate(10.0, 240.0, "[BETA] Trebuie sa apesi pe 'Spawn' sa te spawnezi!");
- TextDrawFont(spawntextdraw, 2);
- TextDrawColor(spawntextdraw, 0xFFFFFFFF);
- DisableInteriorEnterExits();
- EnableStuntBonusForAll(0);
- DB::Init("database name", "server/host name", "username", "password");
- DB::VerifyTable("Utilizatori", "ID", false,
- "Nume", STRING,
- "Parola", STRING,
- "IP", STRING,
- "Kills", INTEGER,
- "Deaths", INTEGER,
- "Cash", INTEGER,
- "Developer", INTEGER,
- "Admin", INTEGER,
- "Tester", INTEGER,
- "Lider", STRING,
- "Rank", STRING,
- "Factiune", STRING,
- "Viata", FLOAT);
- new eqpdpickup[2];
- new eqmcpickup[2];
- new eqnpickup[2];
- new EQNCar[4];
- eqpdpickup[0] = CreatePickup(1318, 0, -1390.0115,2638.8416,55.9844, 0);
- eqpdpickup[1] = CreatePickup(1318, 0, 1866.3854,1217.4387,18.0986, 0);
- eqmcpickup[0] = CreatePickup(1318, 0, -1514.5566,2520.1011,55.9629, 0);
- eqmcpickup[1] = CreatePickup(1318, 0, 642.9769,-172.3768,1001.2758, 0);
- eqnpickup[0] = CreatePickup(1318, 0, -1531.0065,2591.9971,55.8359, 0);
- eqnpickup[1] = CreatePickup(1318, 0, 248.6405,1783.9126,701.0859, 0);
- EQNCar[0] = AddStaticVehicle(582,-1527.5380,2596.4988,55.6893,88.0537,0,1);
- EQNCar[1] = AddStaticVehicle(582,-1541.2740,2562.5396,55.6875,186.1279,0,1);
- EQNCar[2] = AddStaticVehicle(582,-1511.0759,2577.1753,55.8359,268.8721,0,1);
- EQNCar[3] = AddStaticVehicle(582,-1522.5198,2576.1138,55.8359,355.9796,0,1);
- new ParedeFBI[60];
- ParedeFBI[0] = CreateObject(19379, 1867.87085, 1216.01453, 15.39000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[1] = CreateObject(19379, 1877.41504, 1234.20728, 15.39000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[2] = CreateObject(19379, 1867.92920, 1224.55347, 15.39000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[3] = CreateObject(19379, 1872.67322, 1229.30823, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[4] = CreateObject(19379, 1882.15100, 1229.37219, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[5] = CreateObject(19379, 1877.35986, 1216.00464, 15.38996, 0.00000, 0.00000, 90.00000);
- ParedeFBI[6] = CreateObject(19379, 1905.25403, 1211.17017, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[7] = CreateObject(19379, 1882.80151, 1211.23279, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[8] = CreateObject(19379, 1890.07910, 1215.96021, 12.18633, 0.00000, 0.00000, 90.00000);
- ParedeFBI[9] = CreateObject(19379, 1885.61926, 1207.39709, 15.39000, 0.00000, 0.00000, 89.70443);
- ParedeFBI[10] = CreateObject(19379, 1890.34497, 1211.08118, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[11] = CreateObject(19379, 1890.40894, 1201.63440, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[12] = CreateObject(19379, 1905.23914, 1193.85034, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[13] = CreateObject(19379, 1905.23730, 1201.58154, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[14] = CreateObject(19379, 1923.96338, 1211.15698, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[15] = CreateObject(19379, 1923.97888, 1204.81824, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[16] = CreateObject(19379, 1890.39270, 1192.41382, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[17] = CreateObject(19379, 1883.74268, 1234.17847, 15.39000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[18] = CreateObject(19379, 1914.80811, 1211.20032, 15.39000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[19] = CreateObject(19445, 1922.77332, 1227.43896, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[20] = CreateObject(19445, 1922.78320, 1236.99939, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[21] = CreateObject(19445, 1919.43018, 1234.10657, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[22] = CreateObject(19445, 1927.53040, 1217.89636, 18.84000, 0.00000, 0.00000, 358.16553);
- ParedeFBI[23] = CreateObject(19445, 1891.60828, 1227.39014, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[24] = CreateObject(19445, 1900.62366, 1189.16174, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[25] = CreateObject(19445, 1892.74695, 1189.15796, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[26] = CreateObject(19445, 1901.10095, 1227.49780, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[27] = CreateObject(19445, 1901.09802, 1237.07764, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[28] = CreateObject(19445, 1901.11047, 1246.46460, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[29] = CreateObject(19445, 1888.52722, 1229.44592, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[30] = CreateObject(19445, 1895.13965, 1215.96338, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[31] = CreateObject(19445, 1896.34802, 1222.63281, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[32] = CreateObject(19445, 1912.28503, 1222.63147, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[33] = CreateObject(19445, 1914.56152, 1227.46021, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[34] = CreateObject(19445, 1905.90955, 1242.77271, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[35] = CreateObject(19445, 1910.70825, 1242.79211, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[36] = CreateObject(19445, 1914.54138, 1237.01660, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[37] = CreateObject(19445, 1914.52417, 1238.59814, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[38] = CreateObject(19445, 1910.04053, 1215.96289, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[39] = CreateObject(19445, 1925.87280, 1200.06787, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[40] = CreateObject(19445, 1910.02136, 1200.13293, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[41] = CreateObject(19445, 1925.81372, 1215.97241, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[42] = CreateObject(19445, 1925.10095, 1222.64856, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[43] = CreateObject(19383, 1918.68384, 1222.63965, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[44] = CreateObject(19383, 1914.82349, 1204.77966, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[45] = CreateObject(19353, 1914.81689, 1201.59753, 18.84000, 0.00000, 0.00000, 0.00000);
- ParedeFBI[46] = CreateObject(19383, 1905.89392, 1222.62427, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[47] = CreateObject(19353, 1902.69775, 1222.63416, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[48] = CreateObject(19383, 1886.90405, 1224.63806, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[49] = CreateObject(19383, 1903.72839, 1215.96167, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[50] = CreateObject(19383, 1883.76685, 1215.99316, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[51] = CreateObject(19383, 1886.29321, 1215.97241, 19.04100, 90.00000, 90.00000, 180.00000);
- ParedeFBI[52] = CreateObject(19383, 1889.51257, 1215.97437, 19.04100, 90.00000, -90.00000, 180.00000);
- ParedeFBI[53] = CreateObject(19353, 1919.49927, 1215.94507, 21.21926, 0.00000, 0.00000, 90.00000);
- ParedeFBI[54] = CreateObject(19353, 1919.56335, 1200.05481, 21.21926, 0.00000, 0.00000, 90.00000);
- ParedeFBI[55] = CreateObject(19353, 1916.42517, 1200.08240, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[56] = CreateObject(19353, 1916.45459, 1215.94702, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[57] = CreateObject(19353, 1890.08594, 1224.64685, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[58] = CreateObject(19353, 1901.29431, 1215.95703, 18.84000, 0.00000, 0.00000, 90.00000);
- ParedeFBI[59] = CreateObject(19353, 1883.70081, 1224.62878, 18.84000, 0.00000, 0.00000, 90.00000);
- for(new i = 0; i != 60; i++) SetObjectMaterial(ParedeFBI[i], 0, 3786, "missiles_sfs", "ws_greyfoam");
- new SofaFBI[16];
- SofaFBI[0] = CreateObject(11685, 1876.38293, 1227.68579, 17.11130, 0.00000, 0.00000, 90.00000);
- SofaFBI[1] = CreateObject(11685, 1879.73596, 1227.75891, 17.11130, 0.00000, 0.00000, 90.00000);
- SofaFBI[2] = CreateObject(11685, 1878.79358, 1227.75964, 17.11130, 0.00000, 0.00000, -90.00000);
- SofaFBI[3] = CreateObject(11685, 1879.74231, 1229.02026, 17.11130, 0.00000, 0.00000, 90.00000);
- SofaFBI[4] = CreateObject(11685, 1879.74512, 1230.32129, 17.11130, 0.00000, 0.00000, 90.00000);
- SofaFBI[5] = CreateObject(11685, 1879.74683, 1231.64063, 17.11130, 0.00000, 0.00000, 90.00000);
- SofaFBI[6] = CreateObject(11685, 1876.39343, 1229.00854, 17.11130, 0.00000, 0.00000, 90.00000);
- SofaFBI[7] = CreateObject(11685, 1878.79468, 1229.01782, 17.11130, 0.00000, 0.00000, -90.00000);
- SofaFBI[8] = CreateObject(11685, 1878.78931, 1230.31799, 17.11130, 0.00000, 0.00000, -90.00000);
- SofaFBI[9] = CreateObject(11685, 1878.78894, 1231.63794, 17.11130, 0.00000, 0.00000, -90.00000);
- SofaFBI[10] = CreateObject(11685, 1875.41809, 1227.66919, 17.11130, 0.00000, 0.00000, -90.00000);
- SofaFBI[11] = CreateObject(11685, 1876.39966, 1230.28906, 17.11130, 0.00000, 0.00000, 90.00000);
- SofaFBI[12] = CreateObject(11685, 1876.40967, 1231.61218, 17.11130, 0.00000, 0.00000, 90.00000);
- SofaFBI[13] = CreateObject(11685, 1875.41943, 1228.98914, 17.11130, 0.00000, 0.00000, -90.00000);
- SofaFBI[14] = CreateObject(11685, 1875.39929, 1230.27930, 17.11130, 0.00000, 0.00000, -90.00000);
- SofaFBI[15] = CreateObject(11685, 1875.40393, 1231.59900, 17.11130, 0.00000, 0.00000, -90.00000);
- for(new i = 0; i != 16; i++) SetObjectMaterial(SofaFBI[i], 0, 10765, "airportgnd_sfse", "white");
- new TapeteFBI[2];
- TapeteFBI[0] = CreateObject(19449, 1876.00903, 1231.30396, 17.02400, 0.00000, 90.00000, 0.00000);
- TapeteFBI[1] = CreateObject(19449, 1879.42957, 1231.29468, 17.02350, 0.00000, 90.00000, 0.00000);
- for(new i = 0; i != 2; i++) SetObjectMaterial(TapeteFBI[i],0, 18646, "matcolours", "grey-90-percent");
- new BalcaoFBI1 = CreateObject(19929, 1874.22778, 1219.36047, 20.93179, 180.00000, 0.00000, -90.00000);
- SetObjectMaterial(BalcaoFBI1, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI1, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI2 = CreateObject(19929, 1872.40393, 1217.55933, 20.94139, 180.00000, 0.00000, 0.00000);
- SetObjectMaterial(BalcaoFBI2, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI2, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI3 = CreateObject(19929, 1877.09888, 1219.35730, 17.08310, 0.00000, 0.00000, -90.00000);
- SetObjectMaterial(BalcaoFBI3, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI3, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI4 = CreateObject(19929, 1872.39587, 1217.52148, 17.08310, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(BalcaoFBI4, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI4, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI5 = CreateObject(19929, 1878.89941, 1217.49438, 20.94139, 180.00000, 0.00000, 0.00000);
- SetObjectMaterial(BalcaoFBI5, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI5, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI6 = CreateObject(19929, 1874.22778, 1219.36047, 17.08310, 0.00000, 0.00000, -90.00000);
- SetObjectMaterial(BalcaoFBI6, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI6, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI7 = CreateObject(19929, 1877.05103, 1219.35669, 20.93179, 180.00000, 0.00000, -90.00000);
- SetObjectMaterial(BalcaoFBI7, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI7, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI8 = CreateObject(19930, 1878.88086, 1218.33728, 17.08310, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(BalcaoFBI8, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI8, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI9 = CreateObject(19930, 1878.88013, 1217.20471, 17.08310, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(BalcaoFBI9, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI9, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI10 = CreateObject(19925, 1872.37805, 1219.37952, 20.94040, 180.00000, 0.00000, 0.00000);
- SetObjectMaterial(BalcaoFBI10, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI10, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI11 = CreateObject(19925, 1878.94727, 1219.35876, 17.08310, 0.00000, 0.00000, -180.00000);
- SetObjectMaterial(BalcaoFBI11, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI11, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI12 = CreateObject(19925, 1872.37805, 1219.37952, 17.08310, 0.00000, 0.00000, 270.81631);
- SetObjectMaterial(BalcaoFBI12, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI12, 1, 14385, "trailerkb", "tr_wood1");
- new BalcaoFBI13 = CreateObject(19925, 1878.91467, 1219.34558, 20.94040, 180.00000, 0.00000, -90.00000);
- SetObjectMaterial(BalcaoFBI13, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(BalcaoFBI13, 1, 14385, "trailerkb", "tr_wood1");
- new Zika[5];
- Zika[0] = CreateObject(1850, 1918.98547, 1228.51550, 17.08454, 0.00000, 0.00000, 0.00000);
- Zika[1] = CreateObject(1850, 1918.50000, 1229.26392, 17.08450, 0.00000, 0.00000, 180.00000);
- Zika[2] = CreateObject(2475, 1914.70593, 1225.25940, 17.15057, 0.00000, 0.00000, 90.00000);
- Zika[3] = CreateObject(2475, 1914.70422, 1228.62012, 17.15060, 0.00000, 0.00000, 90.00000);
- Zika[4] = CreateObject(2475, 1914.71106, 1232.13586, 17.15060, 0.00000, 0.00000, 90.00000);
- for(new i = 0; i != 5; i++) SetObjectMaterial(Zika[i],0, 19107, "armyhelmets", "armyhelmet4");
- new Tv1 = CreateObject(19786, 1882.18164, 1230.04956, 18.93669, 0.00000, 0.00000, 89.89799);
- SetObjectMaterial(Tv1, 0, 10765, "airportgnd_sfse", "black64");
- SetObjectMaterial(Tv1, 1, 19894, "laptopsamp1", "laptopscreen3");
- new Tv2 = CreateObject(19786, 1886.38452, 1207.42114, 19.00850, 0.00000, 0.00000, 180.00000);
- SetObjectMaterial(Tv2, 0, 10765, "airportgnd_sfse", "black64");
- SetObjectMaterial(Tv2, 1, 19894, "laptopsamp1", "laptopscreen3");
- new Tv3 = CreateObject(19786, 1872.67603, 1229.57971, 19.14500, 0.00000, 0.00000, 90.00000);
- SetObjectMaterial(Tv3, 0, 10765, "airportgnd_sfse", "black64");
- SetObjectMaterial(Tv3, 1, 19894, "laptopsamp1", "laptopscreen3");
- new Tv4 = CreateObject(19786, 1882.15100, 1229.76526, 19.14500, 0.00000, 0.00000, -90.00000);
- SetObjectMaterial(Tv4, 0, 10765, "airportgnd_sfse", "black64");
- SetObjectMaterial(Tv4, 1, 19894, "laptopsamp1", "laptopscreen3");
- new Porta1 = CreateObject(1502, 1902.94116, 1215.96106, 17.08752, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(Porta1, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(Porta1, 1, 14385, "trailerkb", "tr_wood1");
- new Porta2 = CreateObject(1502, 1886.14685, 1224.60791, 17.08737, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(Porta2, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(Porta2, 1, 14385, "trailerkb", "tr_wood1");
- new Porta3 = CreateObject(1502, 1882.98596, 1215.96497, 17.08737, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(Porta3, 0, 10765, "airportgnd_sfse", "white");
- SetObjectMaterial(Porta3, 1, 14385, "trailerkb", "tr_wood1");
- new Porta4 = CreateObject(1499, 1905.12061, 1222.59912, 17.08742, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(Porta4, 0, 19527, "cauldron1", "cauldron1");
- SetObjectMaterial(Porta4, 1, 19332, "balloon_texts", "balloon02");
- new Porta5 = CreateObject(1499, 1918.02979, 1215.93359, 17.08269, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(Porta5, 0, 19527, "cauldron1", "cauldron1");
- SetObjectMaterial(Porta5, 1, 19332, "balloon_texts", "balloon02");
- new Porta6 = CreateObject(1499, 1921.02917, 1215.95544, 17.08270, 0.00000, 0.00000, 179.99184);
- SetObjectMaterial(Porta6, 0, 19527, "cauldron1", "cauldron1");
- SetObjectMaterial(Porta6, 1, 19332, "balloon_texts", "balloon02");
- new Porta7 = CreateObject(1499, 1921.05261, 1200.04944, 17.08270, 0.00000, 0.00000, 180.00000);
- SetObjectMaterial(Porta7, 0, 19527, "cauldron1", "cauldron1");
- SetObjectMaterial(Porta7, 1, 19332, "balloon_texts", "balloon02");
- new Porta8 = CreateObject(1499, 1918.04736, 1200.05615, 17.08269, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(Porta8, 0, 19527, "cauldron1", "cauldron1");
- SetObjectMaterial(Porta8, 1, 19332, "balloon_texts", "balloon02");
- new Porta9 = CreateObject(1499, 1917.90076, 1222.61353, 17.08742, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(Porta9, 0, 19527, "cauldron1", "cauldron1");
- SetObjectMaterial(Porta9, 1, 19332, "balloon_texts", "balloon02");
- new ChaoFBI = CreateObject(19538, 1925.51208, 1220.35364, 17.09860, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(ChaoFBI, 0, 18646, "matcolours", "grey-80-percent");
- CreateObject(1569, 1864.95227, 1216.06262, 17.08530, 0.00000, 0.00000, 359.49591);
- CreateObject(1569, 1867.93665, 1216.08057, 17.08530, 0.00000, 0.00000, 180.03140);
- CreateObject(19089, 1864.30603, 1213.67615, 17.08546, 0.00000, 0.00000, 0.00000);
- CreateObject(19325, 1863.08789, 1216.91345, 18.77106, 0.00000, 0.00000, 0.00000);
- CreateObject(19325, 1863.09009, 1223.56885, 18.77106, 0.00000, 0.00000, 0.00000);
- CreateObject(19325, 1872.35522, 1216.09058, 20.51993, 0.00000, 0.00000, 0.00000);
- CreateObject(19325, 1875.67065, 1219.41614, 20.51990, 0.00000, 0.00000, 90.00000);
- CreateObject(19325, 1878.97412, 1216.09253, 20.51993, 0.00000, 0.00000, 0.00000);
- CreateObject(19325, 1888.46692, 1216.04260, 18.02666, 0.00000, 0.00000, 90.11427);
- CreateObject(1892, 1865.11060, 1216.44617, 17.08265, 0.00000, 0.00000, 0.00000);
- CreateObject(1892, 1866.68408, 1216.47205, 17.08265, 0.00000, 0.00000, 0.00000);
- CreateObject(16101, 1863.07629, 1220.21729, 17.10546, 0.00000, 0.00000, 0.00000);
- CreateObject(2451, 1898.45190, 1215.24341, 17.08486, 0.00000, 0.00000, 0.00000);
- CreateObject(2135, 1897.37878, 1215.40942, 17.08435, 0.00000, 0.00000, 0.00000);
- CreateObject(2137, 1896.26624, 1215.36182, 17.10862, 0.00000, 0.00000, 0.00000);
- CreateObject(2136, 1893.30090, 1215.38940, 17.08556, 0.00000, 0.00000, 0.00000);
- CreateObject(2137, 1895.27612, 1215.36804, 17.10862, 0.00000, 0.00000, 0.00000);
- CreateObject(2140, 1892.29907, 1215.44275, 17.08492, 0.00000, 0.00000, 0.00000);
- CreateObject(2140, 1891.31763, 1215.41565, 17.08492, 0.00000, 0.00000, 0.00000);
- CreateObject(2416, 1897.62732, 1212.56873, 17.08493, 0.00000, 0.00000, 0.00000);
- CreateObject(2416, 1892.30408, 1212.76990, 17.08493, 0.00000, 0.00000, 0.00000);
- CreateObject(2416, 1895.04150, 1212.65063, 17.08493, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1898.06567, 1210.64832, 17.08424, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1899.04248, 1210.64124, 17.08424, 0.00000, 0.00000, 0.00000);
- CreateObject(2442, 1900.42371, 1211.07385, 20.32700, 0.00000, 179.99451, 90.00000);
- CreateObject(2441, 1897.05981, 1210.64124, 17.08424, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1896.05994, 1210.63647, 17.08424, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1895.07471, 1210.63745, 17.08424, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1894.09314, 1210.64099, 17.08424, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1893.10901, 1210.63770, 17.08424, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1892.13037, 1210.64758, 17.08424, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1891.12988, 1210.65088, 17.08424, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1900.42468, 1212.00781, 17.08420, 0.00000, 0.00000, 90.00000);
- CreateObject(2441, 1900.43030, 1213.00000, 17.08420, 0.00000, 0.00000, 90.00000);
- CreateObject(2441, 1900.45605, 1215.41809, 20.33670, 0.00000, 179.99451, 90.00000);
- CreateObject(2441, 1900.43823, 1215.39612, 17.08420, 0.00000, 0.00000, 90.00000);
- CreateObject(19304, 1892.12268, 1210.61951, 19.16137, 0.00000, 0.00000, 0.00000);
- CreateObject(19304, 1895.58459, 1210.66382, 19.16137, 0.00000, 0.00000, 0.00000);
- CreateObject(19304, 1898.50208, 1210.68274, 19.16137, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1900.44824, 1214.43250, 20.33670, 0.00000, 179.99451, 90.00000);
- CreateObject(2441, 1900.43994, 1213.44263, 20.32700, 0.00000, 179.99451, 90.00000);
- CreateObject(2441, 1900.44104, 1212.44189, 20.32700, 0.00000, 179.99451, 90.00000);
- CreateObject(2441, 1900.42871, 1211.81238, 20.32700, 0.00000, 179.99451, 90.00000);
- CreateObject(2442, 1899.98364, 1210.64185, 17.08420, 0.00000, 0.00000, 0.00000);
- CreateObject(2441, 1899.02527, 1210.64099, 20.32700, 0.00000, 179.99451, 0.00000);
- CreateObject(19304, 1900.43652, 1212.48706, 19.16140, 0.00000, 0.00000, 90.00000);
- CreateObject(2441, 1900.42981, 1213.60095, 17.08420, 0.00000, 0.00000, 90.00000);
- CreateObject(2441, 1892.19495, 1210.66772, 20.32700, 0.00000, 179.99451, 0.00000);
- CreateObject(2441, 1898.04565, 1210.64172, 20.32700, 0.00000, 179.99451, 0.00000);
- CreateObject(2441, 1897.09448, 1210.65027, 20.32700, 0.00000, 179.99451, 0.00000);
- CreateObject(2441, 1896.10413, 1210.65405, 20.32700, 0.00000, 179.99451, 0.00000);
- CreateObject(2441, 1895.14783, 1210.65503, 20.32700, 0.00000, 179.99451, 0.00000);
- CreateObject(2441, 1894.17578, 1210.65588, 20.32700, 0.00000, 179.99451, 0.00000);
- CreateObject(2441, 1893.18835, 1210.65417, 20.32700, 0.00000, 179.99451, 0.00000);
- CreateObject(2441, 1891.19458, 1210.66223, 20.32700, 0.00000, 179.99451, 0.00000);
- CreateObject(19377, 1910.45996, 1195.38879, 20.65565, 0.00000, 90.00000, 0.00000);
- CreateObject(18059, 1893.95129, 1199.45996, 17.48060, 0.00000, 0.00000, 90.69699);
- CreateObject(2638, 1893.82153, 1200.83167, 17.68279, 0.00000, 0.00000, 0.00000);
- CreateObject(2638, 1893.72473, 1204.27393, 17.68279, 0.00000, 0.00000, 0.00000);
- CreateObject(2638, 1893.84155, 1197.80579, 17.68279, 0.00000, 0.00000, 0.00000);
- CreateObject(2638, 1893.83997, 1194.71814, 17.68279, 0.00000, 0.00000, 0.00000);
- CreateObject(2638, 1899.96777, 1194.47290, 17.68279, 0.00000, 0.00000, 0.00000);
- CreateObject(18059, 1899.92188, 1199.13403, 17.48060, 0.00000, 0.00000, 90.69699);
- CreateObject(2638, 1899.97290, 1197.65027, 17.68279, 0.00000, 0.00000, 0.00000);
- CreateObject(2638, 1899.94226, 1200.66516, 17.68279, 0.00000, 0.00000, 0.00000);
- CreateObject(2638, 1899.86072, 1204.06348, 17.68279, 0.00000, 0.00000, 0.00000);
- CreateObject(2639, 1899.76831, 1206.70923, 17.69020, 0.00000, 0.00000, 180.00000);
- CreateObject(2639, 1893.80530, 1206.83057, 17.69020, 0.00000, 0.00000, 180.00000);
- CreateObject(2639, 1900.12793, 1191.63330, 17.69020, 0.00000, 0.00000, 0.00000);
- CreateObject(2639, 1894.13525, 1191.97156, 17.69020, 0.00000, 0.00000, 0.00000);
- CreateObject(14791, 1904.84033, 1238.17603, 19.00775, 0.00000, 0.00000, 0.00000);
- CreateObject(2628, 1903.88342, 1226.61060, 17.07880, 0.00000, 0.00000, 40.00000);
- CreateObject(2628, 1903.71887, 1229.87939, 17.07880, 0.00000, 0.00000, 40.00000);
- CreateObject(2628, 1904.50439, 1232.57642, 17.07880, 0.00000, 0.00000, 40.00000);
- CreateObject(2630, 1906.11279, 1228.28259, 17.08393, 0.00000, 0.00000, 0.00000);
- CreateObject(2630, 1910.73608, 1227.65686, 17.08393, 0.00000, 0.00000, 0.00000);
- CreateObject(2630, 1908.44727, 1232.51685, 17.08393, 0.00000, 0.00000, 0.00000);
- CreateObject(2627, 1913.28418, 1224.22339, 17.08288, 0.00000, 0.00000, 0.00000);
- CreateObject(2627, 1911.72290, 1224.18884, 17.08288, 0.00000, 0.00000, 0.00000);
- CreateObject(2627, 1910.07739, 1224.22998, 17.08288, 0.00000, 0.00000, 0.00000);
- CreateObject(2627, 1908.33850, 1224.14465, 17.08288, 0.00000, 0.00000, 0.00000);
- CreateObject(14401, 1910.38501, 1237.57654, 17.38517, 0.00000, 0.00000, 0.00000);
- CreateObject(14782, 1914.08374, 1239.58179, 18.08879, 0.00000, 0.00000, -90.00000);
- CreateObject(14782, 1914.07251, 1232.87842, 18.08879, 0.00000, 0.00000, -90.00000);
- CreateObject(19414, 1909.52905, 1201.77112, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19414, 1909.53271, 1204.29089, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19414, 1909.51453, 1206.81140, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19414, 1909.50159, 1209.34924, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19414, 1909.49414, 1212.41016, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19368, 1909.55554, 1213.97461, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19368, 1909.52087, 1210.97754, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19368, 1909.51929, 1208.11438, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19368, 1909.57043, 1205.49414, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19368, 1909.40222, 1203.11975, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19435, 1909.42883, 1201.82629, 17.98891, 0.00000, 90.00000, 90.00000);
- CreateObject(19435, 1909.51038, 1204.97180, 17.98891, 0.00000, 90.00000, 90.00000);
- CreateObject(19435, 1909.50146, 1208.41602, 17.98891, 0.00000, 90.00000, 90.00000);
- CreateObject(19435, 1909.49402, 1211.87793, 17.98891, 0.00000, 90.00000, 90.00000);
- CreateObject(19435, 1909.50488, 1212.29688, 17.98891, 0.00000, 90.00000, 90.00000);
- CreateObject(19466, 1909.48767, 1201.89539, 19.02531, 0.00000, 0.00000, 0.00000);
- CreateObject(19466, 1909.52820, 1204.17822, 19.02531, 0.00000, 0.00000, 0.00000);
- CreateObject(19466, 1909.56128, 1206.65991, 19.02531, 0.00000, 0.00000, 0.00000);
- CreateObject(19466, 1909.52893, 1209.37988, 19.02531, 0.00000, 0.00000, 0.00000);
- CreateObject(19466, 1909.51208, 1212.30261, 19.02531, 0.00000, 0.00000, 0.00000);
- CreateObject(1811, 1911.22339, 1212.50000, 17.69066, 0.00000, 0.00000, 0.00000);
- CreateObject(1811, 1911.23535, 1209.33972, 17.69066, 0.00000, 0.00000, 0.00000);
- CreateObject(1811, 1911.29456, 1206.87744, 17.69066, 0.00000, 0.00000, 0.00000);
- CreateObject(1811, 1911.24939, 1204.33618, 17.69066, 0.00000, 0.00000, 0.00000);
- CreateObject(1811, 1911.24585, 1201.47620, 17.69066, 0.00000, 0.00000, 0.00000);
- CreateObject(1811, 1908.11047, 1201.50598, 17.69070, 0.00000, 0.00000, 180.00000);
- CreateObject(1811, 1908.05981, 1204.28601, 17.69070, 0.00000, 0.00000, 180.00000);
- CreateObject(1811, 1908.14673, 1206.78638, 17.69070, 0.00000, 0.00000, 180.00000);
- CreateObject(1811, 1908.17432, 1209.52637, 17.69070, 0.00000, 0.00000, 180.00000);
- CreateObject(1811, 1908.16211, 1212.50708, 17.69070, 0.00000, 0.00000, 180.00000);
- CreateObject(19395, 1914.81030, 1198.35242, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19459, 1910.01965, 1199.98206, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19459, 1910.04871, 1196.81238, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19459, 1905.39453, 1195.15942, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19459, 1910.02283, 1193.67383, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19395, 1914.80273, 1195.24402, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19395, 1914.78894, 1192.05688, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19459, 1910.02539, 1190.49438, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19459, 1905.35339, 1185.79260, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19459, 1910.03003, 1187.31116, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19395, 1914.79248, 1188.87756, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19459, 1910.02576, 1184.17017, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19395, 1914.80627, 1185.67761, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19459, 1919.45911, 1184.17261, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19459, 1925.86963, 1200.02600, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19367, 1916.44495, 1199.98608, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19367, 1919.58362, 1200.00903, 21.23434, 0.00000, 0.00000, 90.00000);
- CreateObject(19395, 1923.90894, 1198.30261, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19459, 1928.63489, 1199.87549, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19459, 1928.73950, 1196.70557, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19395, 1923.91138, 1195.14246, 18.84000, 0.00000, 0.00000, -0.06000);
- CreateObject(19395, 1923.89368, 1191.98291, 18.84000, 0.00000, 0.00000, -0.06000);
- CreateObject(19459, 1928.72266, 1193.58582, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19395, 1923.89453, 1188.89880, 18.84000, 0.00000, 0.00000, -0.06000);
- CreateObject(19459, 1928.68555, 1190.44666, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19395, 1923.90027, 1185.73853, 18.84000, 0.00000, 0.00000, -0.06000);
- CreateObject(19459, 1928.73193, 1187.28625, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19459, 1928.71790, 1184.16602, 18.84000, 0.00000, 0.00000, 90.00000);
- CreateObject(19459, 1933.45422, 1195.31494, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19459, 1933.45752, 1185.84900, 18.84000, 0.00000, 0.00000, 0.00000);
- CreateObject(19303, 1914.84595, 1198.46167, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(19303, 1914.80481, 1195.32068, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(19303, 1914.82605, 1192.13354, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(19303, 1914.84094, 1188.95032, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(19303, 1914.86047, 1185.76770, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(19303, 1923.88269, 1185.86597, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(19303, 1923.84387, 1189.03613, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(19303, 1923.86670, 1192.09021, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(19303, 1923.85913, 1195.24377, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(19303, 1923.85522, 1198.38513, 18.29818, 0.00000, 0.00000, 90.00000);
- CreateObject(1800, 1934.47937, 1197.25525, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(1800, 1934.47009, 1194.07153, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(1800, 1934.42432, 1190.93579, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(1800, 1934.43408, 1187.81409, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(1800, 1934.44287, 1184.71326, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(1800, 1908.92151, 1186.42676, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(1800, 1908.94995, 1189.60791, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(1800, 1908.97876, 1192.76917, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(1800, 1908.97400, 1195.83508, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(1800, 1908.98743, 1199.00208, 17.08460, 0.00000, 0.00000, 88.78189);
- CreateObject(19377, 1910.47766, 1185.77954, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1920.79871, 1182.72998, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1931.20251, 1185.74146, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1920.80396, 1192.05383, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1931.21313, 1195.09583, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1910.47949, 1201.59277, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1910.44507, 1211.12976, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1920.88745, 1211.20642, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1920.86353, 1201.57520, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1910.45996, 1195.38879, 17.04000, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1910.47705, 1211.15027, 20.65565, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1910.46765, 1201.50415, 20.65565, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1920.15710, 1211.13293, 20.55667, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1920.71667, 1201.54980, 20.65565, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1920.82446, 1192.24915, 20.65565, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1910.48816, 1185.81079, 20.65565, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1931.15942, 1195.07300, 20.65565, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1931.10449, 1185.52563, 20.65565, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 1920.81897, 1182.94556, 20.65565, 0.00000, 90.00000, 0.00000);
- CreateObject(1806, 1873.70020, 1218.00305, 17.08549, 0.00000, 0.00000, 0.00000);
- CreateObject(1806, 1877.58997, 1218.18494, 17.08549, 0.00000, 0.00000, 0.00000);
- CreateObject(16101, 1872.41675, 1219.36169, 17.10546, 0.00000, 0.00000, 0.00000);
- CreateObject(16101, 1878.93420, 1219.37744, 17.10546, 0.00000, 0.00000, 0.00000);
- CreateObject(2163, 1874.11902, 1216.15601, 17.08620, 0.00000, 0.00000, 180.00000);
- CreateObject(2161, 1876.73230, 1216.50378, 17.08587, 0.00000, 0.00000, 0.00000);
- CreateObject(2612, 1873.52917, 1216.16138, 19.02161, 0.00000, 0.00000, 180.00000);
- CreateObject(2611, 1876.77380, 1216.14050, 19.22260, 0.00000, 0.00000, 180.00000);
- CreateObject(19893, 1873.48059, 1219.25928, 18.00580, 0.00000, 0.00000, 25.00000);
- CreateObject(19893, 1877.99536, 1219.32227, 18.00580, 0.00000, 0.00000, -33.00000);
- CreateObject(11705, 1872.91248, 1219.27832, 18.00579, 0.00000, 0.00000, 0.00000);
- CreateObject(11705, 1878.59888, 1219.20313, 18.00579, 0.00000, 0.00000, 0.00000);
- CreateObject(2855, 1878.81128, 1218.37512, 18.00597, 0.00000, 0.00000, 0.00000);
- CreateObject(2855, 1878.88635, 1217.19519, 18.00597, 0.00000, 0.00000, 0.00000);
- CreateObject(2853, 1872.41956, 1218.51416, 18.00600, 0.00000, 0.00000, 0.00000);
- CreateObject(2852, 1872.36926, 1217.06641, 18.00600, 0.00000, 0.00000, 0.00000);
- CreateObject(19172, 1877.41992, 1234.12683, 18.74169, 0.00000, 0.00000, 0.00000);
- CreateObject(19175, 1884.23389, 1224.52295, 18.90816, 0.00000, 0.00000, 0.30301);
- CreateObject(19174, 1867.94446, 1224.44580, 18.90820, 0.00000, 0.00000, 0.30300);
- CreateObject(1753, 1888.04675, 1228.54822, 17.08470, 0.00000, 0.00000, -90.00000);
- CreateObject(1753, 1888.00305, 1233.11951, 17.08470, 0.00000, 0.00000, -90.00000);
- CreateObject(1823, 1887.73828, 1229.26782, 17.08505, 0.00000, 0.00000, 0.00000);
- CreateObject(2204, 1882.78467, 1234.03638, 17.08561, 0.00000, 0.00000, 0.00000);
- CreateObject(2164, 1885.94507, 1234.07629, 17.08563, 0.00000, 0.00000, 0.00000);
- CreateObject(2166, 1883.65710, 1225.24072, 17.08480, 0.00000, 0.00000, 90.00000);
- CreateObject(1714, 1883.81396, 1226.10303, 17.08480, 0.00000, 0.00000, -42.00000);
- CreateObject(19893, 1882.76575, 1226.01770, 17.87540, 0.00000, 0.00000, 98.00000);
- CreateObject(2205, 1885.94702, 1211.70520, 17.08400, 0.00000, 0.00000, 90.00000);
- CreateObject(2205, 1886.92871, 1211.72449, 17.08400, 0.00000, 0.00000, 90.00000);
- CreateObject(2205, 1886.90967, 1209.42334, 17.08400, 0.00000, 0.00000, 90.00000);
- CreateObject(2205, 1885.94446, 1209.42517, 17.08400, 0.00000, 0.00000, 90.00000);
- CreateObject(1714, 1884.79883, 1212.43860, 17.08590, 0.00000, 0.00000, 91.00000);
- CreateObject(1714, 1884.78613, 1210.17456, 17.08590, 0.00000, 0.00000, 91.00000);
- CreateObject(1714, 1888.01733, 1210.14807, 17.08590, 0.00000, 0.00000, 267.00000);
- CreateObject(1714, 1887.93201, 1212.46570, 17.08590, 0.00000, 0.00000, 267.00000);
- CreateObject(2616, 1890.22302, 1209.34692, 18.61170, 0.00000, 0.00000, -90.00000);
- CreateObject(2615, 1890.21826, 1209.82410, 18.61170, 0.00000, 0.00000, -90.00000);
- CreateObject(2614, 1890.20557, 1213.22095, 19.21874, 0.00000, 0.00000, -90.00000);
- CreateObject(2611, 1882.92358, 1209.22339, 18.68271, 0.00000, 0.00000, 90.00000);
- CreateObject(2612, 1882.94788, 1213.08435, 18.68270, 0.00000, 0.00000, 90.00000);
- CreateObject(1569, 1927.55725, 1219.96936, 17.08530, 0.00000, 0.00000, 268.08380);
- CreateObject(2035, 1917.57849, 1228.32739, 17.91488, 0.00000, -90.00000, 90.00000);
- CreateObject(2035, 1917.97778, 1228.34277, 17.91488, 0.00000, -90.00000, 90.00000);
- CreateObject(2035, 1918.37793, 1228.35803, 17.91488, 0.00000, -90.00000, 90.00000);
- CreateObject(2035, 1918.83777, 1228.38477, 17.91488, 0.00000, -90.00000, 90.00000);
- CreateObject(2035, 1919.23901, 1228.37109, 17.91488, 0.00000, -90.00000, 90.00000);
- CreateObject(2035, 1919.67908, 1228.37085, 17.91488, 0.00000, -90.00000, 90.00000);
- CreateObject(2035, 1920.01892, 1228.37500, 17.91488, 0.00000, -90.00000, 90.00000);
- CreateObject(2044, 1917.62207, 1228.59729, 18.30100, 0.00000, 0.00000, 0.00000);
- CreateObject(2044, 1918.12354, 1228.58911, 18.30100, 0.00000, 0.00000, 0.00000);
- CreateObject(2044, 1918.60388, 1228.58557, 18.30100, 0.00000, 0.00000, 0.00000);
- CreateObject(2044, 1919.18420, 1228.58130, 18.30100, 0.00000, 0.00000, 0.00000);
- CreateObject(2044, 1919.76440, 1228.59705, 18.30100, 0.00000, 0.00000, 0.00000);
- CreateObject(2036, 1917.56750, 1229.43701, 17.91490, 0.00000, -90.00000, 90.00000);
- CreateObject(2036, 1918.02747, 1229.43982, 17.91490, 0.00000, -90.00000, 90.00000);
- CreateObject(2036, 1918.50806, 1229.44226, 17.91490, 0.00000, -90.00000, 90.00000);
- CreateObject(2036, 1919.04761, 1229.41174, 17.91490, 0.00000, -90.00000, 90.00000);
- CreateObject(2036, 1919.60815, 1229.42114, 17.91490, 0.00000, -90.00000, 90.00000);
- CreateObject(2036, 1920.06885, 1229.45227, 17.91490, 0.00000, -90.00000, 90.00000);
- CreateObject(2044, 1917.67554, 1229.16431, 18.30100, 0.00000, 0.00000, 180.00000);
- CreateObject(2044, 1918.19531, 1229.15479, 18.30100, 0.00000, 0.00000, 180.00000);
- CreateObject(2044, 1918.73560, 1229.16492, 18.30100, 0.00000, 0.00000, 180.00000);
- CreateObject(2044, 1919.27637, 1229.19580, 18.30100, 0.00000, 0.00000, 180.00000);
- CreateObject(2044, 1919.81665, 1229.20679, 18.30100, 0.00000, 0.00000, 180.00000);
- CreateObject(361, 1917.57422, 1228.91687, 18.69820, 76.00000, -4.00000, 26.00000);
- CreateObject(361, 1918.91492, 1228.91675, 18.69820, 76.00000, -4.00000, 26.00000);
- CreateObject(361, 1917.36011, 1228.54480, 18.69820, 76.00000, -4.00000, 26.00000);
- CreateObject(361, 1918.76538, 1228.61646, 18.69820, 76.00000, -4.00000, 26.00000);
- CreateObject(11745, 1914.93054, 1225.16150, 17.48695, 0.00000, 0.00000, 0.00000);
- CreateObject(11745, 1914.91028, 1225.84363, 17.39919, 0.00000, 0.00000, 0.00000);
- CreateObject(11745, 1914.94287, 1229.20947, 17.39310, 0.00000, 0.00000, 0.00000);
- CreateObject(11736, 1914.84229, 1225.00549, 18.66841, 0.00000, 0.00000, 0.00000);
- CreateObject(11736, 1914.82056, 1231.85315, 18.67245, 0.00000, 0.00000, 0.00000);
- CreateObject(11750, 1914.83728, 1224.89258, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11736, 1914.84021, 1225.50598, 18.66841, 0.00000, 0.00000, 0.00000);
- CreateObject(11736, 1914.83801, 1226.00623, 18.66841, 0.00000, 0.00000, 0.00000);
- CreateObject(11750, 1914.97681, 1224.95410, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.83472, 1225.13245, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.97363, 1225.21375, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.83191, 1225.33191, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.96997, 1225.47388, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.82813, 1225.59204, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1915.02771, 1225.65503, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.84607, 1225.77271, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.86157, 1226.03162, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.82434, 1225.89246, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.94080, 1226.17078, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1915.04382, 1225.95544, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(11750, 1914.96545, 1225.81433, 18.01563, 0.00000, 0.00000, 0.40707);
- CreateObject(19142, 1914.75549, 1225.07007, 19.58830, 0.00000, -90.00000, -87.00000);
- CreateObject(19142, 1914.77649, 1225.52844, 19.58830, 0.00000, -90.00000, -87.00000);
- CreateObject(19142, 1914.76318, 1225.99451, 19.58830, 0.00000, -90.00000, -87.00000);
- CreateObject(11745, 1914.90271, 1228.49890, 17.39310, 0.00000, 0.00000, 0.00000);
- CreateObject(11745, 1914.90356, 1232.03052, 17.39310, 0.00000, 0.00000, 0.00000);
- CreateObject(11745, 1914.87866, 1232.74487, 17.39310, 0.00000, 0.00000, 0.00000);
- CreateObject(11736, 1914.82397, 1232.23352, 18.67245, 0.00000, 0.00000, 0.00000);
- CreateObject(11736, 1914.80981, 1232.93396, 18.67245, 0.00000, 0.00000, 0.00000);
- CreateObject(11736, 1914.82251, 1232.57458, 18.67245, 0.00000, 0.00000, 0.00000);
- CreateObject(11736, 1914.79468, 1229.33752, 18.67245, 0.00000, 0.00000, 0.00000);
- CreateObject(11736, 1914.81958, 1228.97363, 18.67245, 0.00000, 0.00000, 0.12000);
- CreateObject(11736, 1914.82288, 1228.65063, 18.67245, 0.00000, 0.00000, 0.12000);
- CreateObject(11736, 1914.82886, 1228.31201, 18.67245, 0.00000, 0.00000, 0.12000);
- CreateObject(19141, 1914.87683, 1228.60547, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19141, 1914.88672, 1228.30457, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19141, 1914.88806, 1229.49255, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19141, 1914.88733, 1228.90625, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19141, 1914.87744, 1229.20911, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19141, 1914.90759, 1233.05017, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19141, 1914.91052, 1231.83826, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19141, 1914.90979, 1232.14124, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19141, 1914.90906, 1232.44421, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19141, 1914.90833, 1232.74719, 18.05930, 0.00000, -90.00000, -91.00000);
- CreateObject(19142, 1914.78711, 1229.38977, 19.58830, 0.00000, -90.00000, -87.00000);
- CreateObject(19142, 1914.78589, 1228.37671, 19.58830, 0.00000, -90.00000, -87.00000);
- CreateObject(19142, 1914.79138, 1232.93970, 19.58830, 0.00000, -90.00000, -87.00000);
- CreateObject(19142, 1914.78650, 1228.88379, 19.58830, 0.00000, -90.00000, -87.00000);
- CreateObject(19142, 1914.79016, 1231.92773, 19.58830, 0.00000, -90.00000, -87.00000);
- CreateObject(19142, 1914.79077, 1232.43164, 19.58830, 0.00000, -90.00000, -87.00000);
- CreateObject(2985, 1915.06482, 1223.27161, 17.08558, 0.00000, 0.00000, 0.00000);
- CreateObject(2985, 1914.99780, 1226.71448, 17.08558, 0.00000, 0.00000, 0.00000);
- CreateObject(2985, 1915.06177, 1224.27173, 17.08558, 0.00000, 0.00000, 0.00000);
- CreateObject(2985, 1915.05176, 1230.15833, 17.08558, 0.00000, 0.00000, 0.00000);
- CreateObject(2985, 1915.01208, 1227.62439, 17.08558, 0.00000, 0.00000, 0.00000);
- CreateObject(2985, 1915.10413, 1233.50427, 17.08558, 0.00000, 0.00000, 0.00000);
- CreateObject(2985, 1915.06604, 1231.07434, 17.08558, 0.00000, 0.00000, 0.00000);
- CreateObject(11729, 1921.38745, 1233.81165, 17.08512, 0.00000, 0.00000, 0.00000);
- CreateObject(11729, 1920.16370, 1233.80151, 17.08512, 0.00000, 0.00000, 0.00000);
- CreateObject(11729, 1919.51318, 1233.79333, 17.08512, 0.00000, 0.00000, 0.00000);
- CreateObject(11729, 1917.02051, 1233.76062, 17.08512, 0.00000, 0.00000, 0.00000);
- CreateObject(11729, 1917.62646, 1233.76868, 17.08512, 0.00000, 0.00000, 0.00000);
- CreateObject(11729, 1918.25891, 1233.77686, 17.08512, 0.00000, 0.00000, 0.00000);
- CreateObject(11729, 1918.85278, 1233.78479, 17.08512, 0.00000, 0.00000, 0.00000);
- CreateObject(11729, 1920.77734, 1233.81018, 17.08512, 0.00000, 0.00000, 0.00000);
- CreateObject(18637, 1922.60083, 1233.39880, 17.69750, 68.00000, 0.00000, 269.18182);
- CreateObject(18637, 1922.61499, 1232.08875, 17.69750, 68.00000, 0.00000, 269.18182);
- CreateObject(18637, 1922.62903, 1232.71899, 17.69750, 68.00000, 0.00000, 269.18182);
- CreateObject(18637, 1922.61877, 1231.50830, 17.69750, 68.00000, 0.00000, 269.18182);
- CreateObject(18637, 1922.60339, 1230.90698, 17.69750, 68.00000, 0.00000, 269.18182);
- CreateObject(2358, 1922.45093, 1229.11292, 17.18830, 0.00000, 0.00000, -90.00000);
- CreateObject(2358, 1922.45093, 1229.80017, 17.18830, 0.00000, 0.00000, -90.00000);
- CreateObject(2358, 1922.45068, 1228.41272, 17.18830, 0.00000, 0.00000, -90.00000);
- CreateObject(2358, 1922.45203, 1228.07239, 17.38930, 0.00000, 0.00000, -90.00000);
- CreateObject(2358, 1922.45398, 1227.71216, 17.18830, 0.00000, 0.00000, -90.00000);
- CreateObject(2358, 1922.44836, 1228.75293, 17.38930, 0.00000, 0.00000, -90.00000);
- CreateObject(2358, 1922.44482, 1229.11230, 17.62645, 0.00000, 0.00000, -90.00000);
- CreateObject(2358, 1922.44519, 1229.41284, 17.38930, 0.00000, 0.00000, -90.00000);
- CreateObject(2358, 1922.45215, 1228.73181, 17.82643, 0.00000, 0.00000, -90.00000);
- CreateObject(2358, 1922.45447, 1228.41174, 17.62645, 0.00000, 0.00000, -90.00000);
- CreateObject(2061, 1922.12244, 1229.99011, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2061, 1922.08044, 1229.62048, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2061, 1922.11145, 1229.31689, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2061, 1922.11975, 1229.07495, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2061, 1922.10718, 1228.79602, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2061, 1922.11584, 1228.53625, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2061, 1922.12024, 1228.27441, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2061, 1922.10059, 1227.95557, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2061, 1922.10168, 1227.67444, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2061, 1922.10168, 1227.37549, 17.38951, 0.00000, 0.00000, 33.00000);
- CreateObject(2985, 1922.33215, 1223.56531, 17.08560, 0.00000, 0.00000, 180.00000);
- CreateObject(2985, 1922.36841, 1224.60461, 17.08560, 0.00000, 0.00000, 180.00000);
- CreateObject(2985, 1922.36487, 1225.80408, 17.08560, 0.00000, 0.00000, 180.00000);
- CreateObject(2985, 1922.35767, 1226.79712, 17.08560, 0.00000, 0.00000, 180.00000);
- CreateObject(18981, 1875.44299, 1224.08826, 21.02927, 0.00000, 90.00000, 0.00000);
- CreateObject(18981, 1900.31201, 1224.10864, 21.02927, 0.00000, 90.00000, 0.00000);
- CreateObject(18981, 1925.28625, 1224.10242, 21.03128, 0.00000, 90.00000, 0.00000);
- CreateObject(18981, 1901.92554, 1249.00061, 21.03128, 0.00000, 90.00000, 0.00000);
- CreateObject(18981, 1892.83765, 1199.25342, 21.03128, 0.00000, 90.00000, 0.00000);
- CreateObject(18075, 1904.54443, 1195.00500, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1869.36475, 1222.03064, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1885.44653, 1230.89465, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1914.10742, 1219.21960, 20.52500, 0.00000, 0.00000, 90.00000);
- CreateObject(18075, 1887.38428, 1219.59448, 20.52500, 0.00000, 0.00000, 90.00000);
- CreateObject(18075, 1900.10901, 1219.35071, 20.52500, 0.00000, 0.00000, 90.00000);
- CreateObject(18075, 1904.99316, 1227.62183, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1904.53809, 1208.18506, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1886.54382, 1209.46838, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1895.60266, 1195.27368, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1895.28723, 1207.37488, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1877.19775, 1227.72620, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1905.03552, 1238.01282, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1913.51355, 1227.69568, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1913.46667, 1237.92053, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1922.72656, 1228.54932, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1919.60071, 1207.25903, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(18075, 1919.29822, 1192.12842, 20.52496, 0.00000, 0.00000, 0.00000);
- CreateObject(19376, 650.69928, -162.28470, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 650.67731, -171.91670, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 650.69928, -181.54649, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 661.16943, -181.55029, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 661.17035, -171.91835, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 661.19031, -162.29469, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 671.65137, -181.54526, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 671.66827, -171.91670, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 671.68610, -162.29700, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19445, 652.50928, -158.53770, 1002.02429, 0.00000, 0.00000, -90.00000);
- CreateObject(19445, 642.88733, -158.53770, 1002.02429, 0.00000, 0.00000, -90.00000);
- CreateObject(19376, 640.23962, -181.54134, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 640.20770, -171.91800, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 640.20331, -162.29469, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19445, 641.60193, -162.74240, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19376, 671.68628, -181.51770, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 661.19031, -181.51770, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 650.69928, -181.51770, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 640.20331, -171.91670, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 640.20331, -162.29469, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 650.69928, -162.29469, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 671.68628, -171.90669, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 661.19031, -171.91670, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 650.69928, -171.91670, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 640.20331, -181.51770, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19383, 652.47009, -167.63651, 1002.02557, 0.00000, 0.00000, 90.00000);
- CreateObject(19445, 639.65332, -167.64290, 1002.02429, 0.00000, 0.00000, -90.00000);
- CreateObject(19445, 658.22559, -153.28700, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19453, 671.70990, -167.81000, 1002.02228, 0.00000, 0.00000, -90.00000);
- CreateObject(19390, 665.29810, -167.81000, 1002.02551, 0.00000, 0.00000, 90.00000);
- CreateObject(19453, 658.89081, -167.81000, 1002.02228, 0.00000, 0.00000, -90.00000);
- CreateObject(19390, 652.47009, -167.81000, 1002.02228, 0.00000, 0.00000, 90.00000);
- CreateObject(19453, 639.64948, -167.81000, 1002.02228, 0.00000, 0.00000, -90.00000);
- CreateObject(19453, 671.57172, -172.70441, 1002.02228, 0.00000, 0.00000, -180.00000);
- CreateObject(19453, 676.76477, -177.44070, 1002.02228, 0.00000, 0.00000, -90.00000);
- CreateObject(19407, 667.04388, -177.44070, 1002.02429, 0.00000, 0.00000, 90.00000);
- CreateObject(19390, 663.87201, -177.44070, 1002.02429, 0.00000, 0.00000, 90.00000);
- CreateObject(19446, 671.57172, -182.51939, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19384, 663.83398, -177.61870, 1002.02429, 0.00000, 0.00000, -90.00000);
- CreateObject(19400, 667.04388, -177.61870, 1002.02429, 0.00000, 0.00000, 90.00000);
- CreateObject(19446, 673.55353, -187.87180, 1002.02429, 0.00000, 0.00000, 90.00000);
- CreateObject(19446, 663.98669, -187.87180, 1002.02429, 0.00000, 0.00000, 90.00000);
- CreateObject(19376, 671.65143, -191.17529, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 661.18921, -191.17529, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19354, 660.62433, -177.61870, 1002.02429, 0.00000, 0.00000, 90.00000);
- CreateObject(19446, 675.36853, -191.97000, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19446, 659.11060, -182.34801, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19446, 659.11060, -191.97000, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19376, 671.65143, -191.15430, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 661.18921, -191.15430, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19446, 673.46570, -177.61870, 1002.02429, 0.00000, 0.00000, 90.00000);
- CreateObject(19390, 651.04102, -177.44070, 1002.02551, 0.00000, 0.00000, 90.00000);
- CreateObject(19453, 642.03497, -182.32950, 1002.02228, 0.00000, 0.00000, -180.00000);
- CreateObject(19453, 642.03497, -172.70821, 1002.02228, 0.00000, 0.00000, -180.00000);
- CreateObject(1649, 668.17468, -177.53110, 1001.30450, 0.00000, 0.00000, 180.00000);
- CreateObject(19453, 649.34808, -182.16901, 1002.02551, 0.00000, 0.00000, 0.00000);
- CreateObject(19376, 650.69928, -191.17529, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 640.22028, -191.17529, 1000.18982, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 650.69928, -191.17529, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 640.22028, -191.17529, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19453, 641.59229, -163.07820, 1002.02228, 0.00000, 0.00000, -180.00000);
- CreateObject(19453, 636.42230, -167.81000, 1002.02228, 0.00000, 0.00000, -90.00000);
- CreateObject(19450, 644.59113, -187.87180, 1002.02228, 0.00000, 0.00000, 90.00000);
- CreateObject(19361, 649.44812, -188.57640, 1002.02228, 0.00000, 0.00000, 0.00000);
- CreateObject(19361, 641.59229, -188.73860, 1002.02228, 0.00000, 0.00000, 0.00000);
- CreateObject(19453, 644.69263, -186.65520, 1002.02228, 0.00000, 0.00000, -90.00000);
- CreateObject(19353, 642.64301, -156.31480, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19999, 647.23291, -184.53931, 1000.27618, 0.00000, 0.00000, 200.21980);
- CreateObject(1721, 642.23999, -180.03661, 1000.27490, 0.00000, 0.00000, -90.00000);
- CreateObject(1721, 642.23999, -179.41260, 1000.27490, 0.00000, 0.00000, -90.00000);
- CreateObject(2198, 646.55762, -182.93974, 1000.25391, 0.00000, 0.00000, 0.00000);
- CreateObject(2198, 642.86816, -182.93896, 1000.25391, 0.00000, 0.00000, 0.00000);
- CreateObject(19999, 643.45453, -184.53931, 1000.27618, 0.00000, 0.00000, 200.21980);
- CreateObject(1721, 642.23999, -178.78860, 1000.27490, 0.00000, 0.00000, -90.00000);
- CreateObject(1721, 642.23999, -178.16460, 1000.27490, 0.00000, 0.00000, -90.00000);
- CreateObject(2606, 645.91730, -186.43829, 1003.11450, 0.00000, 0.00000, 180.00000);
- CreateObject(2606, 645.91730, -186.43829, 1002.65649, 0.00000, 0.00000, 180.00000);
- CreateObject(19787, 649.34241, -179.77580, 1002.84497, 0.00000, 0.00000, -90.00000);
- CreateObject(1523, 664.50897, -167.69000, 1000.25513, 0.00000, 0.00000, 0.00000);
- CreateObject(2946, 642.05402, -173.77409, 1000.27643, 0.00000, 0.00000, 0.00000);
- CreateObject(2946, 642.07300, -170.60789, 1000.27643, 0.00000, 0.00000, 180.00000);
- CreateObject(1801, 667.89563, -179.12080, 1000.27368, 0.00000, 0.00000, -90.00000);
- CreateObject(19354, 671.57172, -188.93660, 1002.02429, 0.00000, 0.00000, 180.00000);
- CreateObject(1801, 667.89563, -182.08949, 1000.27368, 0.00000, 0.00000, -90.00000);
- CreateObject(1801, 667.89954, -185.29608, 1000.27368, 0.00000, 0.00000, -90.00000);
- CreateObject(1801, 662.77557, -186.30370, 1000.27368, 0.00000, 0.00000, -270.00000);
- CreateObject(1801, 662.77557, -183.07750, 1000.27368, 0.00000, 0.00000, -270.00000);
- CreateObject(1801, 662.77557, -180.08980, 1000.27368, 0.00000, 0.00000, -270.00000);
- CreateObject(19787, 665.46802, -187.86000, 1002.76898, 0.00000, 0.00000, -180.00000);
- CreateObject(630, 649.14178, -177.81880, 1001.30200, 0.00000, 0.00000, 45.42000);
- CreateObject(2008, 643.24841, -162.26151, 1000.27338, 0.00000, 0.00000, 270.00000);
- CreateObject(1714, 641.93140, -163.19550, 1000.27643, 0.00000, 0.00000, 90.00000);
- CreateObject(2186, 642.14868, -160.67400, 1000.27460, 0.00000, 0.00000, 90.00000);
- CreateObject(19825, 663.94232, -167.51730, 1002.87939, 0.00000, 0.00000, 180.00000);
- CreateObject(2167, 663.33337, -167.52229, 1000.27661, 0.00000, 0.00000, 180.00000);
- CreateObject(2251, 651.18481, -167.37910, 1001.13220, 0.00000, 0.00000, 0.00000);
- CreateObject(14680, 651.03918, -174.96581, 1002.29102, 0.00000, 0.00000, 0.00000);
- CreateObject(3396, 670.90057, -164.62869, 1000.27728, 0.00000, 0.00000, 0.00000);
- CreateObject(3386, 658.82318, -164.46680, 1000.27472, 0.00000, 0.00000, 180.00000);
- CreateObject(3387, 658.82373, -161.46890, 1000.27472, 0.00000, 0.00000, 180.00000);
- CreateObject(3388, 658.81989, -163.47110, 1000.27472, 0.00000, 0.00000, 180.00000);
- CreateObject(3389, 658.81732, -162.47330, 1000.27472, 0.00000, 0.00000, 180.00000);
- CreateObject(1671, 669.44928, -164.43900, 1000.73480, 0.00000, 0.00000, 63.36000);
- CreateObject(3383, 666.44202, -162.63789, 1000.27600, 0.00000, 0.00000, 90.00000);
- CreateObject(3395, 670.90057, -160.84790, 1000.27728, 0.00000, 0.00000, 0.00000);
- CreateObject(1997, 659.34290, -165.98320, 1000.27600, 0.00000, 0.00000, -270.00000);
- CreateObject(3383, 662.03363, -162.63560, 1000.27600, 0.00000, 0.00000, 270.00000);
- CreateObject(1997, 659.35278, -159.79630, 1000.27600, 0.00000, 0.00000, -270.00000);
- CreateObject(14604, 667.15552, -167.15840, 1001.27612, 0.00000, 0.00000, 0.00000);
- CreateObject(2163, 662.42212, -167.52200, 1000.27722, 0.00000, 0.00000, 180.00000);
- CreateObject(2609, 668.74152, -167.21049, 1000.99640, 0.00000, 0.00000, 180.00000);
- CreateObject(2609, 668.30151, -167.21049, 1000.99640, 0.00000, 0.00000, 180.00000);
- CreateObject(19449, 662.13831, -158.53770, 1002.02429, 0.00000, 0.00000, -90.00000);
- CreateObject(19449, 671.77032, -158.53770, 1002.02429, 0.00000, 0.00000, -90.00000);
- CreateObject(19449, 671.59070, -161.89030, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19449, 671.59070, -171.52040, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19387, 665.29810, -167.63651, 1002.02557, 0.00000, 0.00000, 90.00000);
- CreateObject(19449, 671.70837, -167.63600, 1002.02429, 0.00000, 0.00000, 90.00000);
- CreateObject(19449, 658.88428, -167.63651, 1002.02429, 0.00000, 0.00000, 90.00000);
- CreateObject(19449, 658.22559, -162.89799, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19377, 674.02631, -162.73470, 1003.82080, 0.00000, 90.00000, 0.00000);
- CreateObject(19377, 663.53027, -162.73470, 1003.82080, 0.00000, 90.00000, 0.00000);
- CreateObject(19376, 661.19910, -162.29469, 1003.84082, 0.00000, 90.00000, 0.00000);
- CreateObject(19445, 653.54639, -162.80161, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(2309, 644.88550, -163.15581, 1000.27582, 0.00000, 0.00000, 90.00000);
- CreateObject(19825, 651.07062, -167.51939, 1002.87939, 0.00000, 0.00000, 180.00000);
- CreateObject(19448, 649.42590, -182.26340, 1002.01331, 0.00000, 0.00000, 0.00000);
- CreateObject(19448, 654.34113, -186.91670, 1002.01331, 0.00000, 0.00000, 90.00000);
- CreateObject(19448, 659.09210, -182.34650, 1002.01331, 0.00000, 0.00000, 0.00000);
- CreateObject(19453, 673.46698, -177.44070, 1002.02551, 0.00000, 0.00000, -90.00000);
- CreateObject(19361, 660.66052, -177.44070, 1002.02429, 0.00000, 0.00000, -90.00000);
- CreateObject(19407, 654.25208, -177.44070, 1002.02228, 0.00000, 0.00000, 90.00000);
- CreateObject(19361, 657.45050, -177.44070, 1002.02551, 0.00000, 0.00000, -90.00000);
- CreateObject(19386, 651.03699, -177.61771, 1002.01331, 0.00000, 0.00000, 90.00000);
- CreateObject(19402, 654.25031, -177.61971, 1002.02228, 0.00000, 0.00000, 90.00000);
- CreateObject(19356, 657.45789, -177.59100, 1002.01331, 0.00000, 0.00000, 90.96000);
- CreateObject(19445, 647.58862, -159.53461, 1002.02429, 0.00000, 0.00000, 0.00000);
- CreateObject(19383, 647.62061, -165.94260, 1002.02557, 0.00000, 0.00000, 178.50000);
- CreateObject(2251, 644.70349, -167.35229, 1001.13647, 0.00000, 0.00000, 0.00000);
- CreateObject(2164, 647.46417, -161.47490, 1000.27740, 0.00000, 0.00000, 270.00000);
- CreateObject(2191, 643.51019, -167.04640, 1000.27753, 0.00000, 0.00000, 180.00000);
- CreateObject(2309, 644.88550, -162.29581, 1000.27582, 0.00000, 0.00000, 90.00000);
- CreateObject(1997, 645.75269, -159.68179, 1000.27789, 0.00000, 0.00000, 0.00000);
- CreateObject(1997, 644.03271, -159.68179, 1000.27789, 0.00000, 0.00000, 0.00000);
- CreateObject(19172, 641.69348, -162.72440, 1002.79150, 0.00000, 0.00000, 90.00000);
- CreateObject(19825, 647.35638, -164.77660, 1002.65942, 0.00000, 0.00000, 270.00000);
- CreateObject(2286, 644.73029, -158.64740, 1002.89752, 0.00000, 0.00000, 0.00000);
- CreateObject(1491, 647.52460, -166.71899, 1000.25659, 0.00000, 0.00000, 90.00000);
- CreateObject(1491, 651.68799, -167.71561, 1000.26660, -0.16000, 0.08000, 0.00000);
- CreateObject(1491, 651.78461, -177.51630, 1000.26660, 0.00000, 0.00000, 180.00000);
- CreateObject(2167, 649.93909, -167.52530, 1000.27649, 0.00000, 0.00000, 180.00000);
- CreateObject(2167, 649.02911, -167.52530, 1000.27649, 0.00000, 0.00000, 180.00000);
- CreateObject(2164, 647.71198, -162.96170, 1000.27808, 0.00000, 0.00000, 90.00000);
- CreateObject(2008, 651.05878, -160.19501, 1000.27338, 0.00000, 0.00000, 180.00000);
- CreateObject(1714, 650.13611, -158.95230, 1000.27643, 0.00000, 0.00000, 0.00000);
- CreateObject(2309, 650.08441, -161.85930, 1000.27582, 0.00000, 0.00000, 0.00000);
- CreateObject(2309, 651.04437, -161.85930, 1000.27582, 0.00000, 0.00000, 0.00000);
- CreateObject(1997, 652.43799, -164.69270, 1000.27789, 0.00000, 0.00000, -90.00000);
- CreateObject(1997, 652.43799, -163.03270, 1000.27789, 0.00000, 0.00000, -90.00000);
- CreateObject(2186, 648.21759, -159.97260, 1000.27460, 0.00000, 0.00000, 90.00000);
- CreateObject(19174, 650.66302, -158.61920, 1002.81140, 0.00000, 0.00000, 0.00000);
- CreateObject(2267, 653.43549, -163.69920, 1002.78833, 0.00000, 0.00000, -90.00000);
- CreateObject(2186, 648.79779, -185.23489, 1000.27722, 0.00000, 0.00000, -90.00000);
- CreateObject(2164, 646.30481, -186.56619, 1000.27539, 0.00000, 0.00000, 180.00000);
- CreateObject(2191, 643.08160, -186.06371, 1000.27551, 0.00000, 0.00000, 180.00000);
- CreateObject(2773, 643.34723, -173.97580, 1000.78918, 0.00000, 0.00000, 90.00000);
- CreateObject(2773, 643.34723, -170.40581, 1000.78918, 0.00000, 0.00000, 90.00000);
- CreateObject(19390, 646.06012, -167.81000, 1002.02228, 0.00000, 0.00000, 90.00000);
- CreateObject(19361, 649.26501, -167.81000, 1002.02551, 0.00000, 0.00000, -90.00000);
- CreateObject(19383, 646.06079, -167.64290, 1002.02557, 0.00000, 0.00000, 90.00000);
- CreateObject(19383, 647.44958, -165.93649, 1002.02557, 0.00000, 0.00000, 178.50000);
- CreateObject(19353, 649.26898, -167.63651, 1002.02557, 0.00000, 0.00000, 90.00000);
- CreateObject(1491, 645.27881, -167.69160, 1000.26660, 0.00000, 0.00000, 0.00000);
- CreateObject(2167, 641.71222, -165.24770, 1000.27649, 0.00000, 0.00000, 90.00000);
- CreateObject(2191, 652.95178, -160.62390, 1000.27753, 0.00000, 0.00000, 270.00000);
- CreateObject(1491, 664.61768, -177.51740, 1000.26660, 0.00000, 0.00000, 180.00000);
- CreateObject(1649, 655.40411, -177.52850, 1001.30450, 0.00000, 0.00000, 180.00000);
- CreateObject(1302, 657.07172, -186.53081, 1000.27551, 0.00000, 0.00000, 180.00000);
- CreateObject(1776, 654.91132, -186.41389, 1001.29547, 0.00000, 0.00000, 180.00000);
- CreateObject(1845, 651.68591, -186.27690, 1000.27692, 0.00000, 0.00000, 180.00000);
- CreateObject(1968, 650.19769, -183.59200, 1000.79510, 0.00000, 0.00000, 90.00000);
- CreateObject(1968, 650.19769, -180.45200, 1000.79510, 0.00000, 0.00000, 90.00000);
- CreateObject(1968, 658.31769, -183.59200, 1000.79510, 0.00000, 0.00000, 90.00000);
- CreateObject(1968, 658.31769, -180.45200, 1000.79510, 0.00000, 0.00000, 90.00000);
- CreateObject(19173, 649.55042, -181.99260, 1002.65588, 0.00000, 0.00000, -90.00000);
- CreateObject(15038, 649.85553, -178.13040, 1000.89563, 0.00000, 0.00000, 0.00000);
- CreateObject(2269, 657.21600, -178.18100, 1002.23657, 0.00000, 0.00000, 0.00000);
- CreateObject(19825, 652.53052, -177.74220, 1002.53943, 0.00000, 0.00000, 0.00000);
- CreateObject(19787, 659.05627, -181.99260, 1002.84497, 0.00000, 0.00000, -90.00000);
- CreateObject(2222, 650.49860, -183.37880, 1001.13098, 0.00000, 0.00000, 90.00000);
- CreateObject(2221, 650.06860, -183.85899, 1001.13141, 0.00000, 0.00000, 90.00000);
- CreateObject(2342, 649.83447, -183.31529, 1001.17242, 0.00000, 0.00000, 217.68001);
- CreateObject(2221, 658.57361, -180.23421, 1001.12860, 0.00000, 0.00000, 90.00000);
- CreateObject(2222, 658.08411, -180.70940, 1001.13141, 0.00000, 0.00000, 90.00000);
- CreateObject(2342, 657.92212, -180.31950, 1001.17023, 0.00000, 0.00000, 342.41989);
- CreateObject(1649, 655.40411, -177.52850, 1001.30450, 0.00000, 0.00000, 0.00000);
- CreateObject(1649, 668.17468, -177.53110, 1001.30450, 0.00000, 0.00000, 0.00000);
- CreateObject(2272, 670.99658, -181.08450, 1002.27582, 0.00000, 0.00000, -90.00000);
- CreateObject(2275, 670.99579, -184.20740, 1002.27582, 0.00000, 0.00000, -90.00000);
- CreateObject(1738, 663.77417, -187.62939, 1000.88721, 0.00000, 0.00000, 0.00000);
- CreateObject(2280, 659.70831, -184.20200, 1002.05890, 0.00000, 0.00000, 90.00000);
- CreateObject(2281, 659.69281, -181.08900, 1002.05890, 0.00000, 0.00000, 90.00000);
- CreateObject(2258, 649.23547, -183.34610, 1002.85248, 0.00000, 0.00000, -90.00000);
- CreateObject(2267, 642.16071, -178.77580, 1002.84497, 0.00000, 0.00000, 90.00000);
- CreateObject(2284, 642.62402, -184.34610, 1002.52838, 0.00000, 0.00000, 90.00000);
- CreateObject(1721, 642.23999, -177.55260, 1000.27490, 0.00000, 0.00000, -90.00000);
- CreateObject(15038, 653.92810, -168.30119, 1000.89020, 0.00000, 0.00000, 0.00000);
- CreateObject(638, 657.15460, -168.27840, 1000.95959, 0.00000, 0.00000, 90.00000);
- CreateObject(19173, 649.24719, -167.90210, 1002.75092, 0.00000, 0.00000, -180.00000);
- CreateObject(2271, 654.94330, -168.39600, 1002.45911, 0.00000, 0.00000, 0.00000);
- CreateObject(2262, 662.76672, -168.39400, 1002.50537, 0.00000, 0.00000, 0.00000);
- CreateObject(638, 660.65912, -168.27840, 1000.95959, 0.00000, 0.00000, 90.00000);
- CreateObject(15038, 663.87903, -168.30119, 1000.89020, 0.00000, 0.00000, 0.00000);
- CreateObject(630, 662.16937, -177.10190, 1001.30200, 0.00000, 0.00000, 154.02000);
- CreateObject(1721, 659.49298, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
- CreateObject(1721, 658.85303, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
- CreateObject(1721, 658.21301, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
- CreateObject(630, 652.33691, -177.10190, 1001.30200, 0.00000, 0.00000, 154.02000);
- CreateObject(1721, 657.57300, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
- CreateObject(2276, 660.62543, -176.86230, 1002.45392, 0.00000, 0.00000, 180.00000);
- CreateObject(1721, 656.95300, -177.23180, 1000.27490, 0.00000, 0.00000, 0.00000);
- CreateObject(2264, 655.98767, -176.85820, 1002.45392, 0.00000, 0.00000, 180.00000);
- CreateObject(19172, 671.47839, -172.73039, 1002.88232, 0.00000, 0.00000, -90.00000);
- CreateObject(19967, 666.86108, -167.87790, 999.88831, 0.00000, 0.00000, 0.00000);
- CreateObject(14680, 660.63318, -174.96581, 1002.29102, 0.00000, 0.00000, 0.00000);
- CreateObject(14680, 643.23669, -183.15005, 1002.29102, 0.00000, 0.00000, -90.00000);
- CreateObject(1616, 642.48370, -170.15370, 1003.27667, 0.00000, 0.00000, -192.54021);
- CreateObject(19376, 247.74, 1783.13, 700.00, 0.00, 90.00, 0.00);
- CreateObject(19376, 258.24, 1783.14, 700.00, 0.00, 90.00, 0.00);
- CreateObject(19376, 247.74, 1773.55, 700.00, 0.00, 90.00, 0.00);
- CreateObject(19376, 258.23, 1773.55, 700.00, 0.00, 90.00, 0.00);
- CreateObject(19450, 250.44, 1784.44, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19450, 245.63, 1779.94, 701.65, 0.00, 0.00, 0.00);
- CreateObject(19450, 253.91, 1780.12, 701.65, 0.00, 0.00, 0.00);
- CreateObject(19450, 253.03, 1775.84, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19404, 252.33, 1778.41, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19388, 249.65, 1777.30, 701.65, 0.00, 0.00, -45.00);
- CreateObject(19388, 246.66, 1775.84, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19466, 252.38, 1778.39, 702.43, 0.00, 0.00, 90.00);
- CreateObject(1502, 249.13, 1776.76, 699.95, 0.00, 0.00, 45.00);
- CreateObject(2165, 251.81, 1777.85, 700.09, 0.00, 0.00, 0.00);
- CreateObject(19358, 248.54, 1774.62, 701.65, 0.00, 0.00, 0.00);
- CreateObject(1714, 252.63, 1777.00, 700.09, 0.00, 0.00, 230.00);
- CreateObject(2007, 253.70, 1776.70, 700.01, 0.00, 0.00, -90.00);
- CreateObject(1961, 250.82, 1775.97, 701.86, 0.00, 0.00, 0.00);
- CreateObject(1962, 251.55, 1775.97, 701.86, 0.00, 0.00, 0.00);
- CreateObject(1960, 252.27, 1775.97, 701.86, 0.00, 0.00, 0.00);
- CreateObject(1569, 247.05, 1784.39, 700.02, 0.00, 0.00, 0.00);
- CreateObject(1569, 250.03, 1784.39, 700.02, 0.00, 0.00, 180.00);
- CreateObject(1703, 251.10, 1783.84, 700.09, 0.00, 0.00, 0.00);
- CreateObject(1703, 246.23, 1779.16, 700.09, 0.00, 0.00, 90.00);
- CreateObject(2315, 247.52, 1779.46, 700.09, 0.00, 0.00, 90.00);
- CreateObject(2315, 251.39, 1782.50, 700.09, 0.00, 0.00, 0.00);
- CreateObject(2250, 251.42, 1782.51, 701.03, 0.00, 0.00, 0.00);
- CreateObject(2250, 247.52, 1780.31, 701.03, 0.00, 0.00, 90.00);
- CreateObject(2852, 252.61, 1782.49, 700.58, 0.00, 0.00, 90.00);
- CreateObject(2894, 247.42, 1779.67, 700.58, 0.00, 0.00, 39.00);
- CreateObject(2011, 246.21, 1783.97, 700.09, 0.00, 0.00, 0.00);
- CreateObject(2011, 253.24, 1779.07, 700.09, 0.00, 0.00, 0.00);
- CreateObject(1502, 245.88, 1775.81, 699.95, 0.00, 0.00, 0.00);
- CreateObject(19450, 245.63, 1770.30, 701.65, 0.00, 0.00, 0.00);
- CreateObject(19358, 250.13, 1773.12, 701.65, 0.00, 0.00, 90.40);
- CreateObject(19388, 252.80, 1774.23, 701.65, 0.00, 0.00, -45.00);
- CreateObject(1502, 252.29, 1773.69, 699.95, 0.00, 0.00, 45.00);
- CreateObject(1265, 250.63, 1775.49, 700.16, 0.00, 0.00, 0.00);
- CreateObject(1265, 250.35, 1774.87, 700.16, 0.00, 0.00, 0.00);
- CreateObject(1778, 253.53, 1775.81, 700.09, 0.00, 0.00, 0.00);
- CreateObject(2712, 253.57, 1775.32, 700.68, 0.00, 0.00, 0.00);
- CreateObject(1221, 249.31, 1773.68, 700.09, 0.00, 0.00, 0.00);
- CreateObject(1221, 250.27, 1773.94, 700.38, 0.00, 0.00, 0.00);
- CreateObject(1221, 249.56, 1775.12, 700.38, 0.00, 0.00, 0.00);
- CreateObject(1265, 249.18, 1774.36, 700.16, 0.00, 0.00, 0.00);
- CreateObject(19450, 249.18, 1768.98, 701.65, 0.00, 0.00, 90.00);
- CreateObject(1705, 246.30, 1770.17, 700.09, 0.00, 0.00, 90.00);
- CreateObject(1705, 247.85, 1769.63, 700.09, 0.00, 0.00, 180.00);
- CreateObject(1705, 251.83, 1769.63, 700.09, 0.00, 0.00, 180.00);
- CreateObject(2315, 248.60, 1769.55, 700.09, 0.00, 0.00, 0.00);
- CreateObject(2855, 248.78, 1769.55, 700.58, 0.00, 0.00, 0.00);
- CreateObject(2251, 249.67, 1769.36, 701.41, 0.00, 0.00, 0.00);
- CreateObject(1667, 249.91, 1769.75, 700.69, 0.00, 0.00, 0.00);
- CreateObject(1667, 250.08, 1769.65, 700.69, 0.00, 0.00, 0.00);
- CreateObject(2817, 248.02, 1783.18, 700.08, 0.00, 0.00, 0.00);
- CreateObject(19450, 254.81, 1780.65, 701.65, 0.00, 0.00, 0.00);
- CreateObject(14393, 255.23, 1759.95, 702.32, 0.00, 0.00, 90.00);
- CreateObject(19450, 261.73, 1768.98, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19450, 249.19, 1768.83, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19388, 255.31, 1768.98, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19388, 255.31, 1768.83, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19450, 261.73, 1768.83, 701.65, 0.00, 0.00, 90.00);
- CreateObject(14391, 256.13, 1760.86, 701.05, 0.00, 0.00, 90.00);
- CreateObject(1705, 257.11, 1767.64, 700.09, 0.00, 0.00, 0.00);
- CreateObject(1705, 258.68, 1767.02, 700.09, 0.00, 0.00, -90.00);
- CreateObject(2332, 259.63, 1764.36, 700.38, 0.00, 0.00, -90.00);
- CreateObject(638, 254.72, 1765.20, 701.43, 0.00, 0.00, 90.00);
- CreateObject(638, 258.07, 1765.20, 701.43, 0.00, 0.00, 90.00);
- CreateObject(2894, 256.40, 1765.18, 701.10, 0.00, 0.00, 80.00);
- CreateObject(1714, 257.11, 1762.81, 700.10, 0.00, 0.00, -45.00);
- CreateObject(1714, 254.18, 1762.77, 700.10, 0.00, 0.00, 0.00);
- CreateObject(1502, 251.40, 1759.68, 699.95, 0.00, 0.00, 0.00);
- CreateObject(2395, 250.95, 1759.82, 700.10, 0.00, 0.00, 180.00);
- CreateObject(2395, 252.48, 1759.82, 702.46, 0.00, 0.00, 180.00);
- CreateObject(2395, 249.79, 1759.59, 702.46, 0.00, 0.00, 0.00);
- CreateObject(2395, 248.19, 1759.58, 700.10, 0.00, 0.00, 0.00);
- CreateObject(1704, 254.31, 1753.90, 700.09, 0.00, 0.00, 135.00);
- CreateObject(1704, 256.22, 1754.49, 700.09, 0.00, 0.00, -135.00);
- CreateObject(1815, 254.42, 1754.73, 700.09, 0.00, 0.00, 0.00);
- CreateObject(2247, 254.89, 1755.32, 700.99, 0.00, 0.00, 0.00);
- CreateObject(2010, 253.33, 1754.95, 700.10, 0.00, 0.00, 0.00);
- CreateObject(2010, 256.59, 1754.91, 700.10, 0.00, 0.00, 0.00);
- CreateObject(19466, 253.95, 1759.95, 701.92, 0.00, 0.00, 90.00);
- CreateObject(19466, 256.17, 1759.95, 701.92, 0.00, 0.00, 90.00);
- CreateObject(19466, 258.40, 1759.95, 701.92, 0.00, 0.00, 90.00);
- CreateObject(19376, 259.00, 1763.90, 699.99, 0.00, 90.00, 0.00);
- CreateObject(1502, 254.53, 1768.96, 699.95, 0.00, 0.00, 0.00);
- CreateObject(19450, 262.61, 1772.18, 701.65, 0.00, 0.00, -45.00);
- CreateObject(19450, 263.67, 1770.76, 701.65, 0.00, 0.00, 0.00);
- CreateObject(19450, 257.75, 1783.82, 701.65, 0.00, 0.00, 0.00);
- CreateObject(19388, 257.75, 1777.43, 701.65, 0.00, 0.00, 0.00);
- CreateObject(19388, 259.37, 1782.08, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19388, 265.76, 1782.08, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19450, 268.40, 1775.63, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19358, 256.17, 1781.31, 701.65, 0.00, 0.00, 90.00);
- CreateObject(2606, 256.21, 1781.15, 702.56, 13.50, 0.00, 0.00);
- CreateObject(2165, 255.78, 1780.60, 700.09, 0.00, 0.00, 0.00);
- CreateObject(1806, 256.45, 1779.59, 700.09, 0.00, 0.00, 0.00);
- CreateObject(2078, 255.16, 1777.82, 700.11, 0.00, 0.00, 90.00);
- CreateObject(2462, 257.00, 1776.04, 700.26, 0.00, 0.00, 180.00);
- CreateObject(19418, 257.25, 1776.20, 701.06, 90.00, 90.00, 90.00);
- CreateObject(19418, 256.93, 1776.10, 701.06, 90.00, 90.00, 324233.00);
- CreateObject(19418, 257.04, 1776.30, 701.06, 90.00, 90.00, 342.00);
- CreateObject(334, 257.00, 1776.08, 701.41, 90.00, 0.00, 90.00);
- CreateObject(2037, 257.28, 1776.14, 701.81, 0.00, 0.00, 180.00);
- CreateObject(348, 256.86, 1776.16, 701.77, 90.00, 0.00, 45.00);
- CreateObject(19376, 268.68, 1783.12, 700.00, 0.00, 90.00, 0.00);
- CreateObject(19376, 268.71, 1773.53, 700.00, 0.00, 90.00, 0.00);
- CreateObject(19450, 262.09, 1787.45, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19450, 269.72, 1784.41, 701.65, 0.00, 0.00, 45.00);
- CreateObject(19450, 269.61, 1780.36, 701.65, 0.00, 0.00, 0.00);
- CreateObject(19450, 272.15, 1782.08, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19358, 262.57, 1782.08, 701.65, 0.00, 0.00, 90.00);
- CreateObject(19450, 262.68, 1786.88, 701.65, 0.00, 0.00, 0.00);
- CreateObject(1702, 261.93, 1772.37, 700.08, 0.00, 0.00, 225.00);
- CreateObject(2315, 259.75, 1772.14, 700.09, 0.00, 0.00, 45.00);
- CreateObject(2315, 266.10, 1777.95, 700.09, 0.00, 0.00, 45.00);
- CreateObject(1702, 268.89, 1779.58, 700.08, 0.00, 0.00, 270.00);
- CreateObject(1702, 267.63, 1776.33, 700.08, 0.00, 0.00, 180.00);
- CreateObject(2251, 260.10, 1772.71, 701.41, 0.00, 0.00, 0.00);
- CreateObject(2251, 266.94, 1779.01, 701.41, 0.00, 0.00, 0.00);
- CreateObject(1667, 260.76, 1772.73, 700.69, 0.00, 0.00, 0.00);
- CreateObject(1667, 266.26, 1777.77, 700.69, 0.00, 0.00, 0.00);
- CreateObject(1667, 266.34, 1777.86, 700.69, 0.00, 0.00, 0.00);
- CreateObject(1667, 266.20, 1777.88, 700.69, 0.00, 0.00, 0.00);
- CreateObject(1502, 258.59, 1782.06, 699.95, 0.00, 0.00, 0.00);
- CreateObject(1502, 264.98, 1782.06, 699.95, 0.00, 0.00, 0.00);
- CreateObject(2207, 265.49, 1785.14, 700.09, 0.00, 0.00, -45.00);
- CreateObject(1714, 267.29, 1785.67, 700.10, 0.00, 0.00, -45.00);
- CreateObject(330, 266.98, 1784.24, 700.86, 90.00, 0.00, 90.00);
- CreateObject(2894, 265.87, 1785.33, 700.86, 0.00, 0.00, 0.00);
- CreateObject(2608, 263.00, 1785.07, 701.21, 0.00, 0.00, 90.00);
- CreateObject(1962, 267.85, 1786.13, 701.86, 0.00, 0.00, -45.00);
- CreateObject(2185, 258.67, 1785.35, 700.09, 0.00, 0.00, 0.00);
- CreateObject(1714, 260.03, 1786.60, 700.10, 0.00, 0.00, -45.00);
- CreateObject(1704, 260.02, 1783.92, 700.09, 0.00, 0.00, 180.00);
- CreateObject(2078, 262.38, 1784.88, 700.11, 0.00, 0.00, -90.00);
- CreateObject(2007, 257.95, 1786.74, 700.01, 0.00, 0.00, 90.00);
- CreateObject(1569, 257.81, 1776.73, 700.02, 0.00, 0.00, 45.00);
- CreateObject(2886, 257.82, 1778.48, 701.44, 0.00, 0.00, 90.00);
- CreateObject(2886, 257.82, 1778.51, 701.44, 0.00, 0.00, -90.00);
- CreateObject(2886, 257.71, 1778.48, 701.44, 0.00, 0.00, -90.00);
- CreateObject(19378, 247.74, 1783.13, 703.43, 0.00, 90.00, 0.00);
- CreateObject(19378, 247.74, 1773.55, 703.43, 0.00, 90.00, 0.00);
- CreateObject(19378, 258.23, 1773.55, 703.43, 0.00, 90.00, 0.00);
- CreateObject(19378, 268.68, 1783.12, 703.43, 0.00, 90.00, 0.00);
- CreateObject(19378, 268.71, 1773.53, 703.43, 0.00, 90.00, 0.00);
- CreateObject(19378, 258.24, 1783.14, 703.43, 0.00, 90.00, 0.00);
- Create3DTextLabel("{FFFFFF}El Quebrados Sheriff's Departament", -1, -1390.0115, 2638.8416, 55.9844, 50.00, 0, 0);
- Create3DTextLabel("{FFFFFF}Iesire[EXIT]", -1, 1866.3854,1217.4387,18.0986, 20.00, 0, 0);
- Create3DTextLabel("{FFFFFF}El Quebrados Medical Center", -1, -1514.5566,2520.1011,55.9629, 20.00, 0, 0);
- Create3DTextLabel("{FFFFFF}Iesire[EXIT]", -1, 642.9769,-172.3768,1001.2758, 20.00, 0, 0);
- Create3DTextLabel("{FFFFFF}El Quebrados News", -1, -1531.0065,2591.9971,55.8359, 20.00, 0, 0);
- Create3DTextLabel("{FFFFFF}Iesire[EXIT]", -1, 248.6405,1783.9126,701.0859, 20.00, 0, 0);
- ManualVehicleEngineAndLights();
- return 1;
- }
- public OnGameModeExit()
- {
- DB::Exit();
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- incercari[playerid] = 0;
- new nume[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
- DB::Fetch("Utilizatori", _, _, _, "`Nume` = '%q'", name);
- if (fetch_rows_count() > 0)
- {
- PlayerInfo[playerid][E_ACCOUNT_SQLID] = fetch_row_id();
- fetch_string("Password", PlayerInfo[playerid][E_ACCOUNT_PASSWORD], 64);
- PlayerInfo[playerid][pKills] = fetch_int("Kills");
- PlayerInfo[playerid][pDeaths] = fetch_int("Deaths");
- PlayerInfo[playerid][pCash] = fetch_int("Bani");
- PlayerInfo[playerid][pDeveloper] = fetch_int("Developer");
- PlayerInfo[playerid][pTester] = fetch_int("Tester");
- PlayerInfo[playerid][pAdmin] = fetch_int("Admin");
- PlayerInfo[playerid][pLeader] = fetch_int("Lider");
- FactionInfo[playerid][fRank] = fetch_int("Rank");
- Dialog_Show(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FF6633}MAIN-ROLEPLAY", "{FFFFFF}Bine ai revenit pe server. Te rog introdu-ti parola mai jos pentru a te loga.", "JOIN", "IESI");
- }
- else
- {
- PlayerInfo[playerid][pSQLID] = -1;
- PlayerInfo[playerid][pPass][0] = EOS;
- PlayerInfo[playerid][pKills] = 0;
- PlayerInfo[playerid][pDeaths] = 0;
- PlayerInfo[playerid][pCash] = 0;
- PlayerInfo[playerid][pDeveloper] = 0;
- PlayerInfo[playerid][pTester] = 0;
- PlayerInfo[playerid][pAdmin] = 0;
- PlayerInfo[playerid][pLeader] = 0;
- FactionInfo[playerid][fRank] = 0;
- Dialog_Show(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "{FF6633}MAIN-ROLEPLAY", "{FFFFFF}Bine ai venit pe server! Te rog introdu-ti parola mai jos pentru a continua.", "JOIN", "IESI");
- }
- fetcher_close();
- return 1;
- RemoveBuildingForPlayer(playerid, 8489, 1932.7813, 1177.3984, 39.9219, 0.25);
- RemoveBuildingForPlayer(playerid, 8700, 1932.7813, 1177.3984, 39.9219, 0.25);
- RemoveBuildingForPlayer(playerid, 9121, 1944.8047, 1183.9141, 18.9531, 0.25);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- DB::Update("Utilizatori", PlayerInfo[playerid][pSQLID], 1,
- "Kills", INTEGER, PlayerInfo[playerid][pKills],
- "Deaths", INTEGER, PlayerInfo[playerid][pDeaths],
- "Developer", INTEGER, PlayerInfo[playerid][pDeveloper],
- "Bani", INTEGER, GetPlayerMoney(playerid),
- "Admin", INTEGER, PlayerInfo[playerid][pAdmin],
- "Tester", INTEGER, PlayerInfo[playerid][pTester],
- "Factiune", INTEGER, PlayerInfo[playerid][pFaction],
- "Rank", INTEGER, FactionInfo[playerid][fRank],
- "Lider", INTEGER, PlayerInfo[playerid][pLeader]);
- return 1;
- /*if(pInfo[playerid][DT] = 1)
- {
- new playerName[MAX_PLAYER_NAME];
- new szString[64];
- GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
- BanExWithMessage(playerid, 0xFF0000FF, "Ai fost banat 3 zile pentru /q in DT.", "/q in DT");
- format(szString, sizeof szString, "%s a iesit de pe server [/q in DT detectat].", playerName);
- ProxDetector(50.0, playerid, string[], COL_WHITE,COL_WHITE,COL_WHITE,COL_WHITE,COL_WHITE);
- format(szString, sizeof szString, "%s a fost banat pentru 3 zile de catre SERVER. Motiv: /q in DT.", playerName);
- SendClientMessageToAll(0xFF0000, sZstring);
- }*/
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- TextDrawHideForPlayer(playerid, spawntextdraw);
- if(PlayerInfo[playerid][ADT] == 1)
- {
- SetPlayerPos(playerid, 670.1275,-185.6758,1001.9141);
- SendClientMessage(playerid, -1, "{FFFFFF}TE RECUPEREZI...");
- TogglePlayerControllable(playerid, false);
- SetTimer("recuperare", 6000, false);
- PlayerInfo[playerid][ADT] = 0;
- }
- else
- {
- SetPlayerPos(playerid, -1534.6560,2645.2664,55.8359);
- }
- return 1;
- }
- public OnPlayerCommandPerformed(playerid, cmdtext[], success)
- {
- if(!success) SendClientMessage(playerid, COLOR_PURPLE, ""SERVER_NAME": {FFFFFF}Comanda necunoscuta. Foloseste [/help] pentru comenzi.");
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- PlayerInfo[playerid][pDeaths]++; // increase player's deaths count
- if (killerid != INVALID_PLAYER_ID)
- PlayerInfo[killerid][pKills]++; // increase killer's kills count if the id is of a connected player
- PlayerInfo[playerid][ADT] = 1;
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- Engine[vehicleid] = 0;
- Lights[vehicleid] = 0;
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- new nume[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
- /*if(strfind(text, "?", true) != -1)
- {
- new msg[128];
- format(msg, sizeof(msg), "{FFFFFF}%s intreaba: %s", nume, text);
- ProxDetector(50.0, playerid, msg, -1,-1,-1,-1,-1);
- }
- if(strfind(text, "!", true) != -1)
- {
- new msg[128];
- format(msg, sizeof(msg), "{FFFFFF}%s striga: %s", nume, text);
- ProxDetector(50.0, playerid, msg, -1,-1,-1,-1,-1);
- }*/
- new msg[128];
- format(msg, sizeof(msg), "{FFFFFF}%s spune: %s", nume, text);
- ProxDetector(50.0, playerid, msg, -1,-1,-1,-1,-1);
- return 0;
- }
- CMD:acceptdeath(playerid, params[]) {
- if(PlayerInfo[playerid][DT] != 1)
- return SendClientMessage(playerid, -1, "Nu esti in deathtimer!");
- if(PlayerInfo[playerid][DTT] != 1) return SendClientMessage(playerid, -1, "Nu au trecut 120 secunde!");
- SetPlayerPos(playerid,317.2694,54.9657,3.3750);
- SendClientMessage(playerid, COLOR_PURPLE, " ?: {FFFFFF}Un medic care nu era la datorie te-a gasit si te-a dus la el acasa.");
- SendClientMessage(playerid, COLOR_PURPLE, " ?: {FFFFFF}Acolo ti-a oferit primul ajutor iar acum te simti bine!");
- TogglePlayerControllable(playerid, 1);
- PlayerInfo[playerid][DT] = 0;
- PlayerInfo[playerid][ADT] = 1;
- return 1;
- }
- CMD:changepass(playerid, params[])
- {
- new password[64];
- if (sscanf(params, "s[64]", password))
- return SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /changepass [parola noua]");
- // check password's length
- new len = strlen(password);
- if (len > MAX_PASSWORD_LENGTH || len < MIN_PASSWORD_LENGTH)
- {
- new str[150];
- format(str, sizeof (str), "Parola invalida. Caractele sunt intre %i si %i.", MIN_PASSWORD_LENGTH, MAX_PASSWORD_LENGTH);
- return SendClientMessage(playerid, 0xFFFFFFFF, str);
- }
- // hashing the password
- SHA256_PassHash(password, PASSWORD_SALT, p_Account[playerid][E_ACCOUNT_PASSWORD], 64);
- // update player's password
- DB::Update("Utilizatori", PlayerInfo[playerid][pSQLID], 1,
- "Parola", STRING, PlayerInfo[playerid][pPass]);
- return SendClientMessage(playerid, 0xFFFFFFFF, "Parola schimbata!");
- }
- CMD:fkick(playerid,params[])
- {
- if(PlayerInfo[playerid][pAdmin] >= 6)//Replace this with your player variable
- {
- new targetid;//establishes a person on the server to use the command on
- if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, COLOR_RED, "/fackick [id]");//tells you how to use the command if you use it incorrectly
- if(targetid != INVALID_PLAYER_ID)//checks if the id you type in is an id that is not connected to the server
- {
- PlayerInfo[targetid][pFaction] = 0; //kicks the player from his faction
- FactionInfo[targetid][fRank] = 0;//sets his rank to 0
- PlayerInfo[targetid][pLeader] = 0;// revokes his leadership status
- SendClientMessage(targetid,COLOR_CYAN,"Ai fost dat afara din factiunea ta, de catre un administrator!");//tells them they have been kicked out of their faction by an admin.
- }
- }
- else//if they arent an admin then it will send them they message below telling them they may not use the command
- {
- SendClientMessage(playerid, COLOR_RED, "Nu esti autorizat.");
- }
- return 1;
- }
- CMD:setleader(playerid, params[])
- {
- if(PlayerInfo[playerid][pAdmin] >= 6) //Replace this with your player variable
- {
- new targetid, facid;//establishes a player and a faction id, to be typed in
- if(sscanf(params,"ui",targetid, facid)) return SendClientMessage(playerid, COLOR_RED,"/makeleader [id][Faction id]");//if the command is misused it will tell them the correct way to use it
- if(targetid != INVALID_PLAYER_ID)//checks if the id you type in is an id that is not connected to the server
- {
- new string[128];
- PlayerInfo[targetid][pFaction] = facid; //sets the players faction to the faction you choose
- PlayerInfo[targetid][fRank] = 1;//sets their rank to the highest rank
- PlayerInfo[targetid][pLeader] = facid;
- if(facid == 1)//checks if the factionid typed was 1, and tells them they are the leader of the police below
- {
- SendClientMessage(targetid,COLOR_CYAN,"ACUM ESTI LIDER P(olice)D(epartament).");
- }
- else if(facid == 2)
- {
- SendClientMessage(targetid,COLOR_CYAN,"ACUM ESTI LIDER M(edical)S(ervices).");
- }
- else if(facid == 3)
- {
- SendClientMessage(playerid, COLOR_CYAN,"ACUM ESTI PRIMAR: E(l)Q(uebrados)G(overnor)");
- }
- else
- {
- format(string, sizeof(string), "NEW FACTION LEADER ID: %s, felicitari!", PlayerInfo[targetid][pFaction]);
- SendClientMessage(targetid, COLOR_CYAN, string);//sets their leadership to the id of the faction
- }
- }
- }
- else //if the player is not an admin it will show the below message telling them they are not an admin.
- {
- SendClientMessage(playerid, COLOR_RED, "Nu esti autorizat.");
- }
- return 1;
- }
- CMD:finvite(playerid, params[])
- {
- if(PlayerInfo[playerid][pLeader] > 0 || FactionInfo[playerid][fRank] == 2)
- {
- new tarid, facid;
- new string[128];
- if(sscanf(params, "u", tarid)) return SendClientMessage(playerid, COLOR_RED, "> !: /invite [playerid]");
- facid = PlayerInfo[playerid][pFaction];
- SetPVarInt(tarid, "invitefac", facid);
- format(string, sizeof(string), "Ai fost invitat in factiunea cu id-ul %s. Pentru a te alatura, /acceptfaction.", PlayerInfo[playerid][pFaction]);
- SendClientMessage(tarid, COLOR_CYAN, string);
- }
- else
- {
- SendClientMessage(playerid, COLOR_RED, "Nu ai autoritate necesara.");
- }
- return 1;
- }
- CMD:acceptinvite(playerid, params[])
- {
- new facid, string[128];
- facid = GetPVarInt(playerid, "invitefac");
- PlayerInfo[playerid][pFaction] = facid;
- if(PlayerInfo[playerid][pFaction] == 1)
- {
- FactionInfo[playerid][fRank] = 14;
- }
- else if(PlayerInfo[playerid][pFaction] == 2)
- {
- FactionInfo[playerid][fRank] = 15;
- }
- else if(PlayerInfo[playerid][pFaction] == 3)
- {
- FactionInfo[playerid][fRank] = 2;
- }
- format(string, sizeof(string), "> Ai acceptat invitatia factiunii %d.", facid);//tells the player they have accepted the faction invite
- SendClientMessage(playerid, COLOR_CYAN, string);//shows the above message in the color of CYAN
- DeletePVar(playerid, "invitefac");//deletes the saved invite
- return 1;
- }
- CMD:uninvite(playerid,params[])
- {
- if(PlayerInfo[playerid][pLeader] > 0 || FactionInfo[playerid][fRank] == 2)
- {
- new targetid;
- if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, COLOR_RED, "/copuninvite [id]");//if the command is not typed correctly it will display how to do it the right way.
- if(targetid != INVALID_PLAYER_ID)
- {
- PlayerInfo[targetid][pFaction] = 0;
- PlayerInfo[targetid][fRank] = 0;
- PlayerInfo[targetid][pLeader] = 0;
- SendClientMessage(targetid,COLOR_CYAN,"Ai fost scos din factiune.");//states you've been kicked from the faction to the player the command is used on.
- }
- }
- else
- {
- SendClientMessage(playerid, COLOR_RED, "Nu esti in factiune/Nu ai rankul necesar!");
- }
- return 1;
- }
- CMD:giverank(playerid, params[])
- {
- if(PlayerInfo[playerid][pLeader] > 0 || FactionInfo[playerid][fRank] == 2)//checks if the player is high enough rank
- {
- new targetid, rank, string[128];//establishes a player to use the command on, the rank you want to set, and some words to tell the players the actions used on them.
- if(sscanf(params, "ui", targetid, rank)) return SendClientMessage(playerid, COLOR_RED, "Usage: /giverank [playerid][rank]");//checks if the command was typed correctly
- if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_RED, "Playerul nu este conectat.");//if the player id typed is not connected it will state that to you.
- if(PlayerInfo[targetid][pFaction] != PlayerInfo[playerid][pFaction]) return SendClientMessage(playerid, COLOR_RED, "Playerul selectat nu este in factiunea ta!");//if the player is not in the same faction it will not let him set the rank.
- if(PlayerInfo[playerid][pFaction] == 1)
- {
- if(rank < 2 || rank > 17)
- {
- SendClientMessage(playerid, COLOR_RED,"Rank-urile trebuie sa fie de la 2 la 16");
- SendClientMessage(playerid, COLOR_RED,"Rank 15 reprezinta membru academie, iar 16 suspendat.");
- return 1;
- }
- }
- else if(PlayerInfo[playerid][pFaction] == 2)
- {
- if(rank < 2 || rank > 17)
- {
- SendClientMessage(playerid, COLOR_RED,"Rank-urile trebuie sa fie de la 2 la 17.");
- SendClientMessage(playerid, COLOR_RED,"Rank 16 reprezinta un membru academie, iar 17 suspendat.");
- }
- }
- else if(PlayerInfo[playerid][pFaction] == 3)
- {
- if(rank < 2 || rank > 2)
- {
- SendClientMessage(playerid, COLOR_RED,"Nu detii dreptul de a da rank-uri.");
- SendClientMessage(playerid, COLOR_RED,"Rank 2 este intotdeauna un administrator.");
- }
- }
- PlayerInfo[targetid][fRank] = rank;//sets the players rank to the rank you choose
- format(string, sizeof(string), "Rank-ul tau a fost setat la %d!", rank);
- SendClientMessage(targetid, COLOR_GREEN, string);//states that the players rank was changed
- }
- else //if the player is not the correct rank it will display this message below
- {
- SendClientMessage(playerid, COLOR_RED, "Nu esti intr-o factiune / nu ai rank-ul necesar.");
- }
- return 1;
- }
- CMD:f(playerid, params[]) return cmd_faction(playerid, params);
- CMD:faction(playerid, params[])
- {
- new string[128], text[128], ctext[60], pname[MAX_PLAYER_NAME+1];//establishes a few things needed to tell the players name, rank, and the text he has written.
- GetPlayerName(playerid, pname, sizeof(pname));//gets the name of the player using /radio
- if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, 0x46E850FF, "SERVER:{FFFFFF} /f [text]");//if /r is not used correctly it will tell you the correct way to use it
- if(PlayerInfo[playerid][pFaction] == 1)//checks if the player is in the first faction
- {
- if(PlayerInfo[playerid][pLeader] == 1)
- {
- format(string, sizeof(string), "(( Chief of Police %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);//calls a stock below that checks who the /r should be sent to
- }
- else if(FactionInfo[playerid][fRank] == 2)
- {
- format(string, sizeof(string), "(( ACOP %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 3)
- {
- format(string, sizeof(string), "(( DCOP %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 4)
- {
- format(string, sizeof(string), "(( Lieutenant %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 5)
- {
- format(string, sizeof(string), "(( Captain %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 6)
- {
- format(string, sizeof(string), "(( Commander %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 7)
- {
- format(string, sizeof(string), "(( SGT II %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 8)
- {
- format(string, sizeof(string), "(( SGT I %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 9)
- {
- format(string, sizeof(string), "(( DIII %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 10)
- {
- format(string, sizeof(string), "(( DII %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 11)
- {
- format(string, sizeof(string), "(( DI %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 12)
- {
- format(string, sizeof(string), "(( LIO %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 13)
- {
- format(string, sizeof(string), "(( PO III %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 14)
- {
- format(string, sizeof(string), "(( PO II %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 15)
- {
- format(string, sizeof(string), "(( PO I %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 16)
- {
- format(string, sizeof(string), "(( A. Student %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- else if(FactionInfo[playerid][fRank] == 17)
- {
- format(string, sizeof(string), "(( Suspendat %s: %s ))", pname, text);
- SendPDMessage(COLOR_CYAN, string);
- }
- }
- else if(PlayerInfo[playerid][pFaction] == 2)
- {
- if(FactionInfo[playerid][fRank] == 1){ ctext = "Comissioner"; }
- if(FactionInfo[playerid][fRank] == 2){ ctext = "Deputy Commissioner"; }
- if(FactionInfo[playerid][fRank] == 3){ ctext = "Division Chief"; }
- if(FactionInfo[playerid][fRank] == 4){ ctext = "Battalion Chief"; }
- if(FactionInfo[playerid][fRank] == 5){ ctext = "Captain"; }
- if(FactionInfo[playerid][fRank] == 6){ ctext = "Chief of Medicine"; }
- if(FactionInfo[playerid][fRank] == 7){ ctext = "Lieutenant"; }
- if(FactionInfo[playerid][fRank] == 8){ ctext = "Lead Paramedic"; }
- if(FactionInfo[playerid][fRank] == 9){ ctext = "Attending Physician"; }
- if(FactionInfo[playerid][fRank] == 10){ ctext = "EMT"; }
- if(FactionInfo[playerid][fRank] == 11){ ctext = "Paramedic"; }
- if(FactionInfo[playerid][fRank] == 12){ ctext = "First Responder"; }
- if(FactionInfo[playerid][fRank] == 13){ ctext = "Firefighter II"; }
- if(FactionInfo[playerid][fRank] == 14){ ctext = "Firefighter I"; }
- if(FactionInfo[playerid][fRank] == 15){ ctext = "Probationary F."; }
- format(string, sizeof(string), "(( %s %s: %s ))", ctext, pname, text);
- SendFDMessage(COLOR_CYAN, string);
- }
- else if(PlayerInfo[playerid][pFaction] == 3)
- {
- if(FactionInfo[playerid][fRank] == 1){ ctext = "Governor"; }
- if(FactionInfo[playerid][fRank] == 2){ ctext = "ADMIN"; }
- format(string, sizeof(string), "(( %s %s: %s ))", ctext, pname, text);
- SendGOVMessage(COLOR_CYAN, string);
- }
- if(PlayerInfo[playerid][pFaction] == 0)//if the player is not in a faction it will not send him any messages
- {
- return 1;
- }
- return 1;
- }
- CMD:credite(playerid, params[]) {
- SendClientMessage(playerid, -1, "{FFFFFF}Oferim respect tuturor script-urilor ce ne-au ajutat, asa ca o sa lasam jos tot ce am 'imprumutat'.");
- SendClientMessage(playerid, -1, "{FF0000}*~ {FFFFFF}ObjectMap - sistem de mapping pe server, editat putin de noi. #Drebin");
- SendClientMessage(playerid, -1, "{FFFFFF}Tot ce nu apare mai sus, este creeat de catre noi, fara 'imprumuturi'");
- return 1;
- }
- CMD:help(playerid, params[]) {
- SendClientMessage(playerid, -1, "{FFFFFF}[ROLEPLAY]: /ame, /me, /do, /shout");
- SendClientMessage(playerid, -1, "{FFFFFF}[MASINI:GENERAL]: /engine, /seatbelt, /lights, /alarm, /p(hone)car");
- SendClientMessage(playerid, -1, "{FFFFFF}[TELEFON]: /phone, /call, /sms, /contacts");
- SendClientMessage(playerid, -1, "{FFFFFF}[SCRIPT-WISE]: /tie, /maskon, /myclothes");
- SendClientMessage(playerid, -1, "{FFFFFF}[CONT]: /stats, /changepassword");
- SendClientMessage(playerid, -1, "{FFFFFF}[ITEME]: /bag, /wallet");
- SendClientMessage(playerid, -1, "{FFFFFF}[ARME]: /toaca, /reload, /giveweapon, /acceptweapon");
- SendClientMessage(playerid, -1, "{FFFFFF}[ANIMURI]: /animlist");
- SendClientMessage(playerid, -1, "{FFFFFF}[CURIER]: /incepe, /livreaza");
- SendClientMessage(playerid, -1, "{FFFFFF}[HCURIER]: /incepe, /prinde, /livreaza");
- SendClientMessage(playerid, -1, "{FFFFFF}[NEWSPAPER]: /incepe, /arunca");
- SendClientMessage(playerid, -1, "{FFFFFF}[DROGURI]: /duse, /dgive, /dplant");
- if(PlayerInfo[playerid][pFaction] == 1)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[EQPD]: /taser, /cuff, /uncuff, /freeze[DOAR PRIN RP]");
- SendClientMessage(playerid, -1, "{FFFFFF}[EQPD]: /radio, /d(epartamental), /gov(doar rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}[EQPD]: /jail, /unjail, /law, /units, /su, /mdc");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Esti politist, te ocupi cu protejarea satului.");
- }
- else if(PlayerInfo[playerid][pFaction] == 2)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[EQMS]: /heal, /cure, /hpc, /ghinsurance, /r");
- SendClientMessage(playerid, -1, "{FFFFFF}[EQMS]: /entergarage, /exitgarage, /gov(doar rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}[EQMS]: /d(epartamental)");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Esti medic, te ocupi cu salvarea oamenilor, prin roleplay + comenzi.");
- }
- else if(PlayerInfo[playerid][pFaction] == 3)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[GOVERNOR]: /government, /su, /departamental");
- SendClientMessage(playerid, -1, "{FFFFFF}[GOVERNOR]: /t(axa)s(omari)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Esti primar, nu exista foarte multe comenzi, rolezi in general.");
- SendClientMessage(playerid, -1, "{FFFFFF}// Te ocupi de satul El Quebrados, si nu ai membrii in factiune.");
- }
- else if(PlayerInfo[playerid][pFaction] == 4)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[EQN]: /news, /live");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Esti reporter. Te ocupi cu reportaje la TV/radio etc.[/news] si cu dezvaluiri in direct la TV [/live]");
- SendClientMessage(playerid, -1, "{FFFFFF}// Live este asemanator cu news la structura, dar live se foloseste la reportaje, NUMAI la TV.");
- }
- else if(PlayerInfo[playerid][pFaction] == 5)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[GANG1]: /tie, /buymats, /creategun, /buydrugs, /buyseeds");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Gang-ul este o grupare imensa. Numai insiderii se ocupa de arme/droguri, outsiderii se pot ocupa DOAR de materialel si actiuni IC.");
- SendClientMessage(playerid, -1, "{FFFFFF}// Armele si drogurile procurate de gangsteri sunt de slaba calitate IC.");
- }
- else if(PlayerInfo[playerid][pFaction] == 6)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[GANG2]: /tie, /buymats, /creategun, /buydrugs, /buyseeds");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Gang-ul este o grupare imensa. Numai insiderii se ocupa de arme/droguri, outsiderii se pot ocupa DOAR de materialel si actiuni IC.");
- SendClientMessage(playerid, -1, "{FFFFFF}// Armele si drogurile procurate de gangsteri sunt de slaba calitate IC.");
- }
- else if(PlayerInfo[playerid][pFaction] == 7)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[GANG3]: /tie, /buymats, /creategun, /buydrugs, /buyseeds");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Gang-ul este o grupare imensa. Numai insiderii se ocupa de arme/droguri, outsiderii se pot ocupa DOAR de materialel si actiuni IC.");
- SendClientMessage(playerid, -1, "{FFFFFF}// Armele si drogurile procurate de gangsteri sunt de slaba calitate IC.");
- }
- else if(PlayerInfo[playerid][pFaction] == 8)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[GANG4]: /tie, /buymats, /creategun, /buydrugs, /buyseeds");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Gang-ul este o grupare imensa. Numai insiderii se ocupa de arme/droguri, outsiderii se pot ocupa DOAR de materialel si actiuni IC.");
- SendClientMessage(playerid, -1, "{FFFFFF}// Armele si drogurile procurate de gangsteri sunt de slaba calitate IC.");
- }
- else if(PlayerInfo[playerid][pFaction] == 9)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[MAFIE1]: /tie, /mask, /buymats, /creategun, /buyseeds, /buydrugs, /buyweapon");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Mafia este o grupare restransa cu putere innalta. Insiderii pot creea/cumpara droguri/arme, iar outsiderii pot doar creea materiale si sa participe la actiuni IC.");
- }
- else if(PlayerInfo[playerid][pFaction] == 10)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[MAFIE2]: /tie, /mask, /buymats, /creategun, /buyseeds, /buydrugs, /buyweapon");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Mafia este o grupare restransa cu putere innalta. Insiderii pot creea/cumpara droguri/arme, iar outsiderii pot doar creea materiale si sa participe la actiuni IC.");
- }
- else if(PlayerInfo[playerid][pFaction] == 11)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[MAFIE3]: /tie, /mask, /buymats, /creategun, /buyseeds, /buydrugs, /buyweapon");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Mafia este o grupare restransa cu putere innalta. Insiderii pot creea/cumpara droguri/arme, iar outsiderii pot doar creea materiale si sa participe la actiuni IC.");
- }
- else if(PlayerInfo[playerid][pFaction] == 12)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[MAFIE4]: /tie, /mask, /buymats, /creategun, /buyseeds, /buydrugs, /buyweapon");
- SendClientMessage(playerid, -1, "{FFFFFF}[FOFI]: /f, /fchat(rank inalt)");
- SendClientMessage(playerid, -1, "{FFFFFF}// Mafia este o grupare restransa cu putere innalta. Insiderii pot creea/cumpara droguri/arme, iar outsiderii pot doar creea materiale si sa participe la actiuni IC.");
- }
- if(PlayerInfo[playerid][pLeader] == 1) // lider guvernamentale
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /gov, /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 2)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /gov, /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 3)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /gov, /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 4) // san news
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 5) // gang/mafie
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 6)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 7)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 8)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 9)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 10)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 11)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
- }
- else if(PlayerInfo[playerid][pLeader] == 12)
- {
- SendClientMessage(playerid, -1, "{FFFFFF}[OLEADER]: /fchat, /invite, /kick");
- }
- return 1;
- }
- CMD:engine(playerid, params[]) {
- /*new vehicle;
- new nume[MAX_PLAYER_NAME];
- new string[128];
- GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
- vehicle = GetPlayerVehicleID(playerid);
- if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "Nu esti intr-o masina!");
- if(CarInfo[playerid][cEngine] != 1)
- {
- SetVehicleParamsForPlayer(vehicle, 1);
- format(string, sizeof(string), "%s intoarce cheia si porneste masina.");
- ProxDetector(50.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- }
- else if(CarInfo[playerid][cEngine] != 0)
- {
- SetVehicleParamsForPlayer(vehicle, 0);
- format(string, sizeof(string), "%s intoarce cheia si opreste masina.");
- ProxDetector(50.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- }*/
- if(GetPlayerState(playerid) == 2)
- {
- new vehicle = GetPlayerVehicleID(playerid);
- if(Engine[vehicle] == 0)
- {
- new engine, lights, alarm, doors, bonnet, boot, objective;
- GetVehicleParamsEx(vehicle, engine, lights, alarm, doors, bonnet, boot, objective);
- Engine[vehicle] = 1;
- SetVehicleParamsEx(vehicle, 1, lights, alarm, doors, bonnet, boot, 0);
- }
- else if(Engine[vehicle] == 1)
- {
- new engine, lights, alarm, doors, bonnet, boot, objective;
- GetVehicleParamsEx(vehicle, engine, lights, alarm, doors, bonnet, boot, objective);
- Engine[vehicle] = 0;
- SetVehicleParamsEx(vehicle, 1, lights, alarm, doors, bonnet, boot, 0);
- }
- }
- else return SendClientMessage(playerid, -1, "{FFFFFF}Nu esti intr-o masina.");
- return 1;
- }
- CMD:veh(playerid, params[])
- {
- if(PlayerInfo[playerid][pDeveloper] != 1) return SendClientMessage(playerid, 0xFFFFFF, "Nu esti developer.");
- PutPlayerInVehicle(playerid, 1, 0);
- return 1;
- }
- CMD:news(playerid, params[])
- {
- new msg[128];
- if(PlayerInfo[playerid][pFaction] != 4) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti in EQN!");
- if(FactionInfo[playerid][fDuty] != 1) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti duty.");
- if(isnull(params)) return SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}/news [TEXT]");
- new nume[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
- format(msg, sizeof(msg), "{99FF66}[EQN] %s: %s", nume, params);
- SendClientMessageToAll(COLOR_PURPLE, msg);
- return 1;
- }
- CMD:live(playerid, params[])
- {
- new msg[128];
- if(PlayerInfo[playerid][pFaction] != 4) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti in EQN!");
- if(FactionInfo[playerid][fDuty] != 1) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti duty.");
- if(isnull(params)) return SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}/live [TEXT]");
- new nume[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
- format(msg, sizeof(msg), "{99FF66}[TV BROADCAST] %s: %s", nume, params);
- SendClientMessageToAll(COLOR_PURPLE, msg);
- return 1;
- }
- CMD:duty(playerid, params[])
- {
- if(PlayerInfo[playerid][pFaction] == 4)
- {
- if(FactionInfo[playerid][fDuty] == 0)
- {
- FactionInfo[playerid][fDuty] = 1;
- SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Duty!");
- }
- else if(FactionInfo[playerid][fDuty] == 1)
- {
- FactionInfo[playerid][fDuty] = 0;
- SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Off-duty!");
- }
- }
- else
- {
- SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Factiune invalida.");
- }
- return 1;
- }
- CMD:enter(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 20.00, -1390.0115,2638.8416,55.9844))
- {
- SetPlayerPos(playerid, 1866.3854,1217.4387,18.0986);
- SendClientMessage(playerid, -1, "{FFFFFF}El Quebrados Sheriff's Departament");
- }
- else if(IsPlayerInRangeOfPoint(playerid, 20.00, -1514.5566,2520.1011,55.9629))
- {
- SetPlayerPos(playerid, 642.9769,-172.3768,1001.2758);
- SendClientMessage(playerid, -1, "{FFFFFF}El Quebrados Medical Center");
- }
- else if(IsPlayerInRangeOfPoint(playerid, 20.00, -1531.0065,2591.9971,55.8359))
- {
- SetPlayerPos(playerid, 248.6405,1783.9126,701.0859);
- SendClientMessage(playerid, -1, "{FFFFFF}El Quebrados News");
- }
- return 1;
- }
- CMD:exit(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 20.00, 1866.3854,1217.4387,18.0986))
- {
- SetPlayerPos(playerid, -1390.0115,2638.8416,55.9844);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 20.00, 642.9769,-172.3768,1001.2758))
- {
- SetPlayerPos(playerid, -1514.5566,2520.1011,55.9629);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 20.00, 248.6405,1783.9126,701.0859))
- {
- SetPlayerPos(playerid, -1531.0065,2591.9971,55.8359);
- }
- return 1;
- }
- CMD:insat(playerid, params[])
- {
- if(PlayerInfo[playerid][pDeveloper] != 1) return SendClientMessage(playerid, 0xFFFFFF, " !: {FFFFFF}Nu esti developer.");
- SetPlayerPos(playerid, -1534.6560,2645.2664,55.8359);
- return 1;
- }
- CMD:eqn(playerid, params[])
- {
- SetPlayerPos(playerid, 258.67, 1785.35, 700.09);
- return 1;
- }
- CMD:up(playerid, params[])
- {
- if(PlayerInfo[playerid][pDeveloper] != 1) return SendClientMessage(playerid, -1, "{FFFFFF}Nu esti developer!");
- new Float:X, Float:Y, Float:Z;
- GetPlayerPos(playerid, X, Y, Z);
- SetPlayerPos(playerid, X, Y, Z + 2);
- return 1;
- }
- CMD:setadmin(playerid, params[])
- {
- new levels;
- new Nam[MAX_PLAYER_NAME];
- new pname[MAX_PLAYER_NAME];
- new str[128];
- new ID;
- if(PlayerInfo[playerid][pDeveloper] != 1)return SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Nu esti developer.");
- if(sscanf(params,"ui",ID,levels)) return SendClientMessage(playerid,COLOR_PURPLE, " FOLOSESTE: {FFFFFF}/setadmin [Nume sau ID] [Nivel(1-6)]");//it will show this if you dont use the format properly
- if(levels > 6) return SendClientMessage(playerid,COLOR_PURPLE," E!: {FFFFFF}Poti seta numai un nivel de la 1 la 6.");//Available levels
- if(!IsPlayerConnected(ID))return SendClientMessage(playerid,COLOR_PURPLE," E!: {FFFFFF}Utilizatorul selectat nu este conectat.");//Detect if the id/partofname is connected
- if(PlayerInfo[ID][pAdmin] == levels) return SendClientMessage(playerid,COLOR_PURPLE, " E!: {FFFFFF}Persoana selectata are deja acest nivel!");//Detect if the guy is already the level you setted
- GetPlayerName(playerid,Nam, MAX_PLAYER_NAME);//define the playerid name
- GetPlayerName(ID,pname,MAX_PLAYER_NAME);//define the other person name
- if(levels == 0)
- {
- format(str, sizeof(str)," !: {FFFFFF}%s ti-a setat nivelul de administrator la %d.",Nam,levels);
- SendClientMessage(ID,COLOR_PURPLE,str);
- format(str, sizeof(str)," !: {FFFFFF}I-ai setat lui %s nivelul de administrator la %d!",pname,levels);
- SendClientMessage(playerid,COLOR_PURPLE,str);
- PlayerInfo[ID][pAdmin] = levels;//this sets the player level
- return 1;
- }
- format(str, sizeof(str)," !: {FFFFFF}%s ti-a setat nivelul de administrator %d!",Nam,levels);
- SendClientMessage(ID,COLOR_PURPLE,str);
- format(str, sizeof(str)," !: {FFFFFF}I-ai setat lui %s nivelul de administrator la %d!",pname,levels);
- SendClientMessage(playerid,COLOR_PURPLE,str);
- PlayerInfo[ID][pAdmin] = levels;
- return 1;
- }
- /*CMD:setfaction(playerid, params[])
- {
- new levels;
- new Nam[MAX_PLAYER_NAME];
- new pname[MAX_PLAYER_NAME];
- new str[128];
- new ID;
- if(PlayerInfo[playerid][pDeveloper] != 1)return SendClientMessage(playerid, COLOR_PURPLE, " !: {FFFFFF}Nu esti developer.");
- if(sscanf(params,"ui",ID,levels)) return SendClientMessage(playerid,COLOR_PURPLE, " FOLOSESTE: {FFFFFF}/setadmin [Nume sau ID] [Nivel(1-6)]");//it will show this if you dont use the format properly
- if(levels > 6) return SendClientMessage(playerid,COLOR_PURPLE," E!: {FFFFFF}Poti seta numai un nivel de la 1 la 6.");//Available levels
- if(!IsPlayerConnected(ID))return SendClientMessage(playerid,COLOR_PURPLE," E!: {FFFFFF}Utilizatorul selectat nu este conectat.");//Detect if the id/partofname is connected
- if(PlayerInfo[ID][pFaction] == levels) return SendClientMessage(playerid,COLOR_PURPLE, " E!: {FFFFFF}Persoana selectata are deja acest nivel!");//Detect if the guy is already the level you setted
- GetPlayerName(playerid,Nam, MAX_PLAYER_NAME);//define the playerid name
- GetPlayerName(ID,pname,MAX_PLAYER_NAME);//define the other person name
- if(levels == 0)
- {
- format(str, sizeof(str)," !: {FFFFFF}%s ti-a setat nivelul de administrator la %d.",Nam,levels);
- SendClientMessage(ID,COLOR_PURPLE,str);
- format(str, sizeof(str)," !: {FFFFFF}I-ai setat lui %s nivelul de administrator la %d!",pname,levels);
- SendClientMessage(playerid,COLOR_PURPLE,str);
- PlayerInfo[ID][pFaction] = levels;//this sets the player level
- return 1;
- }
- format(str, sizeof(str)," !: {FFFFFF}%s ti-a setat nivelul de administrator %d!",Nam,levels);
- SendClientMessage(ID,COLOR_PURPLE,str);
- format(str, sizeof(str)," !: {FFFFFF}I-ai setat lui %s nivelul de administrator la %d!",pname,levels);
- SendClientMessage(playerid,COLOR_PURPLE,str);
- PlayerInfo[ID][pFaction] = levels;
- return 1;
- }*/
- CMD:aduty(playerid,params[])
- {
- if(PlayerInfo[playerid][pAdmin] >= 1)
- {
- if(PlayerInfo[playerid][aDuty] == 0)
- {
- new playerName[MAX_PLAYER_NAME];
- new szString[68];
- SetPlayerColor(playerid, 0xFFA500);
- GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
- /*format(szString, sizeof szString, "{336633}[ADMIN] %s este acum la datorie!", playerName);
- SendAdminMessage(playerid, -1, szString);*/
- PlayerInfo[playerid][aDuty] = 1;
- SendClientMessage(playerid, -1, "{336633}[ADMIN] Acum esti duty.");
- }
- else if(PlayerInfo[playerid][aDuty] == 1)
- {
- new playerName[MAX_PLAYER_NAME];
- new szString[68];
- SetPlayerColor(playerid, COLOR_PURPLE);
- GetPlayerName(playerid, playerName, MAX_PLAYER_NAME);
- /*format(szString, sizeof szString, "{336633}[ADMIN] %s nu mai este la datorie.", playerName);
- SendAdminMessage(playerid, -1, szString);*/
- SendClientMessage(playerid, -1, "{336633}[ADMIN] Nu mai esti duty.");
- PlayerInfo[playerid][aDuty] = 0;
- }
- }
- else
- {
- SendClientMessage(playerid, -1, "Nu esti administrator.");
- }
- return 1;
- }
- CMD:sethp(playerid, params[])
- {
- new ID;
- new str[128];
- new health;
- new Nam[MAX_PLAYER_NAME];
- new pname[MAX_PLAYER_NAME];
- if(sscanf(params,"ui",ID,Float:health)) return SendClientMessage(playerid, 0xFF9900AA, "FOLOSESTE: /setadmin [Nume sau ID] [HP]");
- if(Float:health < 0 || Float:health > 120) return SendClientMessage(playerid, 0xFF9900AA, "Viata trebuie sa fie intre 0 si 120.");
- if(!IsPlayerConnected(ID)) return SendClientMessage(playerid, 0xFF9900AA, "Utilizatorul selectat nu este conectat.");
- GetPlayerName(ID,pname,MAX_PLAYER_NAME);
- GetPlayerName(playerid,Nam, MAX_PLAYER_NAME);
- format(str, sizeof(str), "{FFFFFF}%s {FF0000}ti-a setat viata la {FFFFFF}%d.",Nam,health);
- SendClientMessage(ID, COLOR_PURPLE, str);
- format(str, sizeof(str), "{FF0000}I-ai setat lui {FFFFFF}%s {FF0000}viata la {FFFFFF}%d{FF0000}.",pname,health);
- SendClientMessage(playerid, COLOR_PURPLE,str);
- SetPlayerHealth(ID, health);
- return 1;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- if(IsEQPCar(vehicleid) && PlayerInfo[playerid][pFaction] != 1 && !ispassenger) //checks if the car is a faction car,and checks if the player is not in a faction or is not a passenger
- {
- ClearAnimations(playerid);//if they are a civillian and aren't a passenger it will put them out
- SendClientMessage(playerid, COLOR_PURPLE, "!: {FFFFFF}Factiune invalida.");//will send them a message telling them only police can access this vehicle
- }
- if(IsEQNVan(vehicleid) && PlayerInfo[playerid][pFaction] != 4 && !ispassenger)
- {
- ClearAnimations(playerid);
- SendClientMessage(playerid, COLOR_PURPLE, "!: {FFFFFF}Factiune invalida.");
- }
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER) // Player entered a vehicle as a driver
- {
- /*if(IsJobCar(vehicleid) && PlayerInfo[playerid][pFaction] != 4)
- {
- RemovePlayerFromVehicle(playerid);
- SendClientMessage(playerid, -1, "{FFFFFF}Factiune invalida.");
- }*/
- }
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- /*public OnPlayerHealthChange(playerid, Float:newhealth, Float:oldhealth)
- {
- if(newhealth > 20)
- {
- TogglePlayerControllable(playerid,0);
- new Text3D:label = Create3DTextLabel("(( JUCATORUL ESTE RANIT. IN-CHARACTER ESTE PE JOS. ))", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
- Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
- SendClientMessage(playerid, 0xff00000, "Ai intrat in DEATH-TIMER! Peste 120 secunde vei putea folosii /deathtimer.");
- SetTimerEx("dttimer", 120000, false, "i", playerid);
- PlayerInfo[playerid][DT] = 1;
- PlayerInfo[playerid][DTT] = 1;
- }
- return 1;
- }*/
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
- {
- new Float:health;
- GetPlayerHealth(playerid, health);
- if(issuerid != INVALID_PLAYER_ID)
- {
- if(health <= 30)
- {
- SetPlayerHealth(playerid, 100);
- TogglePlayerControllable(playerid, false);
- SendClientMessage(playerid, COLOR_PURPLE, "Esti ranit. /acceptdeath in 120 secunde.");
- new Text3D:label = Create3DTextLabel("(( JUCATORUL ESTE RANIT. IN-CHARACTER ESTE PE JOS. ))", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
- Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
- SetTimer("dttimer", 120000, false, "i", playerid);
- PlayerInfo[playerid][DT] = 1;
- PlayerInfo[playerid][DTT] = 1;
- }
- }
- return 1;
- }
- public dttimer(playerid)
- {
- SendClientMessage(playerid, 0xff00000, "Au trecut 120 secunde. Acum poti da /acceptdeath.");
- PlayerInfo[playerid][DTT] = 0;
- }
- public recuperare(playerid)
- {
- TogglePlayerControllable(playerid, true);
- SendClientMessage(playerid, -1, "{FFFFFF}Recuperat!");
- SetPlayerHealth(playerid, 100);
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- switch( dialogid )
- {
- case DIALOG_REGISTER:
- {
- if (!response) return Kick(playerid);
- if(response)
- {
- if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "{FF0000}EROARE","{FF0000}Nu ai introdus o parola"COL_WHITE".\n"COL_WHITE"Introdu-ti parola mai jos pentru a te inregistra.","Register","Quit");
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File,"data");
- INI_WriteInt(File,"Password",udb_hash(inputtext));
- INI_WriteInt(File,"Cash",0);
- INI_WriteInt(File,"Admin",0);
- INI_WriteInt(File,"Kills",0);
- INI_WriteInt(File,"Deaths",0);
- INI_WriteInt(File,"Tester",0);
- INI_WriteInt(File,"Developer",0);
- INI_WriteInt(File,"Factiune",0);
- INI_WriteInt(File,"Lider",0);
- INI_Close(File);
- SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- TextDrawShowForPlayer(playerid, spawntextdraw);
- }
- }
- case DIALOG_LOGIN:
- {
- if ( !response ) return Kick ( playerid );
- if( response )
- {
- if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
- SpawnPlayer(playerid);
- TextDrawShowForPlayer(playerid, spawntextdraw);
- }
- else
- {
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"{FF0000}EROARE","{FF0000}Parola incorecta.\n"COL_WHITE"Te rog introdu-ti parola in casuta de mai jos.","LOGHEAZA","IESI");
- }
- return 1;
- }
- }
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
- stock UserPath(playerid)
- {
- new string[128],playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid,playername,sizeof(playername));
- format(string,sizeof(string),PATH,playername);
- return string;
- }
- /*Credits to Dracoblue*/
- stock udb_hash(buf[]) {
- new length=strlen(buf);
- new s1 = 1;
- new s2 = 0;
- new n;
- for (n=0; n<length; n++)
- {
- s1 = (s1 + buf[n]) % 65521;
- s2 = (s2 + s1) % 65521;
- }
- return (s2 << 16) + s1;
- }
- forward LoadUser_data(playerid,name[],value[]);
- public LoadUser_data(playerid,name[],value[])
- {
- INI_Int("Password",PlayerInfo[playerid][pPass]);
- INI_Int("Cash",PlayerInfo[playerid][pCash]);
- INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
- INI_Int("Kills",PlayerInfo[playerid][pKills]);
- INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
- INI_Int("Tester",PlayerInfo[playerid][pTester]);
- INI_Int("Developer",PlayerInfo[playerid][pDeveloper]);
- INI_Int("Factiune",PlayerInfo[playerid][pFaction]);
- INI_Int("Lider",PlayerInfo[playerid][pLeader]);
- INI_Int("Rank",FactionInfo[playerid][fRank]);
- return 1;
- }
- public SendAdminMessage(playerid, color, const message[])
- {
- if(PlayerInfo[playerid][pAdmin] = 1)
- {
- new szString[68];
- SendClientMessage(playerid, color, szString);
- }
- return 1;
- }
- public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
- {
- if(IsPlayerConnected(playerid))
- {
- new Float:posx, Float:posy, Float:posz;
- new Float:oldposx, Float:oldposy, Float:oldposz;
- new Float:tempposx, Float:tempposy, Float:tempposz;
- GetPlayerPos(playerid, oldposx, oldposy, oldposz);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i) && (GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i)))
- {
- GetPlayerPos(i, posx, posy, posz);
- tempposx = (oldposx -posx);
- tempposy = (oldposy -posy);
- tempposz = (oldposz -posz);
- if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16)))
- {
- SendClientMessage(i, col1, string);
- }
- else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8)))
- {
- SendClientMessage(i, col2, string);
- }
- else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4)))
- {
- SendClientMessage(i, col3, string);
- }
- else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2)))
- {
- SendClientMessage(i, col4, string);
- }
- else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
- {
- SendClientMessage(i, col5, string);
- }
- }
- else
- {
- SendClientMessage(i, col1, string);
- }
- }
- }
- return 1;
- }
- forward BanExPublic(playerid, reason[]);
- public BanExPublic(playerid, reason[])
- {
- BanEx(playerid, reason);
- }
- stock BanExWithMessage(playerid, color, message[], reason[])
- {
- SendClientMessage(playerid, color, message);
- SetTimerEx("BanExPublic", 1000, false, "ds", playerid, reason);
- }
- stock IsJobCar(vehicleid)
- {
- new EQNCar[MAX_VEHICLES];
- for(new i = 0; i < sizeof(EQNCar); i++)
- if(vehicleid == EQNCar[i])
- return true;
- return false;
- }
- stock SendPDMessage(col, string[])
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerInfo[i][pFaction] == 1)
- SendClientMessage(i, col, string); //goes through all the players checking who is and isint in faction 1
- }
- return 1;
- }
- stock SendFDMessage(col, string[])
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerInfo[i][pFaction] == 2)
- SendClientMessage(i, col, string);
- }
- return 1;
- }
- stock SendGOVMessage(col, string[])
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(PlayerInfo[i][pFaction] == 3)
- SendClientMessage(i, col, string);
- }
- return 1;
- }
- stock IsEQPCar(vehicleid)
- {
- switch(GetVehicleModel(vehicleid))
- {
- case 523,427,528,596,598,597,599,601,497,430: return 1; //checks if the vehicle id is a faction restricted vehicle
- }
- return 0;
- }
- stock IsEQNVan(vehicleid)
- {
- switch(GetVehicleModel(vehicleid))
- {
- case 582: return 1;
- }
- return 0;
- }
- Dialog:DIALOG_LOGIN(playerid, response, listitem, inputtext[])
- {
- if (!response)
- return Kick(playerid);
- new password[64];
- SHA256_PassHash(inputtext, PASSWORD_SALT, password, sizeof (password));
- if (strcmp(PlayerInfo[playerid][pPass], password))
- {
- incercari[playerid]++;
- new str[150];
- format(str, sizeof (str), "Parola incorecta. Au mai ramas %i/%i incercari.", incercari[playerid], MAX_LOGIN_ATTEMPTS);
- SendClientMessage(playerid, 0xFFFFFFFF, str);
- if (incercari[playerid] >= MAX_LOGIN_ATTEMPTS)
- return Kick(playerid);
- return Dialog_Show(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FF6633}MAIN-ROLEPLAY", "{FFFFFF}Trebuie sa te loghezi pentru a continua sa te joci pe server. Introdu-ti mai jos parola.", "JOIN", "IESI");
- }
- new nume[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nume, MAX_PLAYER_NAME);
- new str[150];
- format(str, sizeof (str), "----- {FF6633}%s {FFFFFF}-----", nume);
- SendClientMessage(playerid, 0xFFFFFFFF, str);
- ResetPlayerMoney(playerid);
- GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
- new ip[18];
- GetPlayerIp(playerid, ip, sizeof (ip));
- DB::Update("Utilizatori", PlayerInfo[playerid][pSQLID], 1,
- "IP", STRING, ip);
- return 1;
- }
- Dialog:DIALOG_REGISTER(playerid, response, listitem, inputtext[])
- {
- if (!response)
- return Kick(playerid);
- if (!inputtext[0] || inputtext[0] == ' ')
- {
- SendClientMessage(playerid, 0xFFFFFFFF, "Parola nu se potriveste, nu poate fi lasata goala.");
- return Dialog_Show(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "{FF3366}MAIN-ROLEPLAY", "{FFFFFF}Bine ai venit pe "SERVER_NAME"!\nIntrodu-ti parola mai jos.", "CONTINUA", "IESI");
- }
- new len = strlen(inputtext);
- if (len > MAX_PASSWORD_LENGTH || len < MIN_PASSWORD_LENGTH)
- {
- new str[150];
- format(str, sizeof (str), "Parola trebuie sa fie intre %i si %i caractere.", MIN_PASSWORD_LENGTH, MAX_PASSWORD_LENGTH);
- SendClientMessage(playerid, 0xFFFFFFFF, str);
- return Dialog_Show(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "{FF3366}MAIN-ROLEPLAY", "{FFFFFF}Bine ai venit pe "SERVER_NAME"!\nIntrodu-ti parola mai jos.", "CONTINUA", "IESI");
- }
- SHA256_PassHash(inputtext, PASSWORD_SALT, PlayerInfo[playerid][pPass], 64);
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, MAX_PLAYER_NAME);
- new str[150];
- format(str, sizeof (str), "----- {FF3366}%s {FFFFFF}-----", name);
- SendClientMessage(playerid, 0xFFFFFFFF, str);
- new ip[18];
- GetPlayerIp(playerid, ip, sizeof (ip));
- DB::CreateRow("Utilizatori",
- "Nume", STRING, name,
- "Parola", STRING, PlayerInfo[playerid][pPass],
- "IP", STRING, ip,
- "Admin", INTEGER, PlayerInfo[playerid][pAdmin],
- "Tester", INTEGER, PlayerInfo[playerid][pTester],
- "Developer", STRING, PlayerInfo[playerid][pDeveloper]);
- DB::Fetch("Utilizatori", _, _, _, "`Nume` = '%q'", name);
- PlayerInfo[playerid][pSQLID] = fetch_row_id();
- fetcher_close();
- return 1;
- }
Add Comment
Please, Sign In to add comment