Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <ZCMD>
- #include <YSI\y_ini>
- #include <foreach>
- #define DIALOG_REGISTER 1
- #define DIALOG_LOGIN 2
- #define DIALOG_SUCCESS_1 3
- #define DIALOG_SUCCESS_2 4
- #define DIALOG_GUNS 5
- #define DIALOG_PISTOLS 6
- #define DIALOG_RIFLES 7
- #define DIALOG_SHOTGUNS 8
- #define DIALOG_SMGS 9
- #define DIALOG_SNIPER 10
- #define PATH "/CS/%s.ini"
- #define COL_WHITE "{FFFFFF}"
- #define COL_RED "{F81414}"
- #define GREEN 0x33AA33AA
- #define COL_LIGHTBLUE "{00CED1}"
- #define WHITE 0xFFFFFFAA
- #define COLOR_WHITE 0xFFFFFFFF
- #define RED 0xFF0000FF
- #define BLUE 0x0000FFFF
- #define COLOR_BLUE 0x0000FFFF
- #define YELLOW 0xFFFF00FF
- #define COLOR_YELLOW 0xFFFF00FF
- #define ORANGE 0xFF8000FF
- #define PINK 0xFF80C0FF
- #define LIGHTBLUE 0x0080C0FF
- #define GREY 0xAFAFAFAA
- #define TEAM_T 1
- #define TEAM_CT 2
- #include "../include/gl_common.inc"
- #define ADMINFS_MESSAGE_COLOR 0xFF444499
- #define PM_INCOMING_COLOR 0xFFFF22AA
- #define PM_OUTGOING_COLOR 0xFFCC2299
- static iPlayerChatTime[MAX_PLAYERS];
- static szPlayerChatMsg[MAX_PLAYERS][128];
- //------------------------------------------------
- stock IsPlayerFlooding(playerid)
- {
- if(GetTickCount() - iPlayerChatTime[playerid] < 2000)
- return 1;
- return 0;
- }
- new gTeam[MAX_PLAYERS];
- new Minutes =3;
- new Seconds =00;
- new Text:MapTime;
- new map=1;
- new KillingSpree[MAX_PLAYERS];
- new gangzone1;
- new gangzone2;
- new gangzone3;
- new gangzone4;
- new gangzone5;
- new text:LOGO;
- new text:Ran;
- #pragma tabsize 0
- forward NewMap(playerid);
- forward NewRound(playerid);
- forward GameTime();
- forward NoSpawnKill(playerid);
- forward SetPlayerTeamFromClass(playerid,classid);
- forward SendMSG();
- forward laserlight(playerid);
- forward TeamGetter(playerid);
- new RandomMSG[][] =
- {
- "~b~A PERFECT SYSTEM:READ RULES TO AVOID PUNISHMENTS",
- "~y~DONATE US TO BECOME VIP + ADMINS and VIP's Can Spawn Hydras and hunters where ever they want",
- "~r~TEAM CHAT:use ! or /tc for terrorists and /ct for counter terrorists",
- "~w~We want Admin And Donater Apply on Forums for it",
- "~l~This Is a New Server So we need RegularPlayers Bring More Player And Become Admin",
- "~r~We are new and need donations to go in hoasted tb for more fun",
- "~y~We are Just Released So we Need Testers,Wana Be one Apply On Forums",
- "~b~We are giving 100 slots for 5$ PM Commander on forums",
- "~y~Always Check forums for special packages and get the best deal from it",
- "~y~Well We Need Cash To Keep our Server Alive Donate us on (/forums)",
- "~w~Want Saw-Offs and Other Weapons, Donate Us!"
- };
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" GTA COUNTER STRIKE 1.6 by Commander_abhi");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" GTA Counter Strike 1.6 By Commander_abhi");
- print("----------------------------------\n");
- }
- enum pInfo
- {
- pPass,
- pCash,
- pAdmin,
- pKills,
- pDeaths,
- pScores,
- pVip,
- pBanned,
- pNew,
- pUpdate
- }
- new PlayerInfo[MAX_PLAYERS][pInfo];
- 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("Scroes",PlayerInfo[playerid][pScores]);
- INI_Int("VIP Level",PlayerInfo[playerid][pVip]);
- INI_Int("Banned",PlayerInfo[playerid][pBanned]);
- INI_Int("NEW",PlayerInfo[playerid][pBanned]);
- 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;
- }
- 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;
- }
- public SendMSG()
- {
- new randMSG = random(sizeof(RandomMSG));
- TextDrawSetString(Ran,RandomMSG[randMSG]);
- }
- public OnGameModeInit()
- {
- SetGameModeText("GTA-CS 1.6");
- ShowNameTags(1);
- ShowPlayerMarkers(1);
- SetWorldTime(12);
- EnableStuntBonusForAll(0);
- SetTimer("SendMSG", 120000, true);
- SetTimer("NewMap",180000,1);
- SetTimer("GameTime",1000,1);
- MapTime=TextDrawCreate(450.00000,300.000000,"_");
- TextDrawBackgroundColor(MapTime,255);
- TextDrawFont(MapTime,2);
- TextDrawLetterSize(MapTime,0.5099999,1.999999999);
- TextDrawColor(MapTime,-1);
- TextDrawSetOutline(MapTime,0);
- TextDrawSetProportional(MapTime,1);
- TextDrawSetShadow(MapTime,1);
- Ran=TextDrawCreate(1.000,400,"~r~GTA COUNTER STRIKE 1.6 ROCKZ!!!..........DONT IT?");
- CreateObject(19272, 1909.33, 3051.98, -35.94, 0.00, 0.00, 0.00);
- CreateObject(19272, 1899.98, 3101.45, -35.94, 0.00, 0.00, 0.00);
- gangzone1 = GangZoneCreate(-2563.4382,1469.6971,-2100.4907,1527.3094);//Terro Airstrip
- gangzone2 = GangZoneCreate(-2519.7449,1522.9865,-2301.2578,1572.2097);//Terro Container Ship
- gangzone3 = GangZoneCreate(-2394.2249,1576.3990,-2172.5098,1607.0685);//CT Carrier 1
- gangzone4 = GangZoneCreate(-2454.1956,1579.8042,-2423.5278,1801.3911);//CT Carrier 2
- gangzone5 = GangZoneCreate(-2323.7312,1675.7844,-2111.0886,1949.0634);//Tank Island
- //Spawn Points
- AddPlayerClass(122, -2552.5056,1501.6616,16.9075,242.4535, 30, 500, 26, 400, 35, 10);//T
- AddPlayerClass(124, -2471.7629,1537.1256,33.2344,358.6153, 30, 500, 26, 400, 35, 10);//T
- AddPlayerClass(125, -2552.5056,1501.6616,16.9075,242.4535, 30, 500, 26, 400, 35, 10);//T
- AddPlayerClass(127, -2471.7629,1537.1256,33.2344,358.6153, 30, 500, 26, 400, 35, 10);//T
- AddPlayerClass(286, -2366.3794,1602.9595,9.4613,267.8376, 31, 500, 26, 400, 35, 10);//CT
- AddPlayerClass(285, -2449.7168,1605.3429,9.1973,2.3961, 31, 500, 26, 400, 35, 10);//CT
- AddPlayerClass(287, -2366.3794,1602.9595,9.4613,267.8376, 31, 500, 26, 400, 35, 10);//CT
- AddPlayerClass(179, -2449.7168,1605.3429,9.1973,2.3961, 31, 500, 26, 400, 35, 10);//CT
- //Health Pickups
- AddStaticPickup(1240, 2, -2370.0073,1547.8729,2.1172);
- AddStaticPickup(1240, 2, -2473.2593,1545.4688,33.2273);
- AddStaticPickup(1240, 2, -2331.3948,1558.4808,33.4063);
- AddStaticPickup(1240, 2, -2381.2439,1550.1049,47.9315);
- AddStaticPickup(1240, 2, -2416.9146,1551.2083,47.9375);
- AddStaticPickup(1240, 2, -2455.0337,1534.7198,45.0245);
- AddStaticPickup(1240, 2, -2361.6406,1600.7537,9.4613);//
- AddStaticPickup(1240, 2, -2368.9829,1587.5480,16.5039);//
- AddStaticPickup(1240, 2, -2236.6799,1585.7810,32.5820);//
- AddStaticPickup(1240, 2, -2320.6108,1585.9514,32.5820);//
- AddStaticPickup(1240, 2, -2368.8433,1585.2505,32.5820);//
- AddStaticPickup(1240, 2, -2549.4006,1501.4049,16.9075);//
- AddStaticPickup(1240, 2, -2466.6760,1519.0897,16.7835);//
- AddStaticPickup(1240, 2, -2168.4199,1478.3378,17.0633);//
- AddStaticPickup(1240, 2, -2112.0835,1518.0266,33.1487);//
- AddStaticPickup(1240, 2, -2173.6499,1474.6400,33.1487);//
- AddStaticPickup(1240, 2, -2268.2744,1520.9723,33.0140);//
- AddStaticPickup(1240, 2, -2341.6772,1474.8550,33.0194);//
- AddStaticPickup(1240, 2, -2439.3054,1521.2340,32.9639);//
- AddStaticPickup(1240, 2, -2477.6208,1474.5103,32.9857);//
- AddStaticPickup(1240, 2, -2529.3250,1519.6875,32.9784);//
- AddStaticPickup(1240, 2, -2449.6917,1612.2974,9.1973);///
- AddStaticPickup(1240, 2, -2429.9229,1602.1929,32.3095);///
- AddStaticPickup(1240, 2, -2435.9954,1605.1603,16.2314);///
- AddStaticPickup(1240, 2, -2432.7117,1650.8850,32.3095);///
- AddStaticPickup(1240, 2, -2432.5742,1728.9130,32.3095);///
- AddStaticPickup(1240, 2, -2319.2344,1717.8323,19.2920);//
- AddStaticPickup(1240, 2, -2314.3035,1787.7305,19.2920);//
- AddStaticPickup(1240, 2, -2321.2278,1803.4341,3.3281);//
- AddStaticPickup(1240, 2, -2320.6865,1907.1522,19.3192);//
- AddStaticPickup(1240, 2, -2210.2124,1869.2950,19.3192);//
- AddStaticPickup(1240, 2, -2117.6316,1910.3392,19.3192);//
- AddStaticPickup(1240, 2, -2119.2976,1833.4503,19.3192);//
- AddStaticPickup(1240, 2, -2115.8286,1717.7147,19.2920);//
- AddStaticPickup(1240, 2, -2234.4136,1755.6688,19.2920);//
- AddStaticPickup(1240, 2, -2232.4956,1813.3058,3.2953);//
- AddStaticPickup(1240, 2, -2218.8967,1809.2437,51.3734);//
- AddStaticPickup(1240, 2, -2167.5691,1860.9235,51.3734);//
- AddStaticPickup(1240, 2, -2162.1257,1776.8387,51.3734);//
- AddStaticPickup(1240, 2, -2175.4075,1813.2355,35.2953);//
- //Armour
- AddStaticPickup(1242, 2, -2474.8381,1545.7266,33.2273);
- AddStaticPickup(1242, 2, -2373.4836,1547.9111,2.1172);
- AddStaticPickup(1242, 2, -2453.7458,1554.4968,28.9531);
- AddStaticPickup(1242, 2, -2432.3955,1542.6688,31.8594);
- AddStaticPickup(1242, 2, -2392.4934,1533.7300,31.8594);
- AddStaticPickup(1242, 2, -2328.3420,1544.3137,17.3281);
- AddStaticPickup(1242, 2, -2416.9436,1541.5107,10.8281);
- AddStaticPickup(1242, 2, -2457.5901,1532.0598,45.0245);
- AddStaticPickup(1242, 2, -2419.6023,1548.4219,47.9375);
- AddStaticPickup(1242, 2, -2383.9316,1547.0679,47.9315);
- AddStaticPickup(1242, 2, -2334.2900,1555.4338,33.4063);
- AddStaticPickup(1242, 2, -2361.8521,1598.9065,9.4613);//
- AddStaticPickup(1242, 2, -2370.8018,1587.4205,16.5039);//
- AddStaticPickup(1242, 2, -2372.0066,1582.3336,32.5820);//
- AddStaticPickup(1242, 2, -2323.6116,1582.7125,32.5820);//
- AddStaticPickup(1242, 2, -2275.0583,1591.5530,16.5039);//
- AddStaticPickup(1242, 2, -2239.5591,1582.6133,32.5820);//
- AddStaticPickup(1242, 2, -2546.8694,1501.6185,16.9075);//
- AddStaticPickup(1242, 2, -2460.6055,1519.2983,16.8149);//
- AddStaticPickup(1242, 2, -2168.6313,1474.5159,17.0706);//
- AddStaticPickup(1242, 2, -2109.1575,1521.3994,33.1487);//
- AddStaticPickup(1242, 2, -2170.5923,1477.9156,33.1487);//
- AddStaticPickup(1242, 2, -2265.1074,1524.3424,33.0140);//
- AddStaticPickup(1242, 2, -2339.0588,1478.0045,33.0194);//
- AddStaticPickup(1242, 2, -2436.2734,1524.4265,32.9639);//
- AddStaticPickup(1242, 2, -2474.6316,1477.8701,32.9857);//
- AddStaticPickup(1242, 2, -2526.1963,1522.8912,32.9784);//
- AddStaticPickup(1242, 2, -2447.1707,1612.2201,9.1973);///
- AddStaticPickup(1242, 2, -2433.1611,1605.4850,32.3095);///
- AddStaticPickup(1242, 2, -2435.8218,1603.0841,16.2314);///
- AddStaticPickup(1242, 2, -2429.1016,1654.3448,32.3095);///
- AddStaticPickup(1242, 2, -2429.5640,1731.7611,32.3095);///
- AddStaticPickup(1242, 2, -2315.9551,1721.0282,19.2920);//
- AddStaticPickup(1242, 2, -2311.3713,1790.7936,19.2920);//
- AddStaticPickup(1242, 2, -2321.4153,1815.5701,3.3281);//
- AddStaticPickup(1242, 2, -2317.6091,1910.0662,19.3192);//
- AddStaticPickup(1242, 2, -2213.3796,1872.2703,19.3192);//
- AddStaticPickup(1242, 2, -2114.4338,1907.3334,19.3192);//
- AddStaticPickup(1242, 2, -2116.3052,1836.4061,19.3192);//
- AddStaticPickup(1242, 2, -2118.9399,1720.6821,19.2920);//
- AddStaticPickup(1242, 2, -2231.4177,1752.7092,19.2920);//
- AddStaticPickup(1242, 2, -2236.0198,1813.4061,3.2953);//
- AddStaticPickup(1242, 2, -2215.9958,1812.1993,51.3734);//
- AddStaticPickup(1242, 2, -2170.8665,1857.7905,51.3734);//
- AddStaticPickup(1242, 2, -2165.1284,1779.8317,51.3734);//
- AddStaticPickup(1242, 2, -2178.7000,1813.3262,35.2953);//
- AddStaticVehicleEx(425,-2191.93554688,1586.78222656,17.35489464,45.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(425,-2221.24487305,1586.60815430,17.35489464,45.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(425,-2315.67944336,1545.27746582,19.62443733,90.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(425,-2349.51562500,1538.64392090,26.89787483,0.00000000,3,-1,15); //Hunter
- AddStaticVehicleEx(447,-2411.35913086,1538.68481445,31.95937538,270.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(447,-2455.77661133,1559.05407715,29.05312538,270.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(447,-2262.01660156,1566.92639160,0.00000000,90.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(447,-2476.93579102,1569.05187988,0.00000000,90.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(447,-2422.95800781,1521.04736328,17.00753212,90.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(447,-2365.37890625,1614.24047852,0.00000000,90.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(520,-2339.27661133,1587.47961426,10.38091755,0.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2352.00341797,1589.48522949,10.38091755,315.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2326.52465820,1589.83532715,10.38091755,45.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2385.76904297,1588.58190918,10.40584373,270.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2333.66748047,1585.52844238,17.41853523,0.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2346.07666016,1585.28466797,17.41853523,0.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2358.22949219,1585.14453125,17.42346954,0.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2550.82470703,1476.81347656,17.82710648,270.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(430,-2402.10839844,1590.45739746,0.00000000,0.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2294.81640625,1532.73315430,0.00000000,270.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2304.74633789,1572.98059082,0.00000000,90.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2288.81030273,1611.26867676,0.00000000,90.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2440.06713867,1565.47802734,0.00000000,90.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2558.21972656,1532.06860352,0.00000000,90.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2105.55273438,1531.99890137,0.00000000,270.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2105.32617188,1464.90930176,0.00000000,270.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2373.48168945,1465.40246582,0.00000000,270.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2557.79785156,1464.99548340,0.00000000,270.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(520,-2534.12231445,1477.34887695,17.82710648,270.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2502.96728516,1474.89819336,17.82710648,0.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2489.77954102,1475.07092285,17.82710648,0.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(425,-2111.65869141,1482.59130859,17.92157173,0.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(425,-2131.37988281,1481.92468262,17.91432953,0.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(425,-2152.14208984,1482.50634766,17.91432953,0.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(476,-2123.85839844,1519.83178711,18.24072456,180.00000000,-1,-1,15); //Rustler
- AddStaticVehicleEx(476,-2141.85620117,1519.73522949,18.24072456,180.00000000,-1,-1,15); //Rustler
- AddStaticVehicleEx(476,-2161.09570312,1519.46472168,18.24072456,180.00000000,-1,-1,15); //Rustler
- AddStaticVehicleEx(447,-2254.35424805,1461.49169922,0.00000000,90.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(447,-2156.80957031,1538.22790527,0.00000000,90.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(425,-2509.83837891,1516.72778320,17.75128937,180.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(425,-2493.94433594,1517.01782227,17.75128937,180.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(447,-2472.31542969,1462.14392090,0.00000000,90.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(425,-2359.95898438,1600.29699707,17.34996033,270.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(470,-2537.37011719,1488.02734375,17.01754379,180.00000000,-1,-1,15); //Patriot
- AddStaticVehicleEx(470,-2542.01269531,1487.88134766,17.01754379,180.00000000,-1,-1,15); //Patriot
- AddStaticVehicleEx(470,-2539.52783203,1509.31994629,17.01754379,0.00000000,-1,-1,15); //Patriot
- AddStaticVehicleEx(470,-2535.45849609,1509.22387695,17.01754379,0.00000000,-1,-1,15); //Patriot
- AddStaticVehicleEx(470,-2543.50561523,1509.34008789,17.01754379,0.00000000,-1,-1,15); //Patriot
- AddStaticVehicleEx(468,-2546.98242188,1487.03149414,16.66753197,0.00000000,-1,-1,15); //Sanchez
- AddStaticVehicleEx(468,-2550.68725586,1486.88403320,16.66753197,0.00000000,-1,-1,15); //Sanchez
- AddStaticVehicleEx(468,-2554.51586914,1487.14794922,16.66753197,0.00000000,-1,-1,15); //Sanchez
- AddStaticVehicleEx(468,-2443.43652344,1517.90625000,16.36566544,180.00000000,-1,-1,15); //Sanchez
- AddStaticVehicleEx(468,-2441.61718750,1517.83886719,16.35553360,180.00000000,-1,-1,15); //Sanchez
- AddStaticVehicleEx(447,-2571.56933594,1492.16784668,0.00000000,0.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(520,-2435.75000000,1587.51269531,10.13414669,0.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(425,-2445.97387695,1611.88684082,17.07745743,180.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(520,-2432.53320312,1642.20324707,17.14603233,90.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2432.35815430,1631.15026855,17.15096664,90.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2432.40917969,1619.75683594,17.15096664,90.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2436.43530273,1634.11254883,10.11690140,90.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2436.88183594,1644.87622070,10.11690140,134.99987793,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2439.34057617,1622.98547363,10.11690140,45.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(425,-2429.73876953,1777.08618164,17.08239174,0.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(425,-2429.30053711,1755.07580566,17.08239174,0.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(476,-2445.59057617,1670.45764160,17.40154457,0.00000000,-1,-1,15); //Rustler
- AddStaticVehicleEx(476,-2445.47119141,1700.67053223,17.40154457,0.00000000,-1,-1,15); //Rustler
- AddStaticVehicleEx(447,-2462.47119141,1734.74206543,0.00000000,0.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(447,-2413.20703125,1719.08593750,0.00000000,0.00000000,-1,-1,15); //Seasparrow
- AddStaticVehicleEx(430,-2418.61621094,1696.49938965,0.00000000,0.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(430,-2457.45605469,1653.18029785,0.00000000,0.00000000,-1,-1,15); //Predator
- AddStaticVehicleEx(425,-2163.68237305,1839.84851074,36.14631271,90.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(425,-2163.38085938,1820.39257812,36.14631271,90.00000000,-1,-1,15); //Hunter
- AddStaticVehicleEx(432,-2154.71069336,1786.70141602,35.39464951,90.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2154.77465820,1793.64489746,35.39464951,90.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2154.74975586,1800.23742676,35.39464951,90.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2154.84887695,1806.89575195,35.39464951,90.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(520,-2128.98193359,1922.91259766,4.16066837,90.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2128.94189453,1938.40478516,4.16066837,90.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2305.11328125,1701.90576172,4.13347244,270.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(520,-2305.67285156,1686.59985352,4.13347244,270.00000000,-1,-1,15); //Hydra
- AddStaticVehicleEx(425,-2330.39306641,1808.89514160,4.17912531,270.00000000,1,1,15); //Hunter
- AddStaticVehicleEx(432,-2250.52905273,1837.06140137,3.39464998,180.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2260.59008789,1837.13476562,3.39464998,180.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2239.71166992,1837.20336914,3.39464998,180.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2228.91845703,1837.01696777,3.39464998,180.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2218.27392578,1836.71325684,3.39464998,180.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2207.62915039,1836.40966797,3.39464998,180.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2197.10009766,1836.93591309,3.39464998,180.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2175.24658203,1836.79675293,3.39464998,180.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2186.16381836,1836.34460449,3.39464998,180.00000000,-1,-1,15); //Rhino
- AddStaticVehicleEx(432,-2319.48999023,1782.96020508,3.31323385,270.00000000,36,1,15); //Rhino
- AddStaticVehicleEx(432,-2319.61352539,1767.72888184,3.31323385,270.00000000,36,1,15); //Rhino
- AddStaticVehicleEx(432,-2319.30615234,1775.57470703,3.31323385,270.00000000,36,1,15); //Rhino
- AddStaticVehicleEx(432,-2319.87768555,1760.92187500,3.31323385,270.00000000,36,1,15); //Rhino
- CreateObject(3279,-2418.29956055,1549.84167480,30.85937500,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(1)
- CreateObject(3279,-2382.68920898,1548.74255371,30.85333443,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(2)
- CreateObject(3279,-2332.81152344,1557.20898438,16.32812500,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(3)
- CreateObject(3279,-2456.22045898,1533.44433594,27.94637680,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(4)
- CreateObject(16782,-2478.81811523,1548.97985840,34.34358978,0.00000000,0.00000000,0.00000000); //object(a51_radar_scan)(1)
- CreateObject(2985,-2469.79418945,1546.16577148,35.80468750,0.00000000,0.00000000,0.00000000); //object(minigun_base)(1)
- CreateObject(11480,-2395.95971680,1550.60900879,33.05308533,0.00000000,0.00000000,0.00000000); //object(des_nwt_carport)(1)
- CreateObject(2567,-2421.36206055,1541.96179199,11.75572586,0.00000000,0.00000000,0.00000000); //object(ab_warehouseshelf)(1)
- CreateObject(2567,-2396.95874023,1532.21960449,32.78697586,0.00000000,0.00000000,0.00000000); //object(ab_warehouseshelf)(2)
- CreateObject(3800,-2400.16552734,1542.89721680,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(1)
- CreateObject(3800,-2400.17358398,1541.79663086,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(2)
- CreateObject(3800,-2400.14672852,1543.91381836,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(3)
- CreateObject(3800,-2400.12695312,1544.96643066,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(4)
- CreateObject(3800,-2400.10644531,1544.92492676,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(5)
- CreateObject(3800,-2400.05053711,1544.94458008,27.21431351,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(6)
- CreateObject(3800,-2400.10253906,1543.80664062,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(7)
- CreateObject(3800,-2400.05957031,1543.85229492,27.21431351,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(8)
- CreateObject(3800,-2400.10742188,1542.85034180,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(9)
- CreateObject(3800,-2401.24780273,1542.89440918,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(10)
- CreateObject(3800,-2401.24658203,1541.79760742,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(11)
- CreateObject(3800,-2401.27978516,1543.94506836,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(12)
- CreateObject(3800,-2401.22583008,1543.91674805,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(13)
- CreateObject(3800,-2401.17016602,1543.90954590,27.21431351,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(14)
- CreateObject(3800,-2401.27734375,1545.02319336,25.04687500,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(15)
- CreateObject(3800,-2401.26562500,1545.01855469,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(16)
- CreateObject(3800,-2401.18334961,1544.93896484,27.21431351,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(17)
- CreateObject(3800,-2401.18750000,1542.85400391,26.13059425,0.00000000,0.00000000,0.00000000); //object(acbox4_sfs)(18)
- CreateObject(2985,-2469.74951172,1543.60278320,35.80468750,0.00000000,0.00000000,0.00000000); //object(minigun_base)(2)
- CreateObject(971,-2480.64990234,1538.17297363,35.61679077,0.00000000,0.00000000,0.00000000); //object(subwaygate)(2)
- CreateObject(971,-2485.85058594,1538.36962891,35.61679077,0.00000000,0.00000000,0.00000000); //object(subwaygate)(3)
- CreateObject(971,-2490.60766602,1538.17297363,35.65576935,0.00000000,0.00000000,0.00000000); //object(subwaygate)(4)
- CreateObject(971,-2480.79296875,1552.00000000,35.89022827,0.00000000,0.00000000,0.00000000); //object(subwaygate)(5)
- CreateObject(971,-2486.59423828,1552.00000000,35.89022827,0.00000000,0.00000000,0.00000000); //object(subwaygate)(6)
- CreateObject(971,-2490.39550781,1552.18334961,36.07022095,0.00000000,0.00000000,0.00000000); //object(subwaygate)(7)
- CreateObject(971,-2494.91406250,1547.78747559,35.89022827,0.00000000,0.00000000,90.00000000); //object(subwaygate)(8)
- CreateObject(971,-2495.09741211,1542.62854004,35.95688629,0.00000000,0.00000000,90.00000000); //object(subwaygate)(9)
- CreateObject(974,-2472.50610352,1534.16772461,37.66250610,0.00000000,0.00000000,0.00000000); //object(tall_fence)(1)
- CreateObject(974,-2472.03051758,1534.16748047,37.69989395,0.00000000,0.00000000,0.00000000); //object(tall_fence)(2)
- CreateObject(971,-2481.27026367,1541.75061035,40.64022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(11)
- CreateObject(971,-2481.25073242,1548.41088867,40.62009430,90.00000000,0.00000000,0.00000000); //object(subwaygate)(12)
- CreateObject(971,-2490.07861328,1548.79614258,43.89022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(13)
- CreateObject(971,-2490.07812500,1541.61462402,43.89022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(14)
- CreateObject(971,-2480.82153320,1552.18334961,37.13524628,0.00000000,0.00000000,0.00000000); //object(subwaygate)(15)
- CreateObject(971,-2490.13793945,1552.36669922,40.37885284,0.00000000,0.00000000,0.00000000); //object(subwaygate)(16)
- CreateObject(971,-2480.73901367,1537.97631836,37.03866196,0.00000000,0.00000000,0.00000000); //object(subwaygate)(17)
- CreateObject(971,-2490.05322266,1537.97631836,40.21964264,0.00000000,0.00000000,0.00000000); //object(subwaygate)(18)
- CreateObject(971,-2490.80712891,1537.77966309,40.33043671,0.00000000,0.00000000,0.00000000); //object(subwaygate)(19)
- CreateObject(971,-2490.42553711,1552.36669922,40.29224396,0.00000000,0.00000000,0.00000000); //object(subwaygate)(20)
- CreateObject(971,-2490.83007812,1541.58203125,43.89022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(21)
- CreateObject(971,-2490.74291992,1548.78833008,43.89022827,90.00000000,0.00000000,0.00000000); //object(subwaygate)(22)
- CreateObject(971,-2495.15771484,1548.05981445,40.20707703,0.00000000,0.00000000,90.00000000); //object(subwaygate)(23)
- CreateObject(971,-2495.28076172,1542.46179199,40.31693268,0.00000000,0.00000000,90.00000000); //object(subwaygate)(24)
- CreateObject(991,-2485.49584961,1541.33923340,42.03884125,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(5)
- CreateObject(991,-2485.49316406,1547.94714355,42.01870728,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(6)
- CreateObject(991,-2485.47094727,1548.99316406,42.01870728,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(7)
- CreateObject(991,-2485.50366211,1541.34338379,42.72159576,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(8)
- CreateObject(991,-2485.47875977,1547.93090820,42.74682236,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(9)
- CreateObject(991,-2485.47875977,1549.03808594,42.76883316,0.00000000,0.00000000,90.00000000); //object(bar_barriergate1)(10)
- CreateObject(971,-2473.16723633,1541.83813477,40.37460327,90.00000000,0.00000000,0.00000000); //object(subwaygate)(25)
- CreateObject(971,-2472.26904297,1538.53540039,40.37460327,90.00000000,0.00000000,90.00000000); //object(subwaygate)(27)
- CreateObject(971,-2472.31640625,1551.35656738,40.37460327,90.00000000,0.00000000,90.00000000); //object(subwaygate)(28)
- CreateObject(971,-2472.86328125,1544.30175781,40.37460327,90.00000000,0.00000000,0.00000000); //object(subwaygate)(29)
- CreateObject(991,-2472.13720703,1555.72656250,37.28555298,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(11)
- CreateObject(991,-2472.14843750,1555.73437500,38.47649384,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(12)
- CreateObject(991,-2472.17260742,1555.74218750,39.21010590,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(13)
- CreateObject(991,-2472.91333008,1555.73437500,37.24571991,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(14)
- CreateObject(991,-2472.89233398,1555.75000000,39.20190430,0.00000000,0.00000000,0.00000000); //object(bar_barriergate1)(15)
- CreateObject(2755,-2476.33593750,1535.98901367,37.80179214,0.00000000,0.00000000,90.00000000); //object(dojo_wall)(1)
- CreateObject(2755,-2476.33593750,1553.94689941,37.80179214,0.00000000,0.00000000,90.00000000); //object(dojo_wall)(2)
- CreateObject(1723,-2475.07153320,1554.92517090,35.80468750,0.00000000,0.00000000,0.00000000); //object(mrk_seating1)(1)
- CreateObject(1723,-2471.84497070,1555.03979492,35.80468750,0.00000000,0.00000000,0.00000000); //object(mrk_seating1)(2)
- CreateObject(1724,-2480.12890625,1550.05419922,35.80468750,0.00000000,0.00000000,45.00000000); //object(mrk_seating1b)(1)
- CreateObject(1724,-2478.02929688,1551.02770996,35.80468750,0.00000000,0.00000000,0.00000000); //object(mrk_seating1b)(2)
- CreateObject(1723,-2471.41870117,1550.71313477,35.80468750,0.00000000,0.00000000,180.00000000); //object(mrk_seating1)(3)
- CreateObject(2964,-2477.62890625,1547.44323730,35.79921722,0.00000000,0.00000000,0.00000000); //object(k_pooltablesm)(1)
- CreateObject(3004,-2478.29687500,1546.93542480,36.72097397,0.00000000,0.00000000,0.00000000); //object(k_poolq2)(1)
- CreateObject(2997,-2477.17724609,1547.46691895,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballstp03)(1)
- CreateObject(3002,-2477.97167969,1547.11267090,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballspt01)(1)
- CreateObject(3003,-2477.77929688,1547.51135254,36.72956467,0.00000000,0.00000000,0.00000000); //object(k_poolballcue)(1)
- CreateObject(3000,-2476.80688477,1547.03320312,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballstp06)(1)
- CreateObject(2998,-2476.99755859,1547.86193848,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballstp04)(2)
- CreateObject(3101,-2478.20385742,1547.86547852,36.72916794,0.00000000,0.00000000,0.00000000); //object(k_poolballspt03)(1)
- CreateObject(1815,-2476.02441406,1551.80334473,35.96617126,0.00000000,0.00000000,0.00000000); //object(coffee_low_2)(1)
- CreateObject(1791,-2475.39013672,1552.34008789,36.51347733,0.00000000,0.00000000,45.00000000); //object(swank_tv_2)(1)
- CreateObject(1814,-2472.85083008,1552.69812012,35.80468750,0.00000000,0.00000000,0.00000000); //object(coffee_med_1)(1)
- CreateObject(1805,-2476.56884766,1545.16589355,36.04829788,0.00000000,0.00000000,0.00000000); //object(cj_barstool)(1)
- CreateObject(2628,-2476.59252930,1543.30175781,35.80468750,0.00000000,0.00000000,0.00000000); //object(gym_bench2)(1)
- CreateObject(1584,-2470.57104492,1555.73437500,38.03903580,0.00000000,0.00000000,0.00000000); //object(tar_gun1)(1)
- CreateObject(1583,-2474.26831055,1555.73437500,38.03074646,0.00000000,0.00000000,0.00000000); //object(tar_gun2)(1)
- CreateObject(14791,-2472.61010742,1538.00634766,37.84974670,0.00000000,0.00000000,0.00000000); //object(a_vgsgymboxa)(1)
- CreateObject(2780,-2489.49169922,1548.13195801,39.32031250,0.00000000,0.00000000,0.00000000); //object(cj_smoke_mach)(1)
- CreateObject(2780,-2489.40625000,1541.58203125,39.32031250,0.00000000,0.00000000,0.00000000); //object(cj_smoke_mach)(2)
- CreateObject(1723,-2477.58715820,1539.09643555,35.80468750,0.00000000,0.00000000,180.00000000); //object(mrk_seating1)(4)
- CreateObject(2001,-2480.70092773,1539.40600586,35.80468750,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc)(1)
- CreateObject(2001,-2479.18627930,1551.08215332,35.80468750,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc)(2)
- CreateObject(2001,-2475.88110352,1555.11083984,35.80468750,0.00000000,0.00000000,0.00000000); //object(nu_plant_ofc)(3)
- CreateObject(970,-2492.64501953,1546.44360352,31.59835625,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(4)
- CreateObject(970,-2492.63330078,1546.51306152,32.73042297,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(5)
- CreateObject(970,-2492.53442383,1546.56726074,33.89688873,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(6)
- CreateObject(970,-2492.62133789,1543.36022949,31.71315384,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(7)
- CreateObject(970,-2492.64624023,1543.30786133,32.83481598,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(8)
- CreateObject(970,-2492.66674805,1543.25134277,33.94091415,0.00000000,0.00000000,0.00000000); //object(fencesmallb)(9)
- CreateObject(970,-2485.18188477,1540.46594238,32.70445633,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(10)
- CreateObject(970,-2485.24389648,1540.39013672,33.81055450,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(11)
- CreateObject(970,-2485.11474609,1540.48046875,31.59835625,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(12)
- CreateObject(970,-2485.09912109,1549.66418457,31.59835625,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(13)
- CreateObject(970,-2485.13232422,1549.65258789,32.70445633,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(14)
- CreateObject(970,-2485.24829102,1549.61230469,33.81055450,0.00000000,0.00000000,90.00000000); //object(fencesmallb)(15)
- CreateObject(970,-2476.31591797,1550.20092773,40.77945328,90.00000000,0.00000000,90.00000000); //object(fencesmallb)(1)
- CreateObject(976,-2468.78125000,1546.77404785,36.97483063,0.00000000,0.00000000,90.00000000); //object(phils_compnd_gate)(1)
- CreateObject(976,-2468.78125000,1541.39233398,36.97418594,0.00000000,0.00000000,90.00000000); //object(phils_compnd_gate)(2)
- CreateObject(976,-2468.78125000,1534.35778809,37.05833817,0.00000000,0.00000000,90.00000000); //object(phils_compnd_gate)(3)
- CreateObject(10771,-2284.74511719,1591.79150391,3.71483231,0.00000000,0.00000000,0.00000000); //object(carrier_hull_sfse)(1)
- CreateObject(11146,-2293.75170898,1592.40002441,10.55509186,0.00000000,0.00000000,0.00000000); //object(carrier_hangar_sfs)(2)
- CreateObject(10770,-2281.48901367,1584.21484375,36.64426804,0.00000000,0.00000000,0.00000000); //object(carrier_bridge_sfse)(1)
- CreateObject(3115,-2383.75073242,1591.38244629,8.16616917,0.00000000,0.00000000,0.00000000); //object(carrier_lift1_sfse)(1)
- CreateObject(3113,-2392.46606445,1592.00158691,0.00000000,0.00000000,0.00000000,0.00000000); //object(carrier_door_sfse)(2)
- CreateObject(3114,-2341.52929688,1605.45068359,7.90440941,0.00000000,0.00000000,0.00000000); //object(carrier_lift2_sfse)(1)
- CreateObject(10772,-2283.18188477,1591.74963379,15.50389671,0.00000000,0.00000000,0.00000000); //object(carrier_lines_sfse)(1)
- CreateObject(3279,-2370.57714844,1583.93359375,15.50389576,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(2)
- CreateObject(3279,-2238.17626953,1584.32470703,15.50389481,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(3)
- CreateObject(3279,-2322.29980469,1584.37866211,15.50389481,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(4)
- CreateObject(2944,-2267.56420898,1589.42028809,9.95603657,0.00000000,0.00000000,0.00000000); //object(freight_sfw_door)(1)
- CreateObject(2944,-2273.07128906,1591.98132324,10.10237980,0.00000000,0.00000000,90.00000000); //object(freight_sfw_door)(3)
- CreateObject(2944,-2225.05639648,1581.90832520,9.95603657,0.00000000,0.00000000,0.00000000); //object(freight_sfw_door)(4)
- CreateObject(2944,-2275.58203125,1589.91320801,16.99858856,0.00000000,0.00000000,90.00000000); //object(freight_sfw_door)(5)
- CreateObject(2934,-2356.66650391,1601.07263184,12.81859589,0.00000000,0.00000000,0.00000000); //object(kmb_container_red)(1)
- CreateObject(2935,-2356.59521484,1601.13134766,9.91326141,0.00000000,0.00000000,0.00000000); //object(kmb_container_yel)(1)
- CreateObject(16782,-2449.88085938,1601.04199219,9.39047432,0.00000000,0.00000000,90.00000000); //object(a51_radar_scan)(3)
- CreateObject(3934,-2454.68603516,1558.41564941,27.95312500,0.00000000,0.00000000,0.00000000); //object(helipad01)(1)
- CreateObject(3934,-2412.00634766,1538.75781250,30.85937500,0.00000000,0.00000000,0.00000000); //object(helipad01)(2)
- CreateObject(3934,-2315.58056641,1545.36401367,17.77343750,0.00000000,0.00000000,0.00000000); //object(helipad01)(3)
- CreateObject(3934,-2349.49462891,1538.44982910,25.04687500,0.00000000,0.00000000,0.00000000); //object(helipad01)(4)
- CreateObject(10766,-2451.66894531,1498.65319824,13.56378174,0.00000000,0.00000000,90.00000000); //object(airport_10_sfse)(1)
- CreateObject(10766,-2212.25683594,1498.42687988,13.72682190,0.00000000,0.00000000,270.00000000); //object(airport_10_sfse)(2)
- CreateObject(10767,-2328.20336914,1498.69274902,0.92566681,0.00000000,0.00000000,315.00000000); //object(airport_11_sfse)(2)
- CreateObject(11544,-2445.03540039,1529.07019043,17.66291618,0.00000000,0.00000000,0.00000000); //object(des_ntfrescape2)(1)
- CreateObject(3406,-2558.34692383,1468.40441895,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(1)
- CreateObject(3406,-2372.29809570,1468.58557129,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(2)
- CreateObject(3406,-2104.20703125,1468.54174805,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(3)
- CreateObject(3406,-2104.40185547,1528.72888184,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(4)
- CreateObject(3406,-2294.35546875,1528.69958496,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(5)
- CreateObject(3406,-2558.43164062,1528.58288574,0.00000000,0.00000000,0.00000000,0.00000000); //object(cxref_woodjetty)(6)
- CreateObject(3279,-2527.70166016,1521.32495117,15.90028381,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(4)
- CreateObject(3279,-2437.85693359,1522.93542480,15.88578987,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(5)
- CreateObject(3279,-2476.07202148,1476.27587891,15.90753174,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(6)
- CreateObject(3279,-2340.42260742,1476.65710449,15.94129181,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(7)
- CreateObject(10767,-2328.20312500,1498.69238281,0.92566681,0.00000000,0.00000000,315.00000000); //object(airport_11_sfse)(3)
- CreateObject(3279,-2266.68359375,1522.78356934,15.93583870,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(8)
- CreateObject(3279,-2172.12500000,1476.39440918,16.07057190,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(9)
- CreateObject(3279,-2110.68872070,1519.80993652,16.07057190,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(10)
- CreateObject(3934,-2494.71972656,1491.71386719,15.71726894,0.00000000,0.00000000,0.00000000); //object(helipad01)(5)
- CreateObject(3934,-2509.83471680,1517.12927246,15.90029144,0.00000000,0.00000000,0.00000000); //object(helipad01)(6)
- CreateObject(3934,-2493.75463867,1517.36096191,15.90029144,0.00000000,0.00000000,0.00000000); //object(helipad01)(7)
- CreateObject(3934,-2423.61474609,1521.04040527,15.90752792,0.00000000,0.00000000,0.00000000); //object(helipad01)(8)
- CreateObject(10831,-2543.08105469,1498.41613770,20.82393646,0.00000000,0.00000000,90.00000000); //object(drydock3_sfse)(1)
- CreateObject(3113,-2520.22094727,1498.29943848,19.71815681,0.00000000,0.00000000,0.00000000); //object(carrier_door_sfse)(1)
- CreateObject(10771,-2438.81396484,1689.11694336,3.44232941,0.00000000,0.00000000,90.00000000); //object(carrier_hull_sfse)(1)
- CreateObject(3113,-2438.84936523,1580.76367188,0.00000000,0.00000000,0.00000000,90.00000000); //object(carrier_door_sfse)(2)
- CreateObject(3115,-2438.85058594,1590.31799316,7.89366627,0.00000000,0.00000000,90.00000000); //object(carrier_lift1_sfse)(1)
- CreateObject(3114,-2452.59985352,1632.38818359,7.64039326,0.00000000,0.00000000,90.00000000); //object(carrier_lift2_sfse)(1)
- CreateObject(11146,-2439.37036133,1680.11108398,10.29107571,0.00000000,0.00000000,90.00000000); //object(carrier_hangar_sfs)(1)
- CreateObject(2944,-2438.74926758,1702.23950195,9.89514542,0.00000000,0.00000000,0.00000000); //object(freight_sfw_door)(1)
- CreateObject(2944,-2436.42602539,1706.35095215,9.86343288,0.00000000,0.00000000,90.00000000); //object(freight_sfw_door)(2)
- CreateObject(2944,-2428.77783203,1749.55847168,9.69202042,0.00000000,0.00000000,90.00000000); //object(freight_sfw_door)(3)
- CreateObject(10770,-2431.33764648,1692.23046875,36.67481232,0.00000000,0.00000000,90.00000000); //object(carrier_bridge_sfse)(1)
- CreateObject(3279,-2431.68823242,1603.58471680,15.23139191,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(2)
- CreateObject(3279,-2430.91723633,1652.68933105,15.23139191,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(2)
- CreateObject(3279,-2431.02026367,1730.57482910,15.23139191,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(2)
- CreateObject(3934,-2446.01196289,1611.69055176,15.22645950,0.00000000,0.00000000,0.00000000); //object(helipad01)(9)
- CreateObject(14416,-2446.10351562,1592.13708496,8.20180035,0.00000000,0.00000000,0.00000000); //object(carter-stairs07)(1)
- CreateObject(14416,-2446.08227539,1597.63061523,11.39711285,0.00000000,0.00000000,0.00000000); //object(carter-stairs07)(2)
- CreateObject(14416,-2382.21289062,1598.56762695,8.47498989,0.00000000,0.00000000,270.00000000); //object(carter-stairs07)(3)
- CreateObject(14416,-2376.61621094,1598.57080078,11.67360783,0.00000000,0.00000000,269.99450684); //object(carter-stairs07)(4)
- CreateObject(2944,-2436.94702148,1699.63220215,16.72608566,0.00000000,0.00000000,0.00000000); //object(freight_sfw_door)(4)
- CreateObject(2935,-2448.13500977,1619.59436035,9.64924526,0.00000000,0.00000000,90.00000000); //object(kmb_container_yel)(2)
- CreateObject(2934,-2448.12011719,1619.56787109,12.55457973,0.00000000,0.00000000,90.00000000); //object(kmb_container_red)(1)
- CreateObject(16782,-2372.93188477,1602.97839355,9.65449142,0.00000000,0.00000000,0.00000000); //object(a51_radar_scan)(3)
- CreateObject(6976,-2473.34960938,1644.14355469,0.00000000,0.00000000,0.00000000,0.00000000); //object(shamheliprt04)(1)
- CreateObject(6976,-2329.49316406,1625.54943848,0.00000000,0.00000000,0.00000000,270.00000000); //object(shamheliprt04)(2)
- CreateObject(3934,-2430.45898438,1777.56372070,15.23139191,0.00000000,0.00000000,0.00000000); //object(helipad01)(10)
- CreateObject(3934,-2430.65087891,1755.67395020,15.23139191,0.00000000,0.00000000,0.00000000); //object(helipad01)(11)
- CreateObject(9241,-2329.90063477,1809.36755371,1.50000000,0.00000000,0.00000000,1.00000000); //object(copbits_sfn)(1)
- CreateObject(5002,-2217.40112305,1750.50231934,2.21389699,0.00000000,0.00000000,0.00000000); //object(lasrnway4_las)(1)
- CreateObject(9958,-2104.71826172,1850.13378906,6.17558289,0.00000000,0.00000000,0.00000000); //object(submarr_sfe)(1)
- CreateObject(5002,-2217.12304688,1874.37500000,2.24109268,0.00000000,0.00000000,179.99450684); //object(lasrnway4_las)(2)
- CreateObject(5442,-2323.53686523,1765.29138184,-7.80000019,270.00000000,0.00000000,90.00000000); //object(laeroad13)(1)
- CreateObject(5442,-2323.43334961,1705.59033203,-7.80000019,269.99450684,0.00000000,90.00000000); //object(laeroad13)(2)
- CreateObject(5442,-2323.56933594,1825.20581055,-7.80000019,269.99450684,0.00000000,90.00000000); //object(laeroad13)(3)
- CreateObject(5442,-2323.54467773,1884.80065918,-7.80000019,269.99450684,0.00000000,90.00000000); //object(laeroad13)(4)
- CreateObject(5442,-2323.35888672,1919.34375000,-7.80000162,269.99450684,0.00000000,90.00000000); //object(laeroad13)(5)
- CreateObject(5441,-2263.25634766,1949.25488281,-7.80000019,270.00000000,0.00000000,0.00000000); //object(laeroad12)(2)
- CreateObject(5441,-2170.47045898,1949.28027344,-7.80000019,269.99450684,0.00000000,0.00000000); //object(laeroad12)(3)
- CreateObject(5441,-2110.74560547,1889.12939453,-7.70000029,269.99450684,0.00000000,270.00000000); //object(laeroad12)(4)
- CreateObject(5441,-2110.69238281,1769.30236816,-7.69999981,269.98901367,0.00000000,269.99450684); //object(laeroad12)(5)
- CreateObject(5442,-2110.97753906,1705.49133301,-7.79999971,269.99450684,0.00000000,270.00000000); //object(laeroad13)(6)
- CreateObject(5441,-2171.14135742,1675.61779785,-7.69999981,269.98901367,0.00000000,180.00000000); //object(laeroad12)(6)
- CreateObject(5441,-2263.91918945,1675.54187012,-7.79999971,269.98901367,0.00000000,179.99450684); //object(laeroad12)(7)
- CreateObject(8390,-2218.02441406,1813.46093750,21.60000038,0.00000000,0.00000000,90.00000000); //object(multicarpark01_lvs)(1)
- CreateObject(3269,-2271.80761719,1837.52148438,34.29531097,0.00000000,0.00000000,0.00000000); //object(bonyrd_block1_)(1)
- CreateObject(3270,-2225.84375000,1818.40722656,34.29531097,0.00000000,0.00000000,314.99450684); //object(bonyrd_block2_)(1)
- CreateObject(3271,-2122.23046875,1891.34863281,2.24109650,0.00000000,0.00000000,0.00000000); //object(bonyrd_block3_)(1)
- CreateObject(3269,-2309.44238281,1889.47216797,2.24109268,0.00000000,0.00000000,0.00000000); //object(bonyrd_block1_)(1)
- CreateObject(3270,-2169.20483398,1881.68066406,2.24109268,0.00000000,0.00000000,314.99450684); //object(bonyrd_block2_)(1)
- CreateObject(3271,-2256.33154297,1742.49047852,2.21390080,0.00000000,0.00000000,0.00000000); //object(bonyrd_block3_)(1)
- CreateObject(3269,-2308.56518555,1739.59692383,2.21390080,0.00000000,0.00000000,0.00000000); //object(bonyrd_block1_)(1)
- CreateObject(3270,-2126.09106445,1739.53881836,2.21389699,0.00000000,0.00000000,314.99450684); //object(bonyrd_block2_)(1)
- CreateObject(3269,-2195.25244141,1728.49353027,2.21389699,0.00000000,0.00000000,0.00000000); //object(bonyrd_block1_)(1)
- CreateObject(3269,-2247.93310547,1885.78552246,2.24109268,0.00000000,0.00000000,180.00000000); //object(bonyrd_block1_)(1)
- CreateObject(3271,-2306.82519531,1836.97949219,2.24109268,0.00000000,0.00000000,0.00000000); //object(bonyrd_block3_)(1)
- CreateObject(3271,-2127.95092773,1784.95019531,2.21389699,0.00000000,0.00000000,180.00000000); //object(bonyrd_block3_)(1)
- CreateObject(3270,-2180.84521484,1843.29016113,34.29531860,0.00000000,0.00000000,4.00000000); //object(bonyrd_block2_)(1)
- CreateObject(3934,-2164.04077148,1820.45471191,34.29531097,0.00000000,0.00000000,0.00000000); //object(helipad01)(12)
- CreateObject(3934,-2164.45019531,1840.09423828,34.29531097,0.00000000,0.00000000,0.00000000); //object(helipad01)(13)
- CreateObject(3279,-2312.74389648,1789.25854492,2.21389508,0.00000000,0.00000000,180.00000000); //object(a51_spottower)(14)
- CreateObject(3279,-2317.46020508,1719.79809570,2.21389699,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(15)
- CreateObject(3279,-2232.97265625,1754.44250488,2.21389699,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(16)
- CreateObject(3279,-2117.47119141,1719.02502441,2.21390080,0.00000000,0.00000000,180.00000000); //object(a51_spottower)(17)
- CreateObject(3279,-2117.88574219,1834.98925781,2.24109268,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(18)
- CreateObject(3279,-2211.82568359,1870.88769531,2.24109268,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(19)
- CreateObject(3279,-2115.94067383,1908.57995605,2.24109268,0.00000000,0.00000000,180.00000000); //object(a51_spottower)(20)
- CreateObject(3279,-2319.35302734,1908.54260254,2.24109268,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(21)
- CreateObject(3279,-2217.52612305,1810.80529785,34.29531479,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(22)
- CreateObject(3279,-2169.19873047,1859.46630859,34.29531097,0.00000000,0.00000000,0.00000000); //object(a51_spottower)(23)
- CreateObject(3279,-2163.79882812,1778.40747070,34.29531097,0.00000000,0.00000000,90.00000000); //object(a51_spottower)(24)
- CreateObject(16093, 334.46, 1908.49, 20.73, 356.86, 0.00, 3.14);
- CreateObject(16638, 334.57, 1907.36, 18.98, 356.86, 0.00, 3.14);
- CreateObject(3279, 355.80, 1802.40, 16.82, 356.86, 0.00, 3.14);
- CreateObject(3279, 338.84, 1791.01, 16.82, 356.86, 0.00, 3.14);
- CreateObject(3279, 291.23, 1836.85, 16.82, 356.86, 0.00, 3.14);
- CreateObject(3279, 291.64, 1813.17, 16.82, 356.86, 0.00, 3.14);
- CreateObject(19312, 190.88, 1869.98, 21.14, 0.00, 0.00, 0.00);
- CreateObject(19313, 345.23, 1798.18, 20.36, 0.00, 0.00, 34.30);
- AddStaticVehicleEx(470, 107.6901, 1929.8098, 18.4451, 178.0000, -1, -1,15);
- AddStaticVehicleEx(470, 165.4417, 1835.1533, 17.4355, 0.0000, -1, -1,15);
- AddStaticVehicleEx(468, 202.8064, 1859.6038, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 202.9737, 1860.6914, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 202.9768, 1862.0264, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 203.2216, 1863.2230, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 203.3692, 1864.7686, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 203.4478, 1867.3367, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 203.3816, 1869.7996, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 203.4604, 1870.6644, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 203.6537, 1871.5677, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 203.4935, 1872.6764, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(468, 203.4246, 1873.5970, 12.7355, 270.2098, -1, -1,15);
- AddStaticVehicleEx(470, 221.7326, 1862.6448, 12.8379, 0.0000, -1, -1,15);
- AddStaticVehicleEx(470, 216.9748, 1862.7434, 12.8389, 0.0000, -1, -1,15);
- AddStaticVehicleEx(470, 210.8765, 1862.0496, 12.8389, 0.0000, -1, -1,15);
- AddStaticVehicleEx(470, 278.7485, 1980.7303, 17.4444, 4.9134, -1, -1,15);
- AddStaticVehicleEx(470, 284.0954, 1981.3633, 17.4444, 4.9134, -1, -1,15);
- AddStaticVehicleEx(470, 272.1668, 1979.7072, 17.4444, 4.9134, -1, -1,15);
- AddStaticVehicleEx(470, 272.9798, 1999.9458, 17.4444, 357.6282, -1, -1,15);
- AddStaticVehicleEx(470, 279.0732, 1999.1115, 17.4444, 0.7474, -1, -1,15);
- AddStaticVehicleEx(470, 284.2690, 1998.2515, 17.4444, 358.7911, -1, -1,15);
- AddStaticVehicleEx(432, 275.1103, 1947.7654, 17.4367, 272.1064, -1, -1,15);
- AddStaticVehicleEx(432, 275.3491, 1954.8365, 17.4367, 270.7900, -1, -1,15);
- AddStaticVehicleEx(432, 275.3736, 1962.4686, 17.4367, 270.7900, -1, -1,15);
- AddStaticVehicleEx(432, 275.1945, 2015.0607, 17.4367, 270.7900, -1, -1,15);
- AddStaticVehicleEx(432, 275.2711, 2023.0576, 17.4367, 270.7900, -1, -1,15);
- AddStaticVehicleEx(432, 274.6942, 2032.3602, 17.4367, 270.7900, -1, -1,15);
- AddStaticVehicleEx(425, 363.6457, 1966.3743, 18.8957, 85.5160, -1, -1,15);
- AddStaticVehicleEx(425, 364.7209, 1946.5137, 18.8957, 85.5160, -1, -1,15);
- AddStaticVehicleEx(425, 364.1567, 1929.1740, 18.8957, 85.5160, -1, -1,15);
- AddStaticVehicleEx(425, 345.8620, 1889.8176, 18.4592, 0.0000, -1, -1,15);
- AddStaticVehicleEx(520, 334.1071, 1976.9778, 18.2350, 88.9899, -1, -1,15);
- AddStaticVehicleEx(520, 333.8772, 1966.4221, 18.2350, 88.9899, -1, -1,15);
- AddStaticVehicleEx(520, 332.8164, 1956.1558, 18.2350, 88.9899, -1, -1,15);
- AddStaticVehicleEx(520, 334.5634, 1988.2069, 18.2350, 88.9899, -1, -1,15);
- AddStaticVehicleEx(425, 125.0149, 1827.1084, 18.7686, 0.0000, -1, -1,15);
- AddStaticVehicleEx(425, 124.1768, 1848.4303, 18.7686, 0.0000, -1, -1,15);
- AddStaticVehicleEx(432, 183.2254, 1930.9156, 17.4367, 180.6465, -1, -1,15);
- AddStaticVehicleEx(432, 175.5770, 1930.9961, 17.4367, 179.4690, -1, -1,15);
- AddStaticVehicleEx(432, 170.1578, 1931.6016, 17.4367, 179.4690, -1, -1,15);
- AddStaticVehicleEx(470, 111.9176, 1929.7960, 18.4451, 178.0000, -1, -1,15);
- AddStaticVehicleEx(470, 102.8292, 1930.0376, 18.4451, 178.0000, -1, -1,15);
- AddStaticVehicleEx(520, 222.3110, 1910.6361, 18.3756, 268.3241, -1, -1,15);
- AddStaticVehicleEx(520, 207.2833, 1911.1577, 18.3756, 268.3241, -1, -1,15);
- AddStaticVehicleEx(520, 190.6281, 1819.8145, 18.3756, 268.3241, -1, -1,15);
- AddStaticVehicleEx(425, 229.4998, 1817.1195, 18.7686, -0.1200, -1, -1,15);
- AddStaticVehicleEx(425, 243.2495, 1817.7511, 18.7686, -0.1200, -1, -1,15);
- AddStaticVehicleEx(520, 190.7820, 1911.9928, 18.3756, 268.3241, -1, -1,15);
- AddStaticVehicleEx(520, 174.3013, 1820.0845, 18.3756, 268.3241, -1, -1,15);
- AddStaticVehicleEx(470, 160.4068, 1835.5292, 17.4355, 0.0000, -1, -1,15);
- AddStaticVehicleEx(432, 269.0349, 1835.6174, 17.4367, 180.6465, -1, -1,15);
- AddStaticVehicleEx(432, 256.4266, 1835.8210, 17.4367, 180.6465, -1, -1,15);
- CreateObject(2780, 956.69, -44.53, 1000.11, 0.00, 0.00, 56.13);
- CreateObject(2780, 958.82, -44.01, 1000.11, 0.00, 0.00, 21.44);
- CreateObject(18102, 965.15, -43.14, 1007.69, 0.00, 0.00, 34.04);
- CreateObject(18102, 963.28, -43.85, 1007.69, 0.00, 0.00, 34.04);
- CreateObject(18102, 963.96, -42.35, 1007.69, 0.00, 0.00, 34.04);
- CreateObject(18102, 961.19, -44.74, 1007.69, 0.00, 0.00, 34.04);
- CreateObject(18102, 961.95, -43.06, 1007.69, 0.00, 0.00, 34.04);
- CreateObject(18102, 960.14, -42.80, 1007.69, 0.00, 0.00, 34.04);
- CreateObject(8356, 2735.66, 510.00, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2696.18, 511.12, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2656.48, 506.90, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2618.14, 507.83, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2580.26, 495.94, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2540.54, 494.98, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2500.75, 482.46, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2461.15, 478.62, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2422.04, 469.32, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2382.52, 456.82, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2343.54, 453.89, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2304.47, 452.59, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2268.54, 464.19, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2231.92, 444.87, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2735.73, 357.19, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2696.35, 354.26, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2657.86, 345.95, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2619.41, 341.73, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2581.55, 341.09, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2543.70, 341.05, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2510.45, 328.79, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2772.34, 505.15, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2771.82, 352.46, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2213.40, 443.38, -0.14, 0.00, -180.00, 0.00);
- CreateObject(3594, 2346.67, 453.03, -53.77, 0.00, 0.00, 0.30);
- CreateObject(8356, 2232.51, 520.57, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2215.06, 529.71, -44.93, 0.00, -277.00, 0.00);
- CreateObject(3594, 2514.30, 495.02, -66.47, 0.00, 0.00, 0.30);
- CreateObject(1215, 2302.15, 523.66, -50.05, 0.00, 0.00, 0.00);
- CreateObject(1215, 2315.80, 459.20, -40.61, 0.00, 0.00, 0.00);
- CreateObject(1215, 2661.31, 553.23, -57.58, 0.00, 0.00, 0.00);
- CreateObject(1215, 2657.46, 408.16, -49.98, 0.00, 0.00, 0.00);
- CreateObject(978, 2393.69, 493.28, -59.91, 0.00, 0.00, 269.91);
- CreateObject(978, 2453.05, 453.86, -59.91, 0.00, 0.00, 269.91);
- CreateObject(3594, 2589.28, 461.37, -63.73, 0.00, 0.00, 0.30);
- CreateObject(8356, 2772.34, 505.15, -0.14, 0.00, -180.00, 0.00);
- CreateObject(8356, 2772.13, 505.24, -55.58, 0.00, -91.00, 0.00);
- CreateObject(8356, 2772.13, 505.24, -19.29, 0.00, -91.00, 0.00);
- CreateObject(8356, 2772.14, 414.67, -19.29, 0.00, -91.00, 0.00);
- CreateObject(8356, 2772.14, 414.67, -55.12, 0.00, -91.00, 0.00);
- CreateObject(8356, 2212.44, 459.95, -16.90, 0.00, -273.00, 0.00);
- CreateObject(16093, 2240.95, 503.25, -56.07, 0.00, 0.00, 0.00);
- CreateObject(16638, 2241.05, 502.19, -57.80, 0.00, 0.00, 0.00);
- CreateObject(16638, 2725.26, 471.37, -70.57, 0.00, 0.00, 0.00);
- CreateObject(16093, 2725.25, 472.33, -68.81, 0.00, 0.00, 0.00);
- AddStaticVehicleEx(432, 2697.0271, 498.3182, -70.6614, 87.5152, -1, -1, 15);
- AddStaticVehicleEx(432, 2695.7036, 467.9739, -70.6614, 87.5152, -1, -1, 15);
- AddStaticVehicleEx(432, 2695.4392, 460.1740, -70.6614, 87.5152, -1, -1, 15);
- AddStaticVehicleEx(520, 2693.2217, 476.5705, -70.0654, 92.9695, -1, -1, 15);
- AddStaticVehicleEx(520, 2693.5947, 490.1692, -70.0654, 92.9695, -1, -1, 15);
- AddStaticVehicleEx(468, 2688.2366, 484.7817, -70.7635, 100.0000, -1, -1, 15);
- AddStaticVehicleEx(468, 2688.5859, 482.8939, -70.7635, 100.0000, -1, -1, 15);
- AddStaticVehicleEx(468, 2701.0220, 480.3564, -70.7635, 100.0000, -1, -1, 15);
- AddStaticVehicleEx(468, 2701.2495, 484.1704, -70.7635, 100.0000, -1, -1, 15);
- AddStaticVehicleEx(468, 2701.0771, 482.3315, -70.7635, 100.0000, -1, -1, 15);
- AddStaticVehicleEx(470, 2692.9521, 416.2958, -54.3871, 344.0912, -1, -1, 15);
- AddStaticVehicleEx(470, 2687.4697, 417.6106, -54.3871, 337.1415, -1, -1, 15);
- AddStaticVehicleEx(470, 2681.5171, 417.2497, -54.3871, 337.1415, -1, -1, 15);
- AddStaticVehicleEx(425, 2660.4890, 523.7181, -63.5738, 352.0000, -1, -1, 15);
- AddStaticVehicleEx(425, 2676.0229, 524.8920, -63.5738, 352.0000, -1, -1, 15);
- AddStaticVehicleEx(425, 2690.2307, 527.3481, -63.5738, 352.0000, -1, -1, 15);
- AddStaticVehicleEx(520, 2660.6233, 450.0788, -67.8828, 92.9695, -1, -1, 15);
- AddStaticVehicleEx(520, 2630.1008, 458.4692, -65.0386, 92.9695, -1, -1, 15);
- AddStaticVehicleEx(432, 2655.0022, 481.3980, -68.5950, 87.5152, -1, -1, 15);
- AddStaticVehicleEx(432, 2615.4766, 494.9131, -68.5950, 87.5152, -1, -1, 15);
- AddStaticVehicleEx(470, 2495.9995, 427.8694, -51.3140, 98.0000, -1, -1, 15);
- AddStaticVehicleEx(470, 2478.9919, 437.8706, -55.5380, 98.0000, -1, -1, 15);
- AddStaticVehicleEx(447, 2435.9978, 496.2985, -59.8510, 78.4385, -1, -1, 15);
- AddStaticVehicleEx(447, 2424.0261, 496.5947, -59.8510, 79.9332, -1, -1, 15);
- AddStaticVehicleEx(425, 2531.5500, 454.0077, -60.2106, -100.0000, -1, -1, 15);
- AddStaticVehicleEx(447, 2290.2856, 509.6642, -54.7301, 270.0000, -1, -1, 15);
- AddStaticVehicleEx(447, 2278.7341, 509.3372, -54.7301, 270.0000, -1, -1, 15);
- AddStaticVehicleEx(468, 2244.1372, 500.0304, -58.9417, 0.0000, -1, -1, 15);
- AddStaticVehicleEx(468, 2242.8755, 499.8716, -58.9417, 0.0000, -1, -1, 15);
- AddStaticVehicleEx(468, 2241.5183, 500.3960, -58.9417, 0.0000, -1, -1, 15);
- AddStaticVehicleEx(468, 2240.2180, 500.4848, -58.9417, 0.0000, -1, -1, 15);
- AddStaticVehicleEx(468, 2238.5911, 500.3748, -58.9417, 0.0000, -1, -1, 15);
- return 1;
- }
- public OnGameModeExit()
- {
- TextDrawDestroy(MapTime);
- return 1;
- }
- public GameTime()
- {
- if(Seconds||Minutes){
- Seconds--;
- if(Seconds<= -1){
- Minutes--;
- Seconds=59;
- }
- new TimeString[128];
- format(TimeString,sizeof(TimeString),"~g~ Time Left~w~:%02d:%02d",Minutes,Seconds);
- TextDrawSetString(MapTime,TimeString);
- }
- return 1;
- }
- forward AC(playerid);
- public AC(playerid)
- {
- new Float:health,Float:Armour;
- if((GetPlayerHealth(playerid,health) || GetPlayerArmour(playerid,Armour))== 99 )
- {
- }
- else
- {
- SendClientMessage(playerid,RED,"A Perfect System:(Anti-Cheat)");
- SendClientMessage(playerid,WHITE,"I Don't Like Guys Using Sobiet-Fucking Hacker's");
- SendClientMessage(playerid,RED,"(If its a mistake or a wrong ban press f8 and make a unban appeal on forums.)");
- }
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- TogglePlayerControllable(playerid,0);
- SetPlayerArmour(playerid,99);
- SetPlayerHealth(playerid,99);
- SetTimer("AC",30,0);
- SetPlayerCameraPos(playerid,963.93,-50.90,1003.09);
- SetPlayerCameraLookAt(playerid,958.8575,-45.1693,1001.1172);
- LOGO = TextDrawCreate(275.0000,1.0000,"WELCOME TO GTA COUNTER STRIKE 1.6");
- SetPVarInt(playerid, "laser", 0);
- SetPVarInt(playerid, "color", 19084);
- SetPlayerColor(playerid, GREY);
- new string[85],pname[24];
- RemoveBuildingForPlayer(playerid, 16094, 191.1406, 1870.0391, 21.4766, 0.25);
- GetPlayerName(playerid,pname,24);
- format(string,sizeof(string),"*** %s Has Joined GTA-CS!!",pname,playerid);
- SendClientMessageToAll(RED,string);
- SendClientMessage(playerid, YELLOW, "WELCOME TO GTA COUNTER STRIKE !!");
- SendClientMessage(playerid, YELLOW, "Type /rules /pc And /help Before Playing!");
- TextDrawShowForPlayer(playerid,LOGO);
- TextDrawShowForPlayer(playerid,Ran);
- GameTextForPlayer(playerid,"~w~ WELCOME TO GTA COUNTER STRIKE!~n~HOPE YOU HAVE FUN HERE!!",3000,0);
- if(fexist(UserPath(playerid)))
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
- }
- else
- {
- ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
- }
- TextDrawShowForPlayer(playerid,MapTime);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- #pragma unused reason
- iPlayerChatTime[playerid] = 0;
- szPlayerChatMsg[playerid] = "";
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File,"data");
- INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
- INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
- INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
- INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
- INI_WriteInt(File,"Scores",GetPlayerScore(playerid));
- INI_Close(File);
- new string[85],pname[24];
- switch (reason)
- {
- case 0:
- {
- GetPlayerName(playerid,pname,24);
- format(string,sizeof(string), "*** %s Has Left GTA-CS. (Crash) (ID:%d)",pname,playerid);
- SendClientMessageToAll(YELLOW,string);
- }
- case 1:
- {
- GetPlayerName(playerid,pname,24);
- format(string,sizeof(string), "*** %s Has Left GTA-CS. (Quit) (ID:%d)",pname,playerid);
- SendClientMessageToAll(YELLOW,string);
- }
- case 2:
- {
- GetPlayerName(playerid,pname,24);
- format(string,sizeof(string), "*** %s Has Left GTA-CS. (Kicked/Banned) (ID:%d)",pname,playerid);
- SendClientMessageToAll(YELLOW,string);
- }
- }
- SetPVarInt(playerid, "laser", 0);
- RemovePlayerAttachedObject(playerid, 0);
- return 1;
- }
- forward mine(playerid);
- public mine(playerid)
- {
- TogglePlayerControllable(playerid,1);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- SetTimer("mine",100,0);
- SetTimer("Kill",1000,0);
- TogglePlayerControllable(playerid,0);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- if(map == 1)
- {
- if(gTeam[playerid] == TEAM_T) {
- SetPlayerColor(playerid,RED);
- SetPlayerPos(playerid, -2552.5056,1501.6616,16.9075+2);
- SetPlayerFacingAngle(playerid, 242.4535);
- SetPlayerInterior(playerid,0);
- }
- if(gTeam[playerid] == TEAM_CT) {
- SetPlayerColor(playerid,COLOR_BLUE);
- SetPlayerPos(playerid, -2449.7168,1605.3429,9.1973+2);
- SetPlayerFacingAngle(playerid, 2.3961);
- SetPlayerInterior(playerid,0);
- }
- }
- else if(map == 2)
- {
- if(gTeam[playerid] == TEAM_T) {
- SetPlayerColor(playerid,RED);
- SetPlayerPos(playerid,334.2185,1908.8077,21.8449);
- SetPlayerFacingAngle(playerid,178.7656);
- SetPlayerInterior(playerid,0);
- }
- if(gTeam[playerid] == TEAM_CT) {
- SetPlayerColor(playerid,COLOR_BLUE);
- SetPlayerPos(playerid,247.4061,1859.8530,14.0840);
- SetPlayerFacingAngle(playerid,24.0242);
- SetPlayerInterior(playerid,0);
- }
- }
- else if(map ==3){
- if(gTeam[playerid]==TEAM_T){
- SetPlayerColor(playerid,RED);
- SetPlayerPos(playerid,2724.9556,474.4123,-67.6850);
- SetPlayerFacingAngle(playerid,8.5343);
- SetPlayerInterior(playerid,0);
- }
- if(gTeam[playerid]==TEAM_CT){
- SetPlayerColor(playerid,RED);
- SetPlayerPos(playerid,2239.9114,502.6692,-54.9372);
- SetPlayerFacingAngle(playerid,187.4494);
- SetPlayerInterior(playerid,0);
- }
- }
- SetPlayerHealth(playerid,99999);
- SetTimerEx("NoSpawnKill",10000,0,"i",playerid);
- SetTimerEx("laserlight",1000,1,"i",playerid);
- new string[85],pname[24];
- GangZoneShowForAll(gangzone1,RED);
- GangZoneShowForAll(gangzone2,RED);
- GangZoneShowForAll(gangzone3,BLUE);
- GangZoneShowForAll(gangzone4,BLUE);
- GangZoneShowForAll(gangzone5,GREY);
- SetPlayerArmour(playerid, 100);
- SetPlayerHealth(playerid, 100);
- SetPlayerInterior(playerid,0);
- if(gTeam[playerid] == TEAM_T)
- {
- SetPlayerTeam(playerid, 1);
- SetPlayerColor(playerid,RED);
- if(map ==1){
- SendClientMessage(playerid, RED, "Your A Terrorist,Your Goal Is To Defend Your Ship Area And Attack The Counter Terrorists Ships!");
- SendClientMessage(playerid, RED, "Type /rules Before Playing!,Use /Cmds For All Of Your Available Commands.");
- }
- else if(map==2){
- SendClientMessage(playerid,RED,"Your A Terrorist,Your Goal Is To Attack Area 52 And Get Your Control Over It!");
- SendClientMessage(playerid,RED,"Type /rules Before Playing!,Use /Cmds For All Of Your Avilable Commands.");
- }
- else if(map==3){
- SendClientMessage(playerid,RED,"Your A Terrorist,Your Goal Is To Defend Your Uneven Attack From the Group of Counter Terrorists");
- SendClientMessage(playerid,RED,"Type /rules Before Playing!,Use /Cmds For All Of Your Avilable Commands.");
- }
- else {
- SendClientMessage(playerid,RED,"There Is A Bug On Server Plz Relog or Report it on our forums www.gtacs.co.cc");
- }
- GetPlayerName(playerid,pname,24);
- format(string,sizeof(string), "*** %s Has Gone For Terrorist.",pname,playerid);
- SendClientMessageToAll(GREEN,string);
- }
- else if(gTeam[playerid] == TEAM_CT)
- {
- SetPlayerTeam(playerid, 2);
- SetPlayerColor(playerid,BLUE);
- if(map ==1){
- SendClientMessage(playerid, BLUE, "Your A Terrorist,Your Goal Is To Defend Your Ship Area And Attack The Counter Terrorists Ships!");
- SendClientMessage(playerid, BLUE, "Type /rules Before Playing!,Use /Cmds For All Of Your Available Commands.");
- }
- else if(map==2){
- SendClientMessage(playerid,BLUE,"Your A Counter Terrorist,Your Goal Is Defend The Attack Over Area 52 By Terrorists!");
- SendClientMessage(playerid,BLUE,"Type /rules Before Playing!,Use /Cmds For All Of Your Avilable Commands.");
- }
- else if(map==3){
- SendClientMessage(playerid,BLUE,"Your A Counter Terrorist,Your Goal Is To Attack The New Terrorists Bunker!");
- SendClientMessage(playerid,RED,"Type /rules Before Playing!,Use /Cmds For All Of Your Avilable Commands.");
- }
- else {
- SendClientMessage(playerid,RED,"There Is A Bug On Server Plz Relog or Report it on our forums www.gtacs.co.cc");
- }
- GetPlayerName(playerid,pname,24);
- format(string,sizeof(string), "*** %s Has Gone For Counter Terrorist.",pname,playerid);
- SendClientMessageToAll(GREEN,string);
- }
- return 1;
- }
- public NewMap(playerid) {
- map++;
- GameTextForAll("~w~Server:~b~LOADING.......~n~~r~ Next Map............",5000,4);
- SetTimer("NewRound",5000,0);
- if(IsPlayerInAnyVehicle(playerid)){
- RemovePlayerFromVehicle(playerid);
- if(GetPlayerTeam(playerid)==TEAM_T)
- {
- SetPlayerPos(playerid,1898.5197,3104.6914,-34.9400);
- SetPlayerFacingAngle(playerid,173.9525);
- }
- else
- {
- SetPlayerPos(playerid,1909.7366,3050.1646,-34.9400);
- SetPlayerFacingAngle(playerid,347.2509);
- }
- }
- else
- {
- if(GetPlayerTeam(playerid)==TEAM_T)
- {
- SetPlayerPos(playerid,1898.5197,3104.6914,-34.9400);
- SetPlayerFacingAngle(playerid,173.9525);
- }
- else
- {
- SetPlayerPos(playerid,1909.7366,3050.1646,-34.9400);
- SetPlayerFacingAngle(playerid,347.2509);
- }
- }
- return 1;
- }
- public NewRound(playerid) {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- SpawnPlayer(i);
- if (map == 1)//Map 1
- {
- SetPlayerInterior(i,0);// seting all interior
- Minutes =3;// game minutes
- Seconds =00;// game seconds
- }
- if(map == 2)//Map 2
- {
- SetPlayerInterior(i,0);// seting all interior
- Minutes =3;// game minutes
- Seconds =00;// game seconds
- }
- if(map == 3)
- {
- SetPlayerInterior(i,0);
- Minutes=3;
- Seconds=00;
- }
- else if(map >= 4||map <= 0)
- {
- map = 1;
- }
- }
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- PlayerInfo[killerid][pKills]++;
- PlayerInfo[playerid][pDeaths]++;
- PlayerInfo[playerid][pScores]--;
- PlayerInfo[playerid][pScores]++;
- KillingSpree[killerid] ++;
- KillingSpree[playerid] = 0;
- if(KillingSpree[killerid] == 3)
- {
- new pname[24];
- new string[100];
- GetPlayerName(killerid,pname,24);
- GetPlayerTeam(killerid);
- if(GetPlayerTeam(playerid)==TEAM_T){
- format(string,sizeof(string), "~r~%s Is On A Killing Strike!(x3)",pname);
- GameTextForAll(string,3,1);
- }
- else if(GetPlayerTeam(playerid)==TEAM_CT){
- format(string,sizeof(string), "~b~%s Is On A Killing Strike!(x3)",pname);
- GameTextForAll(string,3,1);
- }
- }
- if(KillingSpree[killerid] == 4)
- {
- new pname[24];
- new string[100];
- GetPlayerName(killerid,pname,24);
- if(GetPlayerTeam(playerid)==TEAM_T){
- format(string,sizeof(string), "~r~%s Is On A Killing Strike!(x4)",pname);
- GameTextForAll(string,3,1);
- }
- else if(GetPlayerTeam(playerid)==TEAM_CT){
- format(string,sizeof(string), "~b~%s Is On A Killing Strike!(x4)",pname);
- GameTextForAll(string,3,1);
- }
- }
- if(KillingSpree[killerid] == 5)
- {
- new pname[24];
- new string[100];
- GetPlayerName(killerid,pname,24);
- if(GetPlayerTeam(playerid)==TEAM_T){
- format(string,sizeof(string), "~r~%s Is On FIRE!(x5)",pname);
- GameTextForAll(string,3,1);
- }
- else if(GetPlayerTeam(playerid)==TEAM_CT){
- format(string,sizeof(string), "~b~%s Is On FIRE!(x5)",pname);
- GameTextForAll(string,3,1);
- }
- }
- if(KillingSpree[killerid] == 6)
- {
- new pname[24];
- new string[100];
- GetPlayerName(killerid,pname,24);
- if(GetPlayerTeam(playerid)==TEAM_T){
- format(string,sizeof(string), "~r~%s IS ON A HITTING STRIKE!(x6)",pname);
- GameTextForAll(string,3,1);
- }
- else if(GetPlayerTeam(playerid)==TEAM_CT){
- format(string,sizeof(string), "~b~%s IS ON A HITTING STRIKE!(x6)",pname);
- GameTextForAll(string,3,1);
- }
- }
- if(KillingSpree[killerid] == 7)
- {
- new pname[24];
- new string[100];
- GetPlayerName(killerid,pname,24);
- if(GetPlayerTeam(playerid)==TEAM_T){
- format(string,sizeof(string), "~r~%s IS ON A HITTING STRIKE!(x7)",pname);
- GameTextForAll(string,3,1);
- }
- else if(GetPlayerTeam(playerid)==TEAM_CT){
- format(string,sizeof(string), "~b~%s IS ON A HITTING STRIKE!(x7)",pname);
- GameTextForAll(string,3,1);
- }
- }
- if(KillingSpree[killerid] == 8)
- {
- new pname[24];
- new string[100];
- GetPlayerName(killerid,pname,24);
- if(GetPlayerTeam(playerid)==TEAM_T){
- format(string,sizeof(string), "~r~%s Is ON MINDBLOWING STRIKE!(x8)",pname);
- GameTextForAll(string,3,1);
- }
- else if(GetPlayerTeam(playerid)==TEAM_CT){
- format(string,sizeof(string), "~b~%s I Is ON MINDBLOWING STRIKE!(x8)",pname);
- GameTextForAll(string,3,1);
- }
- }
- if(KillingSpree[killerid] == 9)
- {
- new pname[24];
- new string[100];
- GetPlayerName(killerid,pname,24);
- if(GetPlayerTeam(playerid)==TEAM_T){
- format(string,sizeof(string), "~r~%s Is A PROFFESNOAL STRIKER!(x9)",pname);
- GameTextForAll(string,3,1);
- }
- else if(GetPlayerTeam(playerid)==TEAM_CT){
- format(string,sizeof(string), "~b~%s Is A PROFFESNOAL STRIKER!(x9)",pname);
- GameTextForAll(string,3,1);
- }
- }
- if(KillingSpree[killerid] == 10)
- {
- new pname[24];
- new string[100];
- GetPlayerName(killerid,pname,24);
- if(GetPlayerTeam(playerid)==TEAM_T){
- format(string,sizeof(string), "~r~%s IS ON A HITTING STRIKE!BE CARE FULL FOR YOUR TURN!(x10!)",pname);
- GameTextForAll(string,3,1);
- }
- else if(GetPlayerTeam(playerid)==TEAM_CT){
- format(string,sizeof(string), "~b~%s IS ON A HITTING STRIKE!BE CARE FULL FOR YOUR TURN!(x10!)",pname);
- GameTextForAll(string,3,1);
- }
- }
- if(killerid == INVALID_PLAYER_ID)
- {
- SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
- }
- else
- {
- if(gTeam[killerid] != gTeam[playerid])
- {
- SendDeathMessage(killerid,playerid,reason);
- SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
- SetPlayerScore(playerid,GetPlayerScore(playerid)-1);
- GivePlayerMoney(killerid, 1000);
- GivePlayerMoney(playerid,-100);
- }
- else
- {
- new warning[100];
- format(warning, sizeof(warning), "Be Careful! Dont Kill Your Team Mates!");
- SendClientMessage(killerid, RED, warning);
- SendDeathMessage(killerid,playerid,reason);
- GivePlayerMoney(killerid, -5000);
- SetPlayerHealth(killerid, 0);
- SetPlayerScore(killerid, GetPlayerScore(killerid) - 1);
- }
- }
- return 1;
- }
- public NoSpawnKill(playerid)
- {
- SetPlayerHealth(playerid,99.0);
- SetPlayerArmour(playerid,99.0);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- new cmd[256];
- new idx;
- cmd = strtok(cmdtext, idx);
- if(!strcmp(cmdtext,"/commands",true))
- {
- if(gTeam[playerid] == TEAM_T)
- {
- SendClientMessage(playerid, RED, "Commands: /help /rules /pc /tc /report /me /fail /change /kill /stats /credits");
- }
- if(gTeam[playerid] == TEAM_CT)
- {
- SendClientMessage(playerid, BLUE, "Commands: /help /rules /pc /ct /report /me /fail /change /kill /stats /credits");
- }
- return 1;
- }
- if(!strcmp(cmdtext,"/pc",true))
- {
- SendClientMessage(playerid, YELLOW, "-----Players Colors-----");
- SendClientMessage(playerid, RED, "Red Player Color: Terrorist's");
- SendClientMessage(playerid, BLUE, "Blue Player Color: Counter-Terrorist's");
- return 1;
- }
- if(!strcmp(cmdtext,"/credits",true))
- {
- SendClientMessage(playerid, RED, "----GTA COUNTER STRIKE----");
- SendClientMessage(playerid, YELLOW, " SERVER OWNER:Commander_abhi");
- SendClientMessage(playerid, RED, "---------------------------------- ");
- return 1;
- }
- if (strcmp("/help", cmdtext, true) == 0)
- {
- if(gTeam[playerid] == TEAM_T)
- {
- SendClientMessage(playerid, RED, "Your A Terrorist,Your Goal Is To Defend Your Ship And Attack The Counter Terrorists Ships!");
- SendClientMessage(playerid, RED, "Type /rules Before Playing!,Use /commands For All Of Your Available Commands.");
- }
- else if(gTeam[playerid] == TEAM_CT)
- {
- SendClientMessage(playerid, BLUE, "Your A Counter Terrorist,Your Mission Is To Defend Your Ships And Liberate The Terrorists Ship!");
- SendClientMessage(playerid, BLUE, "Type /rules Before Playing!,Use /commands For All Of Your Available Commands.");
- }
- return 1;
- }
- if (strcmp("/abase", cmdtext, true) == 0)
- {
- if(IsPlayerAdmin(playerid)|| PlayerInfo[playerid][pAdmin]>0)
- SetPlayerPos(playerid,-2471.8823,1544.7992,36.8047);
- else SendClientMessage(playerid, RED, "You Are Not A Admin!");
- return 1;
- }
- if(strcmp(cmd, "/rules", true, 9) == 0)
- {
- SendClientMessage(playerid, YELLOW, "1.Dont Hack/Cheat,Results In A Perma Ban!");
- SendClientMessage(playerid, YELLOW, "2.Dont Camp!Or Heli Camp!");
- SendClientMessage(playerid, YELLOW, "3.Dont Spam /report Flood Or Advertise!");
- SendClientMessage(playerid, YELLOW, "4.Dont Flame! Respect All Players And Admins!");
- SendClientMessage(playerid, YELLOW, "5.Dont Ask To Be Admin! We Will Ask You!");
- SendClientMessage(playerid, YELLOW, "6.Dont Not Heli(Blade)Kill!");
- return 1;
- }
- if(strcmp(cmd, "/fail", true) == 0)
- {
- new string[128];
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- format(string, sizeof(string), "%s Has Failed In A Rather Epic Way..",name);
- SendClientMessageToAll(RED, string);
- return 1;
- }
- if (strcmp("/reclass", cmdtext, true, 5) == 0)
- {
- SetPlayerHealth(playerid, 0.0);
- ForceClassSelection(playerid);
- return 1;
- }
- if(!strcmp(cmdtext, "/ct", true, 3))
- {
- if(gTeam[playerid] == TEAM_CT)
- {
- new output[255];
- new pname[24];
- new string[128];
- if(!cmdtext[3])return SendClientMessage(playerid, BLUE, "USAGE: /ct [msg]");
- GetPlayerName(playerid, pname, 24);
- strmid(output,cmdtext,3,strlen(cmdtext));
- format(string, sizeof(string), "COUNTER-TERRORIST-CHAT %s [%d] %s",pname,playerid,output);
- printf("%s", string);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(gTeam[i] == TEAM_CT)
- {
- format(string, sizeof(string), "(TEAM CHAT) %s [%d] %s",pname,playerid,output);
- SendClientMessage(i, BLUE, string);
- }
- }
- }
- else
- {
- SendClientMessage(playerid, BLUE, "Only Counter Terrorists Can Use This Command!");
- }
- return 1;
- }
- if(!strcmp(cmdtext, "/tc", true, 3))
- {
- if(gTeam[playerid] == TEAM_T)
- {
- new output[255];
- new pname[24];
- new string[128];
- if(!cmdtext[3])return SendClientMessage(playerid, RED, "USAGE: /tc [msg]");
- GetPlayerName(playerid, pname, 24);
- strmid(output,cmdtext,3,strlen(cmdtext));
- format(string, sizeof(string), "TERRORIST-CHAT %s [%d] %s",pname,playerid,output);
- printf("%s", string);
- for(new i=0;i<MAX_PLAYERS;i++)
- {
- if(gTeam[i] == TEAM_T)
- {
- format(string, sizeof(string), "(TEAM CHAT) %s [%d] %s",pname,playerid,output);
- SendClientMessage(i, RED, string);
- }
- }
- }
- else
- {
- SendClientMessage(playerid, RED, "Only Terrorists Can Use This Command!");
- }
- return 1;
- }
- if(!strcmp(cmdtext,"/kill",true,3)){
- SetPlayerHealth(playerid,0);
- return 1;
- }
- if(!strcmp(cmdtext, "/me", true, 3))
- {
- if(!cmdtext[3])return SendClientMessage(playerid, YELLOW, "USAGE: /me [msg]");
- new str[128];
- GetPlayerName(playerid, str, sizeof(str));
- format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
- SendClientMessageToAll(YELLOW, str);
- return 1;
- }
- return 0;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerTeamFromClass(playerid, classid);
- SetPlayerInterior(playerid, 0);
- SetPlayerPos(playerid, -2469.8145,1545.0579,36.7992);
- SetPlayerFacingAngle(playerid, 87.7678);
- SetPlayerCameraLookAt(playerid, -2469.8145,1545.0579,36.7992);
- SetPlayerCameraPos(playerid, -2469.8145 + (5 * floatsin(-87.7678, degrees)), 1545.0579 + (5 * floatcos(-87.7678, degrees)), 36.7992);
- return 1;
- }
- public OnPlayerText(playerid,text[])
- {
- // Is the player flooding?
- if(IsPlayerFlooding(playerid) && !IsPlayerAdmin(playerid))
- {
- SendClientMessage(playerid, 0xFF0000FF, "* You can only send a message once every two seconds.");
- return 0;
- }
- // Okay, now it's time for anti repeating.
- if(!IsPlayerAdmin(playerid))
- {
- if(strlen(text) == strlen(szPlayerChatMsg[playerid]) && !strcmp(szPlayerChatMsg[playerid], text, false))
- {
- SendClientMessage(playerid, 0xFF0000FF, "* Please do not repeat yourself.");
- format(szPlayerChatMsg[playerid], 128, "%s", text);
- return 0;
- }
- }
- format(szPlayerChatMsg[playerid], 128, "%s", text);
- iPlayerChatTime[playerid] = GetTickCount();
- // Now we handle the admin chat, will be #<message>.
- if( (text[0] == '@') && strlen(text) > 1)
- {
- new str[128];
- new szPlayerName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
- if(IsPlayerAdmin(playerid)||PlayerInfo[playerid][pAdmin]>0)
- {
- format(str, 128, "Admin %s: %s", szPlayerName, text[1]);
- for(new iPlayerID; iPlayerID < MAX_PLAYERS; iPlayerID++)
- {
- if(!IsPlayerConnected(iPlayerID)) continue;
- if(!IsPlayerAdmin(iPlayerID)) continue;
- SendClientMessage(iPlayerID,GREEN, str);
- }
- }
- return 0;
- }
- if((text[0]=='!')&& strlen(text)>1){
- new str[128];
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid,pname,MAX_PLAYER_NAME);
- format(str,128,"(TEAM CHAT)%s:%s");
- for(new ipdid;ipdid<MAX_PLAYERS;ipdid++){
- if(GetPlayerTeam(ipdid)==1)
- {
- if(!IsPlayerConnected(ipdid)) continue;
- if(!IsPlayerAdmin(ipdid))continue;
- SendClientMessage(ipdid,YELLOW,str);
- }
- else{
- if(!IsPlayerConnected(ipdid)) continue;
- if(!IsPlayerAdmin(ipdid))continue;
- SendClientMessage(ipdid,YELLOW,str);
- }
- }
- return 0;
- }
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- static
- s_Interior,
- s_Weapon
- ;
- s_Interior = GetPlayerInterior( playerid );
- s_Weapon = GetPlayerWeapon( playerid );
- if ( s_Interior && s_Weapon && s_Weapon != WEAPON_BRASSKNUCKLE )
- {
- SetPlayerArmedWeapon( playerid, s_Weapon ? WEAPON_BRASSKNUCKLE : 0 );
- }
- if (GetPVarInt(playerid, "laser")) {
- RemovePlayerAttachedObject(playerid, 0);
- if ((IsPlayerInAnyVehicle(playerid)) || (IsPlayerInWater(playerid))) return 1;
- switch (GetPlayerWeapon(playerid)) {
- case 23: {
- if (IsPlayerAiming(playerid)) {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // SP standing aiming
- 0.108249, 0.030232, 0.118051, 1.468254, 350.512573, 364.284240);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // SP crouched aiming
- 0.108249, 0.030232, 0.118051, 1.468254, 349.862579, 364.784240);
- }
- } else {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // SP standing not aiming
- 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // SP crouched not aiming
- 0.078248, 0.027239, 0.113051, -11.131746, 350.602722, 362.384216);
- } } }
- case 27: {
- if (IsPlayerAiming(playerid)) {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // SPAS standing aiming
- 0.588246, -0.022766, 0.138052, -11.531745, 347.712585, 352.784271);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // SPAS crouched aiming
- 0.588246, -0.022766, 0.138052, 1.468254, 350.712585, 352.784271);
- }
- } else {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // SPAS standing not aiming
- 0.563249, -0.01976, 0.134051, -11.131746, 351.602722, 351.384216);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // SPAS crouched not aiming
- 0.563249, -0.01976, 0.134051, -11.131746, 351.602722, 351.384216);
- } } }
- case 30: {
- if (IsPlayerAiming(playerid)) {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // AK standing aiming
- 0.628249, -0.027766, 0.078052, -6.621746, 352.552642, 355.084289);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // AK crouched aiming
- 0.628249, -0.027766, 0.078052, -1.621746, 356.202667, 355.084289);
- }
- } else {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // AK standing not aiming
- 0.663249, -0.02976, 0.080051, -11.131746, 358.302734, 353.384216);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // AK crouched not aiming
- 0.663249, -0.02976, 0.080051, -11.131746, 358.302734, 353.384216);
- } } }
- case 31: {
- if (IsPlayerAiming(playerid)) {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // M4 standing aiming
- 0.528249, -0.020266, 0.068052, -6.621746, 352.552642, 355.084289);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // M4 crouched aiming
- 0.528249, -0.020266, 0.068052, -1.621746, 356.202667, 355.084289);
- }
- } else {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // M4 standing not aiming
- 0.503249, -0.02376, 0.065051, -11.131746, 357.302734, 354.484222);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // M4 crouched not aiming
- 0.503249, -0.02376, 0.065051, -11.131746, 357.302734, 354.484222);
- } } }
- case 34: {
- if (IsPlayerAiming(playerid)) {
- /*if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // Sniper standing aiming
- 0.528249, -0.020266, 0.068052, -6.621746, 352.552642, 355.084289);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // Sniper crouched aiming
- 0.528249, -0.020266, 0.068052, -1.621746, 356.202667, 355.084289);
- }*/
- return 1;
- } else {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // Sniper standing not aiming
- 0.658248, -0.03276, 0.133051, -11.631746, 355.302673, 353.584259);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // Sniper crouched not aiming
- 0.658248, -0.03276, 0.133051, -11.631746, 355.302673, 353.584259);
- } } }
- case 29: {
- if (IsPlayerAiming(playerid)) {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // MP5 standing aiming
- 0.298249, -0.02776, 0.158052, -11.631746, 359.302673, 357.584259);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // MP5 crouched aiming
- 0.298249, -0.02776, 0.158052, 8.368253, 358.302673, 352.584259);
- }
- } else {
- if (GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK) {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // MP5 standing not aiming
- 0.293249, -0.027759, 0.195051, -12.131746, 354.302734, 352.484222);
- } else {
- SetPlayerAttachedObject(playerid, 0, GetPVarInt(playerid, "color"), 6, // MP5 crouched not aiming
- 0.293249, -0.027759, 0.195051, -12.131746, 354.302734, 352.484222);
- } } } } }
- return 1;
- }
- forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);
- 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);
- //radi = 2.0; //Trigger Radius
- 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);
- //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,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);
- }
- }
- }
- }//not connected
- return 1;
- }
- public SetPlayerTeamFromClass(playerid, classid)
- {
- switch(classid)
- {
- case 0:
- {
- gTeam[playerid] = TEAM_T;
- GameTextForPlayer(playerid, "~r~Terrorist~n~~w~DESTRUCTIVE FORCES", 2000, 0);
- }
- case 1:
- {
- gTeam[playerid] = TEAM_T;
- GameTextForPlayer(playerid, "~r~Terrorist~n~~w~DESTRUCTIVE FORCES", 2000, 0);
- }
- case 2:
- {
- gTeam[playerid] = TEAM_T;
- GameTextForPlayer(playerid, "~r~Terrorist~n~~w~DESTRUCTIVE FORCES", 2000, 0);
- }
- case 3:
- {
- gTeam[playerid] = TEAM_T;
- GameTextForPlayer(playerid, "~r~Terrorist~n~~w~DESTRUCTIVE FORCES", 2000, 0);
- }
- case 4:
- {
- gTeam[playerid] = TEAM_CT;
- GameTextForPlayer(playerid, "~b~Counter Terrorist~n~~w~TACTICAL FORCES", 2000, 0);
- }
- case 5:
- {
- gTeam[playerid] = TEAM_CT;
- GameTextForPlayer(playerid, "~b~Counter Terrorist~n~~w~TACTICAL FORCES", 2000, 0);
- }
- case 6:
- {
- gTeam[playerid] = TEAM_CT;
- GameTextForPlayer(playerid, "~b~Counter Terrorist~n~~w~TACTICAL FORCES", 2000, 0);
- }
- case 7:
- {
- gTeam[playerid] = TEAM_CT;
- GameTextForPlayer(playerid, "~b~Counter Terrorist~n~~w~TACTICAL FORCES", 2000, 0);
- }
- }
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if (dialogid == DIALOG_GUNS)
- {
- if(response)
- {
- if(listitem == 0)
- {
- ShowPlayerDialog(playerid,DIALOG_PISTOLS,DIALOG_STYLE_LIST,"Pistols","1>9mm(100)\n2>Silencer Pistol Pistol(50)\n3>Desert Eagle(300)","Buy!","Back");
- }
- else if(listitem == 1)
- {
- ShowPlayerDialog(playerid,DIALOG_RIFLES,DIALOG_STYLE_LIST,"Rifles","1>AK47(1000)\n2>M4A1(1500)","Buy!","Back");
- }
- else if(listitem == 2)
- {
- ShowPlayerDialog(playerid,DIALOG_SHOTGUNS,DIALOG_STYLE_LIST,"Shot-Guns","1>ShotGun(500)\n2>SPLASH-12(1000)","Buy!","Back");
- }
- else if(listitem == 3)
- {
- ShowPlayerDialog(playerid,DIALOG_SMGS,DIALOG_STYLE_LIST,"SMG's","MAC 10(250)\nTEC9(300)\nSMG(500)","Buy!","Back");
- }
- else if(listitem==4)
- {
- ShowPlayerDialog(playerid,DIALOG_SNIPER,DIALOG_STYLE_LIST,"Sniper","1>Sniper(500)\n2>Sniper Rifel(700)","Buy!","Back");
- }
- }
- }
- if (dialogid == DIALOG_PISTOLS)
- {
- if(!response)
- {
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid,22,100);
- GivePlayerMoney(playerid,-100);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(listitem == 1)
- {
- GivePlayerWeapon(playerid,23,100);
- GivePlayerMoney(playerid,-50);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(listitem == 2)
- {
- GivePlayerWeapon(playerid,24,100);
- GivePlayerMoney(playerid,-300);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- }
- }
- else if (dialogid == DIALOG_SHOTGUNS)
- {
- if(!response)
- {
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid,25,100);
- GivePlayerMoney(playerid,-500);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(listitem == 1)
- {
- GivePlayerWeapon(playerid,27,100);
- GivePlayerMoney(playerid,-1000);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- }
- }
- else if(dialogid == DIALOG_RIFLES)
- {
- if(!response)
- {
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid,30,500);
- GivePlayerMoney(playerid,-1000);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(listitem == 1)
- {
- GivePlayerWeapon(playerid,31,500);
- GivePlayerMoney(playerid,-1500);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- }
- }
- if(dialogid == DIALOG_SMGS)
- {
- if(!response)
- {
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid,28,500);
- GivePlayerMoney(playerid,-250);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(listitem == 1)
- {
- GivePlayerWeapon(playerid,32,500);
- GivePlayerMoney(playerid,-300);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(listitem == 2)
- {
- GivePlayerWeapon(playerid,29,500);
- GivePlayerMoney(playerid,-500);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- }
- }
- if(dialogid == DIALOG_SNIPER)
- {
- if(!response)
- {
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(response)
- {
- if(listitem == 0)
- {
- GivePlayerWeapon(playerid,33,100);
- GivePlayerMoney(playerid,-500);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- else if(listitem == 1)
- {
- GivePlayerWeapon(playerid,34,100);
- GivePlayerMoney(playerid,-750);
- ShowPlayerDialog(playerid,DIALOG_GUNS,DIALOG_STYLE_LIST,"Weapon Shop","1>Pistols\n2>Rifles\n3>Shot-Guns\n4>SMG's\n5>Sniper","Buy!","Back");
- }
- }
- }
- if(dialogid == DIALOG_REGISTER)
- {
- if (!response) return Kick(playerid);
- if(response)
- {
- if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_WHITE"Registering...",""COL_RED"You have entered an invalid password.\n"COL_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_Close(File);
- }
- }
- if(dialogid == 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]);
- ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!","You have successfully logged in!","Ok","");
- SetPlayerPos(playerid,217.8062,1822.7780,6.4141);
- SetPlayerFacingAngle(playerid,267.6401);
- SetPlayerCameraPos(playerid,227.2525,1822.7185,7.6090);
- SetPlayerCameraLookAt(playerid,217.8062,1822.7780,6.4141);
- }
- else
- {
- ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_RED"You have entered an incorrect password.\n"COL_WHITE"Type your password below to login.","Login","Quit");
- }
- return 1;
- }
- }
- return 1;
- }
- stock IsPlayerInWater(playerid) {
- new anim = GetPlayerAnimationIndex(playerid);
- if (((anim >= 1538) && (anim <= 1542)) || (anim == 1544) || (anim == 1250) || (anim == 1062)) return 1;
- return 0;
- }
- stock IsPlayerAiming(playerid) {
- new anim = GetPlayerAnimationIndex(playerid);
- if (((anim >= 1160) && (anim <= 1163)) || (anim == 1167) || (anim == 1365) ||
- (anim == 1643) || (anim == 1453) || (anim == 220)) return 1;
- return 0;
- }
- //----------------------------------------------------------------------------//
- //----------------------------------------------------------------------------//
- public laserlight(playerid)
- {
- if(GetPlayerTeam(playerid)== TEAM_T)
- {
- SetPVarInt(playerid,"laser",1);
- SetPVarInt(playerid,"color",18643);
- }
- else
- {
- SetPVarInt(playerid,"laser",1);
- SetPVarInt(playerid,"color",19080);
- }
- return 1;
- }
- #endif
- stock sscanf(string[], format[], {Float,_}:...)
- {
- #if defined isnull
- if (isnull(string))
- #else
- if (string[0] == 0 || (string[0] == 1 && string[1] == 0))
- #endif
- {
- return format[0];
- }
- #pragma tabsize 4
- new
- formatPos = 0,
- stringPos = 0,
- paramPos = 2,
- paramCount = numargs(),
- delim = ' ';
- while (string[stringPos] && string[stringPos] <= ' ')
- {
- stringPos++;
- }
- while (paramPos < paramCount && string[stringPos])
- {
- switch (format[formatPos++])
- {
- case '\0':
- {
- return 0;
- }
- case 'i', 'd':
- {
- new
- neg = 1,
- num = 0,
- ch = string[stringPos];
- if (ch == '-')
- {
- neg = -1;
- ch = string[++stringPos];
- }
- do
- {
- stringPos++;
- if ('0' <= ch <= '9')
- {
- num = (num * 10) + (ch - '0');
- }
- else
- {
- return -1;
- }
- }
- while ((ch = string[stringPos]) > ' ' && ch != delim);
- setarg(paramPos, 0, num * neg);
- }
- case 'h', 'x':
- {
- new
- num = 0,
- ch = string[stringPos];
- do
- {
- stringPos++;
- switch (ch)
- {
- case 'x', 'X':
- {
- num = 0;
- continue;
- }
- case '0' .. '9':
- {
- num = (num << 4) | (ch - '0');
- }
- case 'a' .. 'f':
- {
- num = (num << 4) | (ch - ('a' - 10));
- }
- case 'A' .. 'F':
- {
- num = (num << 4) | (ch - ('A' - 10));
- }
- default:
- {
- return -1;
- }
- }
- }
- while ((ch = string[stringPos]) > ' ' && ch != delim);
- setarg(paramPos, 0, num);
- }
- case 'c':
- {
- setarg(paramPos, 0, string[stringPos++]);
- }
- case 'f':
- {
- new changestr[16], changepos = 0, strpos = stringPos;
- while(changepos < 16 && string[strpos] && string[strpos] != delim)
- {
- changestr[changepos++] = string[strpos++];
- }
- changestr[changepos] = '\0';
- setarg(paramPos,0,_:floatstr(changestr));
- }
- case 'p':
- {
- delim = format[formatPos++];
- continue;
- }
- case '\'':
- {
- new
- end = formatPos - 1,
- ch;
- while ((ch = format[++end]) && ch != '\'') {}
- if (!ch)
- {
- return -1;
- }
- format[end] = '\0';
- if ((ch = strfind(string, format[formatPos], false, stringPos)) == -1)
- {
- if (format[end + 1])
- {
- return -1;
- }
- return 0;
- }
- format[end] = '\'';
- stringPos = ch + (end - formatPos);
- formatPos = end + 1;
- }
- case 'u':
- {
- new
- end = stringPos - 1,
- id = 0,
- bool:num = true,
- ch;
- while ((ch = string[++end]) && ch != delim)
- {
- if (num)
- {
- if ('0' <= ch <= '9')
- {
- id = (id * 10) + (ch - '0');
- }
- else
- {
- num = false;
- }
- }
- }
- if (num && IsPlayerConnected(id))
- {
- setarg(paramPos, 0, id);
- }
- else
- {
- #if !defined foreach
- #define foreach(%1,%2) for (new %2 = 0; %2 < MAX_PLAYERS; %2++) if (IsPlayerConnected(%2))
- #define __SSCANF_FOREACH__
- #endif
- string[end] = '\0';
- num = false;
- new
- name[MAX_PLAYER_NAME];
- id = end - stringPos;
- foreach (Player, playerid)
- {
- GetPlayerName(playerid, name, sizeof (name));
- if (!strcmp(name, string[stringPos], true, id))
- {
- setarg(paramPos, 0, playerid);
- num = true;
- break;
- }
- }
- if (!num)
- {
- setarg(paramPos, 0, INVALID_PLAYER_ID);
- }
- string[end] = ch;
- #if defined __SSCANF_FOREACH__
- #undef foreach
- #undef __SSCANF_FOREACH__
- #endif
- }
- stringPos = end;
- }
- case 's', 'z':
- {
- new
- i = 0,
- ch;
- if (format[formatPos])
- {
- while ((ch = string[stringPos++]) && ch != delim)
- {
- setarg(paramPos, i++, ch);
- }
- if (!i)
- {
- return -1;
- }
- }
- else
- {
- while ((ch = string[stringPos++]))
- {
- setarg(paramPos, i++, ch);
- }
- }
- stringPos--;
- setarg(paramPos, i, '\0');
- }
- default:
- {
- continue;
- }
- }
- while (string[stringPos] && string[stringPos] != delim && string[stringPos] > ' ')
- {
- stringPos++;
- }
- while (string[stringPos] && (string[stringPos] == delim || string[stringPos] <= ' '))
- {
- stringPos++;
- }
- paramPos++;
- }
- do
- {
- if ((delim = format[formatPos++]) > ' ')
- {
- if (delim == '\'')
- {
- while ((delim = format[formatPos++]) && delim != '\'') {}
- }
- else if (delim != 'z')
- {
- return delim;
- }
- }
- }
- while (delim > ' ');
- return 0;
- }
- public OnVehicleSpawn(vehicleid)
- {
- new Float:L,Float:S,Float:E;
- GetVehiclePos(vehicleid,L,S,E);
- SetVehiclePos(vehicleid,L,S,E+2);
- return 1;
- }
- forward Kill();
- public Kill()
- {
- for(new v=0;v<=MAX_VEHICLES;v++)
- {
- for(new p=0;p<=MAX_PLAYERS;p++)
- if(!v==GetPlayerVehicleID(p))
- {
- SetVehicleToRespawn(v);
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement