Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // === Includes === //
- #include <a_samp>
- #include <zcmd>
- #include <YSI\y_ini>
- #include <sscanf2>
- #include <foreach>
- // === Login/Register === //
- #define PATH "Users/%s.ini"
- // === Colors === //
- #define WHITE "{FFFFFF}"
- #define RED "{FF0000}"
- #define HRED "{7F0000)"
- #define GREEN "{00FF22}"
- #define LIGHTBLUE "{00CED1}"
- #define PURPLE 0xC2A2DAAA
- // === Stocks === //
- stock UserPath(playerid)
- {
- new string[128],playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid,playername,sizeof(playername));
- format(string,sizeof(string),PATH,playername);
- return string;
- }
- stock ClearChat(playerid)
- {
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- SendClientMessage(playerid, -1, " ");
- return 1;
- }
- stock GetName(playerid)
- {
- new
- name[24];
- GetPlayerName(playerid, name, sizeof(name));
- strreplace(name, '_', ' ');
- return name;
- }
- stock strreplace(string[], find, replace)
- {
- for(new i=0; string[i]; i++)
- {
- if(string[i] == find)
- {
- string[i] = replace;
- }
- }
- }
- stock ProxDetector(Float:radi, playerid, string[],color)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- foreach(Player,i)
- {
- if(IsPlayerInRangeOfPoint(i,radi,x,y,z))
- {
- SendClientMessage(i,color,string);
- }
- }
- }
- 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;
- }
- // === Dialog Defines === //
- #define DIALOG_REGISTER 1
- #define DIALOG_LOGIN 2
- #define DIALOG_SUCCESS_1 3
- #define DIALOG_SUCCESS_2 4
- // === Forwards === //
- forward LoadUser_data(playerid,name[],value[]);
- forward payday(playerid);
- // === Enums == //
- enum pInfo
- {
- pPass,
- pCash,
- pDev,
- pHelper,
- pHDuty,
- pAdmin,
- pKills,
- pDeaths
- }
- new PlayerInfo[MAX_PLAYERS][pInfo];
- // === News === //
- new Text:Textdraw0;
- main()
- {
- print("\n----------------------------------");
- print(" Roleplay");
- print("----------------------------------\n");
- }
- public OnGameModeInit()
- {
- // Standard stuff //
- SetTimer("payday", 360000, true);
- SetGameModeText(" Roleplay");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- DisableInteriorEnterExits();
- // Textdraws //
- Textdraw0 = TextDrawCreate(437.000000, 430.000000, "Sparke Roleplay");
- TextDrawBackgroundColor(Textdraw0, 255);
- TextDrawFont(Textdraw0, 2);
- TextDrawLetterSize(Textdraw0, 0.499996, 1.200001);
- TextDrawColor(Textdraw0, -1);
- TextDrawSetOutline(Textdraw0, 1);
- TextDrawSetProportional(Textdraw0, 1);
- // Mappings //
- CreateObject(19456, 2442.48706, -946.98187, 34.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, -2473.19385, -947.03558, 31.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2465.51074, -951.86072, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2454.48926, -951.86969, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2464.45923, -942.14594, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 695.12341, -11207.43457, -3460.63086, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2459.22729, -942.28833, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19455, 2467.77930, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2464.29248, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2460.79370, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 8926.37500, -6501.69287, -7986.34375, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2259.51343, 8334.60938, -4365.91211, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2457.29370, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 9314.98730, 7398.31543, -1365.54895, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2464.94458, -951.83643, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2452.91553, -938.59210, 31.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19455, -6559.60254, -3010.57666, -4910.30273, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2454.05835, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, -1779.04272, 3819.04883, -8897.56836, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2450.58228, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2469.62109, -946.90051, 31.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2447.08521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2443.58521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2443.52734, -942.28058, 31.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2445.81055, -951.85028, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(8572, 3450.40942, 8122.78711, -4693.34326, 0.00000, 0.00000, 0.00000);
- CreateObject(8572, 2468.62354, -948.08887, 31.58510, 0.00000, 0.00000, -90.00000);
- CreateObject(18028, 542.83014, -80.41399, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.85156, -77.96094, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.76349, -70.69993, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(15034, 10111.89648, 4816.30127, -7432.86035, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2477.90918, -951.84698, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2474.68555, -942.39313, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 9980.64746, 3604.13110, -5454.52246, 0.00000, 0.00000, 0.00000);
- CreateObject(19542, 2477.91699, -942.42902, 35.53144, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2484.02344, -942.33301, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2803.80664, 8126.12305, -7939.70313, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2479.45020, -941.12152, 34.35120, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 8762.40332, -3891.15747, -7513.29150, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2479.44238, -952.21118, 34.35120, 0.00000, 0.00000, 0.00000);
- CreateObject(1556, 2479.39380, -945.89941, 32.91260, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2479.45532, -948.06787, 37.15950, 0.00000, 0.00000, -180.00000);
- CreateObject(19452, 2477.83643, -946.76080, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(19452, 2474.74121, -946.74976, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(19524, 2472.47729, -948.13556, 34.47657, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2469.71655, -955.60138, 34.54380, 0.00000, 0.00000, 0.00000);
- CreateObject(1498, -7577.62207, 200.20715, 589.06403, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2474.57959, -951.86700, 34.35120, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2461.16772, -946.99823, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2468.07178, -946.97339, 35.75000, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.37402, -951.88599, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2464.65186, -946.97162, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2464.92017, -951.82239, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19537, 2446.96826, -942.24927, 32.81786, 0.00000, 0.00000, 0.00000);
- CreateObject(19537, 2441.46118, -942.19916, 29.48672, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2466.46509, -942.16443, 30.60710, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2155.91284, -740.63019, 110.75777, 0.00000, 0.00000, 0.00000);
- CreateObject(19552, 2146.28809, -708.74860, 76.78431, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2457.68335, -946.97827, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(0, 2454.23657, -947.00848, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2450.69971, -946.94989, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.23730, -946.94220, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2443.77686, -946.94531, 35.72810, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2457.02197, -951.85480, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2458.03296, -951.84967, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2442.47241, -947.13458, 30.57200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, -2473.19385, -947.03558, 31.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2465.51074, -951.86072, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2454.48926, -951.86969, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2465.03979, -942.27380, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 695.12341, -11207.43457, -3460.63086, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2467.77930, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2464.29248, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2460.79370, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 8926.37500, -6501.69287, -7986.34375, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2259.51343, 8334.60938, -4365.91211, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2457.30029, -946.92096, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 9314.98730, 7398.31543, -1365.54895, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2464.94458, -951.83643, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2453.18774, -942.30591, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19455, -6559.60254, -3010.57666, -4910.30273, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2454.05835, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, -1779.04272, 3819.04883, -8897.56836, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2450.58228, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2469.59741, -947.15942, 30.57200, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2447.08521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2443.58521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2443.54639, -942.29657, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2445.79297, -951.85986, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(8572, 3450.40942, 8122.78711, -4693.34326, 0.00000, 0.00000, 0.00000);
- CreateObject(18028, 542.83014, -80.41399, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.85156, -77.96094, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.76349, -70.69993, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(15034, 10111.89648, 4816.30127, -7432.86035, 0.00000, 0.00000, 0.00000);
- CreateObject(19448, 2471.46240, -947.33368, 32.75190, 0.00000, -90.00000, 0.00000);
- CreateObject(19452, 2477.20752, -951.86310, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 9980.64746, 3604.13110, -5454.52246, 0.00000, 0.00000, 0.00000);
- CreateObject(19542, 2477.91699, -942.42902, 35.53144, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2484.02344, -942.33301, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2803.80664, 8126.12305, -7939.70313, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 8762.40332, -3891.15747, -7513.29150, 0.00000, 0.00000, 0.00000);
- CreateObject(1556, 2479.39380, -945.89941, 32.91260, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2479.45532, -948.06787, 37.15950, 0.00000, 0.00000, -180.00000);
- CreateObject(19452, 2477.83643, -946.76080, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(19452, 2471.25781, -946.74432, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(19452, 2469.65356, -944.53577, 34.54380, 0.00000, 0.00000, 0.00000);
- CreateObject(19524, 2472.47729, -948.13556, 34.47657, 0.00000, 0.00000, 0.00000);
- CreateObject(1498, -7577.62207, 200.20715, 589.06403, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2474.57959, -951.86700, 34.35120, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2461.16772, -946.99823, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.37402, -951.88599, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2464.65186, -946.97162, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2464.90137, -951.81586, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19537, 2446.96826, -942.24927, 32.81786, 0.00000, 0.00000, 0.00000);
- CreateObject(19537, 2441.46118, -942.19916, 29.48672, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2466.46509, -942.16443, 30.60710, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2155.91284, -740.63019, 110.75777, 0.00000, 0.00000, 0.00000);
- CreateObject(19552, 2146.28809, -708.74860, 76.78431, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2457.68335, -946.97827, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(0, 2454.23657, -947.00848, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2450.69971, -946.94989, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.23730, -946.94220, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2443.77686, -946.94531, 35.72810, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2457.00610, -951.84265, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2458.03296, -951.84967, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2445.13916, -942.31049, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2454.77319, -942.26129, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2441.22998, -947.30011, 32.72950, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2454.15576, -946.93103, 35.73980, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2467.02026, -942.23877, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19448, 2474.82910, -947.23187, 32.75190, 0.00000, -90.00000, 0.00000);
- CreateObject(19448, 2478.33398, -946.92828, 32.75190, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2442.48706, -946.98187, 34.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, -2473.19385, -947.03558, 31.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2465.51074, -951.86072, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2454.48926, -951.86969, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 695.12341, -11207.43457, -3460.63086, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2459.22729, -942.28833, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19455, 2467.77930, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2464.29248, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2460.79370, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 8926.37500, -6501.69287, -7986.34375, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2259.51343, 8334.60938, -4365.91211, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2457.29370, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 9314.98730, 7398.31543, -1365.54895, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2464.94458, -951.83643, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2452.91553, -938.59210, 31.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19455, -6559.60254, -3010.57666, -4910.30273, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2454.05835, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, -1779.04272, 3819.04883, -8897.56836, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2450.58228, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2469.62109, -946.90051, 31.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2447.08521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2443.58521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2443.52734, -942.28058, 31.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2445.81055, -951.85028, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(8572, 3450.40942, 8122.78711, -4693.34326, 0.00000, 0.00000, 0.00000);
- CreateObject(18028, 542.83014, -80.41399, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.85156, -77.96094, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.76349, -70.69993, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(15034, 10111.89648, 4816.30127, -7432.86035, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2477.90918, -951.84698, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 9980.64746, 3604.13110, -5454.52246, 0.00000, 0.00000, 0.00000);
- CreateObject(19542, 2477.91699, -942.42902, 35.53144, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2484.02344, -942.33301, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2803.80664, 8126.12305, -7939.70313, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 8762.40332, -3891.15747, -7513.29150, 0.00000, 0.00000, 0.00000);
- CreateObject(1556, 2479.39380, -945.89941, 32.91260, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2479.45532, -948.06787, 37.15950, 0.00000, 0.00000, -180.00000);
- CreateObject(19452, 2477.83643, -946.76080, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(19452, 2474.74121, -946.74976, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(1498, -7577.62207, 200.20715, 589.06403, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2474.57959, -951.86700, 34.35120, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2461.16772, -946.99823, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.37402, -951.88599, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2464.92017, -951.82239, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19537, 2446.96826, -942.24927, 32.81786, 0.00000, 0.00000, 0.00000);
- CreateObject(19537, 2441.46118, -942.19916, 29.48672, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2466.46509, -942.16443, 30.60710, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2155.91284, -740.63019, 110.75777, 0.00000, 0.00000, 0.00000);
- CreateObject(19552, 2146.28809, -708.74860, 76.78431, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2457.68335, -946.97827, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(0, 2454.23657, -947.00848, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2450.69971, -946.94989, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.23730, -946.94220, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2443.77686, -946.94531, 35.72810, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2457.02197, -951.85480, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2458.03296, -951.84967, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2442.47241, -947.13458, 30.57200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, -2473.19385, -947.03558, 31.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2465.51074, -951.86072, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2454.48926, -951.86969, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2465.03979, -942.27380, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 695.12341, -11207.43457, -3460.63086, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2467.77930, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2464.29248, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2460.79370, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 8926.37500, -6501.69287, -7986.34375, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2259.51343, 8334.60938, -4365.91211, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2457.30029, -946.92096, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 9314.98730, 7398.31543, -1365.54895, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2464.94458, -951.83643, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2453.18774, -942.30591, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19455, -6559.60254, -3010.57666, -4910.30273, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2454.05835, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, -1779.04272, 3819.04883, -8897.56836, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2450.58228, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2469.59741, -947.15942, 30.57200, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2447.08521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2443.58521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2443.54639, -942.29657, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2445.79297, -951.85986, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(8572, 3450.40942, 8122.78711, -4693.34326, 0.00000, 0.00000, 0.00000);
- CreateObject(18028, 542.83014, -80.41399, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.85156, -77.96094, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.76349, -70.69993, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(15034, 10111.89648, 4816.30127, -7432.86035, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2477.20752, -951.86310, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 9980.64746, 3604.13110, -5454.52246, 0.00000, 0.00000, 0.00000);
- CreateObject(19542, 2477.91699, -942.42902, 35.53144, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2484.02344, -942.33301, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2803.80664, 8126.12305, -7939.70313, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 8762.40332, -3891.15747, -7513.29150, 0.00000, 0.00000, 0.00000);
- CreateObject(1556, 2479.39380, -945.89941, 32.91260, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2479.45532, -948.06787, 37.15950, 0.00000, 0.00000, -180.00000);
- CreateObject(19452, 2477.83643, -946.76080, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(1498, -7577.62207, 200.20715, 589.06403, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2474.57959, -951.86700, 34.35120, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2461.16772, -946.99823, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.37402, -951.88599, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19537, 2446.96826, -942.24927, 32.81786, 0.00000, 0.00000, 0.00000);
- CreateObject(19537, 2441.46118, -942.19916, 29.48672, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2466.46509, -942.16443, 30.60710, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2155.91284, -740.63019, 110.75777, 0.00000, 0.00000, 0.00000);
- CreateObject(19552, 2146.28809, -708.74860, 76.78431, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2457.68335, -946.97827, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(0, 2454.23657, -947.00848, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2450.69971, -946.94989, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.23730, -946.94220, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2443.77686, -946.94531, 35.72810, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2457.00610, -951.84265, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2458.03296, -951.84967, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2445.13916, -942.31049, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2454.77319, -942.26129, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2441.22998, -947.30011, 32.72950, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2454.15576, -946.93103, 35.73980, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2467.02026, -942.23877, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2442.48706, -946.98187, 34.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, -2473.19385, -947.03558, 31.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2465.51074, -951.86072, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2454.48926, -951.86969, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 695.12341, -11207.43457, -3460.63086, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2459.22729, -942.28833, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19455, 2467.77930, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2464.29248, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2460.79370, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 8926.37500, -6501.69287, -7986.34375, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2259.51343, 8334.60938, -4365.91211, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2457.29370, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 9314.98730, 7398.31543, -1365.54895, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2464.94458, -951.83643, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2452.91553, -938.59210, 31.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19455, -6559.60254, -3010.57666, -4910.30273, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2454.05835, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, -1779.04272, 3819.04883, -8897.56836, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2450.58228, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2469.62109, -946.90051, 31.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2447.08521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2443.58521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2443.52734, -942.28058, 31.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2445.81055, -951.85028, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(8572, 3450.40942, 8122.78711, -4693.34326, 0.00000, 0.00000, 0.00000);
- CreateObject(18028, 542.83014, -80.41399, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.85156, -77.96094, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.76349, -70.69993, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(15034, 10111.89648, 4816.30127, -7432.86035, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2477.90918, -951.84698, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2474.46533, -942.39294, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 9980.64746, 3604.13110, -5454.52246, 0.00000, 0.00000, 0.00000);
- CreateObject(19542, 2477.91699, -942.42902, 35.53144, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2484.02344, -942.33301, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2803.80664, 8126.12305, -7939.70313, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 8762.40332, -3891.15747, -7513.29150, 0.00000, 0.00000, 0.00000);
- CreateObject(1556, 2479.39380, -945.89941, 32.91260, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2479.45532, -948.06787, 37.15950, 0.00000, 0.00000, -180.00000);
- CreateObject(19452, 2477.83643, -946.76080, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(19452, 2474.74121, -946.74976, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(1498, -7577.62207, 200.20715, 589.06403, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2474.57959, -951.86700, 34.35120, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2461.16772, -946.99823, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.37402, -951.88599, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2464.92017, -951.82239, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19537, 2446.96826, -942.24927, 32.81786, 0.00000, 0.00000, 0.00000);
- CreateObject(19537, 2441.46118, -942.19916, 29.48672, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2466.46509, -942.16443, 30.60710, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2155.91284, -740.63019, 110.75777, 0.00000, 0.00000, 0.00000);
- CreateObject(19552, 2146.28809, -708.74860, 76.78431, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2457.68335, -946.97827, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(0, 2454.23657, -947.00848, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2450.69971, -946.94989, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.23730, -946.94220, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2443.77686, -946.94531, 35.72810, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2457.02197, -951.85480, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2458.03296, -951.84967, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2442.47241, -947.13458, 30.57200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, -2473.19385, -947.03558, 31.07200, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2465.51074, -951.86072, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2454.48926, -951.86969, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2465.03979, -942.27380, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 695.12341, -11207.43457, -3460.63086, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2467.77930, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2464.29248, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2460.79370, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 8926.37500, -6501.69287, -7986.34375, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2259.51343, 8334.60938, -4365.91211, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2457.30029, -946.92096, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 9314.98730, 7398.31543, -1365.54895, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2464.94458, -951.83643, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2453.18774, -942.30591, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19455, -6559.60254, -3010.57666, -4910.30273, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2454.05835, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, -1779.04272, 3819.04883, -8897.56836, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2450.58228, -946.93988, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2469.59741, -947.15942, 30.57200, 0.00000, 0.00000, 0.00000);
- CreateObject(19455, 2447.08521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19455, 2443.58521, -947.20929, 29.38610, 0.00000, -90.00000, 0.00000);
- CreateObject(19456, 2443.54639, -942.29657, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2445.79297, -951.85986, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(8572, 3450.40942, 8122.78711, -4693.34326, 0.00000, 0.00000, 0.00000);
- CreateObject(18028, 542.83014, -80.41399, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.85156, -77.96094, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(18028, 499.76349, -70.69993, 999.93750, 356.85840, 0.00000, 3.14159);
- CreateObject(15034, 10111.89648, 4816.30127, -7432.86035, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2477.20752, -951.86310, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 9980.64746, 3604.13110, -5454.52246, 0.00000, 0.00000, 0.00000);
- CreateObject(19542, 2477.91699, -942.42902, 35.53144, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2484.02344, -942.33301, 34.35120, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2803.80664, 8126.12305, -7939.70313, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 8762.40332, -3891.15747, -7513.29150, 0.00000, 0.00000, 0.00000);
- CreateObject(1556, 2479.39380, -945.89941, 32.91260, 0.00000, 0.00000, -90.00000);
- CreateObject(19452, 2479.45532, -948.06787, 37.15950, 0.00000, 0.00000, -180.00000);
- CreateObject(19452, 2477.83643, -946.76080, 35.67430, 0.00000, 90.00000, 0.00000);
- CreateObject(19452, 2472.57056, -944.57330, 34.54380, 0.00000, 0.00000, 0.00000);
- CreateObject(1498, -7577.62207, 200.20715, 589.06403, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2474.57959, -951.86700, 34.35120, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2461.16772, -946.99823, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.37402, -951.88599, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19537, 2446.96826, -942.24927, 32.81786, 0.00000, 0.00000, 0.00000);
- CreateObject(19537, 2441.46118, -942.19916, 29.48672, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2466.46509, -942.16443, 30.60710, 0.00000, 0.00000, 0.00000);
- CreateObject(19544, 2155.91284, -740.63019, 110.75777, 0.00000, 0.00000, 0.00000);
- CreateObject(19552, 2146.28809, -708.74860, 76.78431, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2457.68335, -946.97827, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(0, 2454.23657, -947.00848, 35.74110, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2450.69971, -946.94989, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2447.23730, -946.94220, 35.73320, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2443.77686, -946.94531, 35.72810, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2457.00610, -951.84265, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2458.03296, -951.84967, 30.57200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2445.13916, -942.31049, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2454.77319, -942.26129, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19456, 2441.22998, -947.30011, 32.72950, 0.00000, 0.00000, 0.00000);
- CreateObject(19456, 2454.15576, -946.93103, 35.73980, 0.00000, 90.00000, 0.00000);
- CreateObject(19456, 2467.02026, -942.23877, 34.07200, 0.00000, 0.00000, 90.00000);
- CreateObject(19452, 2472.77319, -944.52881, 34.54380, 0.00000, 0.00000, 0.00000);
- CreateObject(3761, 2463.10132, -943.22351, 31.41080, 0.00000, 0.00000, -90.00000);
- CreateObject(3761, 2457.88770, -943.08667, 31.41080, 0.00000, 0.00000, -90.00000);
- CreateObject(3761, 2463.38159, -950.89001, 31.41080, 0.00000, 0.00000, 90.00000);
- CreateObject(3761, 2457.95264, -950.87079, 31.41080, 0.00000, 0.00000, 90.00000);
- CreateObject(934, 2551.22339, -1290.00598, 1044.43750, 356.85840, 0.00000, -1.57080);
- CreateObject(934, 2458.62598, -947.12781, 30.69420, 0.00000, 0.00000, 90.00000);
- CreateObject(934, 2453.41187, -947.20502, 30.69420, 0.00000, 0.00000, -90.00000);
- CreateObject(3273, 2467.84863, -941.80725, 31.36600, 0.00000, 0.00000, 90.00000);
- CreateObject(941, 2462.07837, -947.41888, 29.93320, 0.00000, 0.00000, 90.00000);
- CreateObject(941, 2450.06592, -947.41888, 29.93320, 0.00000, 0.00000, 90.00000);
- CreateObject(3287, 2449.30640, -942.40833, 32.90000, 0.00000, 0.00000, 90.00000);
- CreateObject(3287, 2452.48486, -951.86597, 32.90000, 0.00000, 0.00000, -90.00000);
- CreateObject(1279, 2450.08301, -947.94696, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.08423, -947.35254, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.05249, -946.78882, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.09082, -946.20764, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.01782, -946.16980, 30.59000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.09082, -946.20764, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.07910, -946.67596, 30.59000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.04150, -947.15442, 30.59000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.04419, -946.35199, 30.81000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.06836, -948.09924, 30.59000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.10718, -947.60077, 30.59000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.04565, -946.85358, 30.87000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2449.98853, -947.33057, 30.87000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2450.07886, -947.71875, 30.87000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.07593, -948.17242, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.08618, -947.78802, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.14111, -947.40582, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.10913, -946.44562, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.11401, -946.88477, 30.33000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.05347, -946.61688, 30.57000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.05688, -946.99634, 30.57000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.13745, -947.88507, 30.61000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.03711, -947.38062, 30.59000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.15405, -947.64563, 30.81000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.10938, -946.86060, 30.85000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.08081, -947.25958, 30.81000, 0.00000, 0.00000, 0.00000);
- CreateObject(1279, 2462.10938, -946.86060, 30.85000, 0.00000, 0.00000, 0.00000);
- CreateObject(14600, 2443.77612, -947.37970, 30.90000, 0.00000, 0.00000, 190.00000);
- CreateObject(14600, 2442.94531, -942.96576, 30.90000, 0.00000, 0.00000, 190.00000);
- CreateObject(14600, 2443.23145, -944.29700, 32.90000, 0.00000, 0.00000, 190.00000);
- CreateObject(19452, 2472.54932, -944.59100, 34.54380, 0.00000, 0.00000, 0.00000);
- CreateObject(5171, 2477.65527, -945.09088, 33.37040, 0.00000, 0.00000, -309.00000);
- CreateObject(1829, 2476.64038, -943.51764, 33.46664, 0.00000, 0.00000, 0.00000);
- CreateObject(1829, 2477.48120, -943.46948, 33.46660, 0.00000, 0.00000, 0.00000);
- CreateObject(1829, 2478.32104, -943.50146, 33.46664, 0.00000, 0.00000, 0.00000);
- CreateObject(1745, 2470.59985, -946.10461, 32.83983, 0.00000, 0.00000, 0.00000);
- CreateObject(1775, 2478.81470, -950.00415, 33.92240, 0.00000, 0.00000, -90.00000);
- CreateObject(1776, 2478.83472, -948.39099, 33.92240, 0.00000, 0.00000, -90.00000);
- CreateObject(1622, 2473.14185, -942.61310, 35.50000, 0.00000, 0.00000, 120.00000);
- CreateObject(1622, 2470.25879, -949.05322, 35.22000, 1.00000, 0.00000, 127.00000);
- CreateObject(1622, 2469.02124, -951.52917, 35.64000, 0.00000, -25.00000, -69.00000);
- CreateObject(1518, 2472.78760, -944.67133, 34.63660, 0.00000, 0.00000, 76.00000);
- CreateObject(1518, 2472.98755, -943.81128, 34.63660, 0.00000, 0.00000, 62.00000);
- CreateObject(19452, 2472.42896, -944.60980, 34.54380, 0.00000, 0.00000, 0.00000);
- CreateObject(19452, 2471.19775, -947.02429, 35.39430, 0.00000, 90.00000, 0.00000);
- CreateObject(19452, 2471.21777, -947.02429, 35.53430, 0.00000, 90.00000, 0.00000);
- return 1;
- }
- public payday(playerid)
- {
- print("RCON Warn: Theirs been a payday");
- GivePlayerMoney(playerid, 1000);
- SendClientMessage(playerid, -1, "=== Payday ===");
- SendClientMessage(playerid, -1, "=== $500 ===");
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- // Standard Stuff //
- SetPlayerColor(playerid, -1);
- // Server Info Messages //
- SendClientMessage(playerid, -1, "{FF0000}INFO:{FFFFFF} This script is in BETA stage.");
- SendClientMessage(playerid, -1, "{FF0000}INFO:{FFFFFF} Press [Spawn] to spawn your character in.");
- // Login/Register //
- if(fexist(UserPath(playerid)))
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""WHITE"Login",""WHITE"Type your password below to login.","Login","Quit");
- }
- else
- {
- ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""WHITE"Registering...",""WHITE"Type your password below to register a new account.","Register","Quit");
- }
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File,"data");
- INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
- INI_WriteInt(File,"Helper",GetPlayerMoney(playerid));
- INI_WriteInt(File,"Dev",GetPlayerMoney(playerid));
- INI_WriteInt(File,"HDuty",PlayerInfo[playerid][pHDuty]);
- INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
- INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
- INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
- INI_Close(File);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- // Textdraws //
- TextDrawShowForPlayer(playerid,Textdraw0);
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- PlayerInfo[killerid][pKills]++;
- PlayerInfo[playerid][pDeaths]++;
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- new
- textmessage[128];
- format(textmessage, sizeof(textmessage), "%s says: %s", GetName(playerid), text);
- ProxDetector(30.0, playerid, textmessage, -1);
- return 0;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- 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 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_PASSWORD, ""WHITE"Registering...",""RED"You have entered an invalid password.\n"WHITE"Type your password below to register a new account.","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,"HDDuty",0);
- INI_Close(File);
- SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- }
- }
- 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]);
- }
- else
- {
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""WHITE"Login",""RED"You have entered an incorrect password.\n"WHITE"Type your password below to login.","Login","Quit");
- }
- return 1;
- }
- }
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
- // === Custom Callbacks === //
- public LoadUser_data(playerid,name[],value[])
- {
- INI_Int("Password",PlayerInfo[playerid][pPass]);
- INI_Int("Cash",PlayerInfo[playerid][pCash]);
- INI_Int("Dev",PlayerInfo[playerid][pDev]);
- INI_Int("Helper",PlayerInfo[playerid][pHelper]);
- INI_Int("HDuty",PlayerInfo[playerid][pHDuty]);
- INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
- INI_Int("Kills",PlayerInfo[playerid][pKills]);
- INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
- return 1;
- }
- // ================== Roleplay Commands ================== //
- CMD:me(playerid, params[])
- {
- new
- string[128],
- action[100];
- if(sscanf(params, "s[100]", action))
- {
- SendClientMessage(playerid, -1, "USAGE: /me [action]");
- return 1;
- }
- else
- {
- format(string, sizeof(string), "* %s %s", GetName(playerid), action);
- ProxDetector(30, playerid, string, PURPLE);
- }
- return 1;
- }
- CMD:do(playerid, params[])
- {
- new
- string[128],
- action[100];
- if(sscanf(params, "s[100]", action))
- {
- SendClientMessage(playerid, -1, "USAGE: /do [action]");
- return 1;
- }
- else
- {
- format(string, sizeof(string), "* %s (( %s ))", action, GetName(playerid));
- ProxDetector(30, playerid, string, PURPLE);
- }
- return 1;
- }
- CMD:s(playerid, params[]) return cmd_shout(playerid, params);
- CMD:shout(playerid, params[])
- {
- new
- string[128],
- shout[100];
- if(sscanf(params, "s[100]", shout))
- {
- SendClientMessage(playerid, -1, "USAGE: /(s)hout [message]");
- return 1;
- }
- else
- {
- format(string, sizeof(string), "%s shouts: %s!",GetName(playerid),shout);
- ProxDetector(50.0, playerid, string, -1);
- }
- return 1;
- }
- // ================== Helper Commands ================== //
- CMD:hdutyon(playerid, params)
- {
- if(PlayerInfo[playerid][pHelper] > 1) return SendClientMessage(playerid, -1, ""RED"You're not a helper!");
- if(PlayerInfo[playerid][pHDuty] > 1) return SendClientMessage(playerid, -1, ""RED"You're already on duty!");
- SendClientMessage(playerid, -1, ""RED"You're now on test duty. (Your name has been set to Red you can still roleplay.");
- SetPlayerColor(playerid, 127);
- PlayerInfo[playerid][pHDuty] = 1;
- return 1;
- }
- CMD:hdutyoff(playerid, params)
- {
- if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, -1, ""RED"You're not a helper!");
- if(PlayerInfo[playerid][pHDuty] < 0) return SendClientMessage(playerid, -1, ""RED"You're already off duty!");
- SetPlayerColor(playerid, -1);
- PlayerInfo[playerid][pHDuty] = 0;
- return 1;
- }
- // ================== Test Commands ================== //
- CMD:clearchat(playerid, params)
- {
- ClearChat(playerid);
- return 1;
- }
- CMD:testadmin(playerid, params)
- {
- if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, -1, ""RED"You're not a administrator!");
- SendClientMessage(playerid, -1, "You're a administrator.");
- return 1;
- }
- CMD:testhelper(playerid, params)
- {
- if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, -1, ""RED"You're not a helper!");
- SendClientMessage(playerid, -1, "You're a helper.");
- return 1;
- }
- // ================== Backup Commands ================== //
- CMD:gotomapping(playerid, params)
- {
- SetPlayerPos(playerid, 19456, 2442.48706, -946.98187);
- return 1;
- }
- CMD:givemestats(playerid, params)
- {
- if(IsPlayerAdmin(playerid))
- PlayerInfo[playerid][pAdmin] = 5;
- PlayerInfo[playerid][pHelper] = 3;
- PlayerInfo[playerid][pDev] = 3;
- SendClientMessage(playerid, -1, ""RED"RCON Confirmed - Stats Recieved");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment