Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //vehicle format
- //object format CreateDynamicObject({model}, {x}, {y}, {z}, {rx}, {ry}, {rz}, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
- //Objects stunt world = world 1 to 4 roleplay = world 0 cops n robbers = world 5
- #include <a_samp>
- #include <dini>
- #include <dudb>
- #include <zcmd>
- #include <sscanf2>
- #include <streamer>
- #include <foreach>
- #include <GetVehicleColor>
- #include <lethaldudb2>
- //roleplay timers and enter n exit points.
- new freezet[MAX_PLAYERS];
- new apenter;
- new apexit;
- new RandomMusic[][] =
- {
- "http://a.tumblr.com/tumblr_lqaq3p3lRM1r0fogto1.mp3", //the game pot of gold
- "http://itsalwaysnew.files.wordpress.com/2012/11/50-ml-ft-em-al-cdq-itsalwaysnew-com.mp3", //50 cent ft eminem my life.
- "http://i.pinger.pl/paud1585/661376dd0029f7dc485a9a73/eminem%2520-%2520loose%2520your%2520self.mp3",// Loose your self
- "http://www.sloanerangermusic.com/music/show.mp3",//the show goes on lupe fiasco
- "http://www.whatmyworldslike.com/audio/beautifullasers.mp3",//lupe fiasco beatiful lasers
- "http://navarro.nico.free.fr/IPAD/musik/Dr. Dre - Chronic 2001/10. forgot About Dre.mp3",//dre forget about dre
- "http://a.tumblr.com/tumblr_l8p4fpZmN41qa1c87o1.mp3"//Pro green just be good to me
- };
- //player vehicles
- #define WHITE 0xFFFFFFFF
- #define PURPLE 0xC2A2DAFF
- #define BLUE 0x0000FFFF
- #define RED 0xFF0000FF
- #define YELLOW 0xFFFF00FF
- #define GREEN 0x33AA33FF
- #define LIGHTBLUE 0x33CCFFFF
- #define LIGHTRED 0xFF6347FF
- #define DARKRED 0xAA3333FF
- #define GREY 0xAFAFAFFF
- #define ORANGE 0xFFA100FF
- #define YELLOW2 0xF5DEB3FF
- #define MAX_PLAYER_CARS 120
- #define LOCK_PRICE 20000
- #pragma dynamic 719196 // FUCKING STRINGS
- enum vDealerData
- {
- vModel,
- Float:vX,
- Float:vY,
- Float:vZ,
- Float:vRot,
- vForSale,
- vPrice,
- Text3D:vLabel,
- vID,
- vSQL_ID
- };
- enum pDealerData
- {
- pCarModel,
- Float:pCarX,
- Float:pCarY,
- Float:pCarZ,
- Float:pCarRot,
- pCarColor1,
- pCarColor2,
- pCarPaintjob,
- pCarMod1,
- pCarMod2,
- pCarMod3,
- pCarMod4,
- pCarMod5,
- pCarMod6,
- pCarMod7,
- pCarMod8,
- pCarMod9,
- pCarMod10,
- pCarMod11,
- pCarMod12,
- pCarMod13,
- pCarMod14,
- pCarMod15,
- pCarMod16,
- pCarMod17,
- pCarHasLock,
- pCarLocked,
- pCarTrunkCash,
- pCarTrunkGun1,
- pCarTrunkGun2,
- pCarTrunkGun3,
- pCarTrunkGun4,
- pCarTrunkAmmo1,
- pCarTrunkAmmo2,
- pCarTrunkAmmo3,
- pCarTrunkAmmo4,
- pCarSpawned,
- pCarOwned,
- pCarID
- };
- new PlayerVehicles[MAX_PLAYERS][MAX_PLAYER_CARS + 1][pDealerData];
- new DealershipVehicles[MAX_VEHICLES][vDealerData];
- new VehicleLocked[MAX_VEHICLES];
- new VehicleListitem[MAX_PLAYERS][MAX_PLAYER_CARS + 1];
- new DB:VehicleDatabase[MAX_PLAYERS];
- new DB:DealerVehicleDatabase;
- new dealershipCars;
- new spoiler[20][0] = {1000, 1001, 1002, 1003, 1014, 1015, 1016, 1023, 1058, 1060, 1049, 1050, 1138, 1139, 1146, 1147, 1158, 1162, 1163, 1164};
- new nitro[3][0] = {1008, 1009, 1010};
- new front_bumper[23][0] = {1117, 1152, 1153, 1155, 1157, 1160, 1165, 1167, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1179, 1181, 1182, 1185, 1188, 1189, 1192, 1193};
- new rear_bumper[22][0] = {1140, 1141, 1148, 1149, 1150, 1151, 1154, 1156, 1159, 1161, 1166, 1168, 1176, 1177, 1178, 1180, 1183, 1184, 1186, 1187, 1190, 1191};
- new exhaust[28][0] = {1018, 1019, 1020, 1021, 1022, 1028, 1029, 1037, 1043, 1044, 1045, 1046, 1059, 1064, 1065, 1066, 1089, 1092, 1104, 1105, 1113, 1114, 1126, 1127, 1129, 1132, 1135, 1136};
- new bventr[2][0] = {1042, 1044};
- new bventl[2][0] = {1043, 1045};
- new bscoop[4][0] = {1004, 1005, 1011, 1012};
- new rscoop[13][0] = {1006, 1032, 1033, 1035, 1038, 1053, 1054, 1055, 1061, 1067, 1068, 1088, 1091};
- new left_sideskirt[21][0] = {1007, 1026, 1031, 1036, 1039, 1042, 1047, 1048, 1056, 1057, 1069, 1070, 1090, 1093, 1106, 1108, 1118, 1119, 1133, 1122, 1134};
- new right_sideskirt[21][0] = {1017, 1027, 1030, 1040, 1041, 1051, 1052, 1062, 1063, 1071, 1072, 1094, 1095, 1099, 1101, 1102, 1107, 1120, 1121, 1124, 1137};
- new hydraulics[1][0] = {1087};
- new bass[1][0] = {1086};
- new rbbars[2][0] = {1109, 1110};
- new fbbars[2][0] = {1115, 1116};
- new wheels[17][0] = {1025, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1096, 1097, 1098};
- new lights[2][0] = {1013, 1024};
- //weapon attach
- #define ARMEDBODY_USE_HEAVY_WEAPON (true)
- static
- armedbody_pTick[MAX_PLAYERS];
- //furniture system
- new Object;
- new oModel;
- new abuyh;
- #define OBJECT_FILE_NAME "DObject.txt"
- //house system
- #define HOUSE_FILE_NAME "DHouses.txt"
- #define MAX_DISTANCE_TO_PROP 1.5
- #define MAX_HOUSES 450
- #define MAX_RENTCOST 1000
- #define MIN_RENTCOST 500
- #define MAX_BUY_CARS 0
- #define CAR_DELIVER_TIME 1 //The time that it takes that your car will be delivered. In hours.
- //buyable cars
- enum CarInfo {CarModel,CarName[24],CarCost};
- new Buyable_Cars[MAX_BUY_CARS][CarInfo] =
- { //Modelid, Buy Name, Price
- {411,"Infernus",0},
- {522,"NRG-500",50000},
- {451,"Turismo",50000},
- {541,"Bullet",50000},
- {415,"Cheetah",50000},
- {429,"Banshee",50000},
- {494,"Hotring",50000},
- {556,"Monster",50000}
- };
- //----------------------------
- //----------------------------
- #define c_y 0xFFFF00AA
- #define c_r 0xAA3333AA
- new HousePickup[MAX_HOUSES];
- new playerinterior[MAX_PLAYERS]=-1;
- new Float:housex, Float:housey, Float:housez;
- new housemapicon[MAX_PLAYERS];
- new playerworld[MAX_PLAYERS];
- new bool:KillVeh[MAX_VEHICLES] = false;
- forward rentfee();
- forward newcar();
- forward KillVehicle(carid);
- enum HouseInfo
- {
- Name[24],
- Renter[24],
- Rentable,
- Rentcost,
- Cost,
- Sell,
- Interior,
- Virtualworld,
- Locked,
- Float:InteriorX,
- Float:InteriorY,
- Float:InteriorZ,
- Float:iconx,
- Float:icony,
- Float:iconz,
- Rentfee
- }
- new hInfo[MAX_HOUSES][HouseInfo];
- enum HouseCarInfo
- {
- HouseCar,
- GotCar,
- Houseid,
- CarModel,
- Float:CarX,
- Float:CarY,
- Float:CarZ,
- CarColor1,
- CarColor2,
- Respawn_Delay,
- NewCar
- }
- new cInfo[MAX_HOUSES][HouseCarInfo];
- //text draw main menu
- new Text:startgame;
- new Text:options;
- //skin select
- new Text:nextskin;
- new Text:backskin;
- new Text:doneskin;
- //world select
- new Text:worldselect;
- new Text:worldrp;
- new Text:worldstunt;
- new sworld;
- //prison
- new
- door0, door1, door2, door3;
- new
- cell0, cell1, cell2, cell3, cell4, cell5, cell6, cell7;
- //player shit
- #define STUNT_USER_FILE "StuntUsers/%s.ini"
- enum sInfo
- {
- AdminLevel,
- pCSW,
- AdminDuty,
- AdminName,
- Float:pX,
- Float:pY,
- Float:pZ,
- pDonetut,
- pCash,
- pWorld,
- pSSkin,
- pPskin,
- pScore,
- pColor,
- HAdminDuty,
- ChatDuty,
- pVw,
- pInt,
- pSkin,
- pWarns,
- pFactionRank,
- pFaction,
- pJob,
- pCheckPoint,
- pCheck,
- pHasSpawned
- }
- new StuntAccountInfo[MAX_PLAYERS][sInfo];
- #define ROLEPLAY_USER_FILE "RpUsers/%s.ini"
- enum rpInfo
- {
- rAdminLevel,
- rCSW,
- rAdminDuty,
- rAdminName,
- Float:rX,
- Float:rY,
- Float:rZ,
- rDonetut,
- rCash,
- rWorld,
- rSSkin,
- rskin,
- rScore,
- rColor,
- rHAdminDuty,
- rChatDuty,
- rVw,
- rInt,
- rSkin,
- rWarns,
- rFactionRank,
- rFaction,
- rJob,
- rCheckroint,
- rCheck,
- rHasSpawned
- }
- new RPAccountInfo[MAX_PLAYERS][rpInfo];
- new gPlayerLogged[MAX_PLAYERS];
- #define DONATION_USER_FILE "DonUsers/%s.ini"
- enum wInfo
- {
- pWorld,
- pDonator,
- AdminDuty,
- //weapon stuff.
- pAllowedSniper,
- pAllowedBomb,
- pAllowedUzi,
- pAllowedMachinegun,
- pAllowedPistol,
- pAllowedShotgun,
- pAllowedMeele,
- pAllowedArmour,
- pAllowedWeapons,
- asa,
- AdminLevel
- }
- new WorldInfo[MAX_PLAYERS][wInfo];
- //defines colours
- #define COLOR_YELLOW 0xD8D8D8FF
- #define COLOR_FADE1 0xE6E6E6E6
- #define COLOR_FADE2 0xC8C8C8C8
- #define COLOR_FADE3 0xAAAAAAAA
- #define COLOR_FADE4 0x8C8C8C8C
- #define COLOR_FADE5 0x6E6E6E6E
- #define COLOR_FADE 0xC8C8C8C8
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_GRAD2 0xBFC0C2FF
- #define COLOR_DARKRED 0x8B0000AA
- #define COLOR_RED 0xFF0000AA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_PINK 0xDC00DDAA
- #define COLOR_BLUE 0x0259EAAA
- #define COLOR_GREEN 0x00A800AA
- #define COLOR_ORANGE 0xFF8000AA
- #define COLOR_CYAN 0xFF8080AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_DARKBLUE 0x0000A0AA
- #define COLOR_BLACK 0x000000AA
- #define COLOR_DARKGOLD 0x808000AA
- #define COLOR_PURPLE 0xC2A2DAAA
- #define COLOR_BROWN 0x804000AA
- #define COLOR_BLACK2 0x000000ff
- #define COLOR_GRAD2 0xBFC0C2FF
- //Color Defines
- #define green 0x33FF33AA
- #define red 0xFF0000AA
- #define yellow 0xFFFF00AA
- #define grey 0xC0C0C0AA
- #define blue 0x2641FEAA
- #define orange 0xFF9900AA
- #define black 0x2C2727AA
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("New project development");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- EnableStuntBonusForAll(0);
- DisableInteriorEnterExits();
- //vehicle system
- new query[142];
- DealerVehicleDatabase = db_open("DealershipVehicles.db");
- format(query, sizeof(query), "CREATE TABLE IF NOT EXISTS `DEALERCARS` (`vID`, `vModel`, `vX`, `vY`, `vZ`, `vRot`, `vForSale`, `vPrice`)");
- db_query(DealerVehicleDatabase, query);
- LoadDealershipVehicles();
- foreach(Player, i)
- {
- VehicleConnect(i);
- }
- //text draws start menu
- startgame = TextDrawCreate(239.5 ,127 , "Start Game");
- TextDrawFont(startgame , 3);
- TextDrawLetterSize(startgame , 1.0, 9.1);
- TextDrawColor(startgame , 0x0022ffFF);
- TextDrawSetOutline(startgame , false);
- TextDrawSetProportional(startgame , true);
- TextDrawSetShadow(startgame , 1);
- TextDrawSetSelectable(startgame, true);
- options = TextDrawCreate(279.5 ,207 , "Options");
- TextDrawFont(options , 3);
- TextDrawLetterSize(options , 1.0, 9.1);
- TextDrawColor(options , 0x0022ffFF);
- TextDrawSetOutline(options , false);
- TextDrawSetProportional(options , true);
- TextDrawSetShadow(options , 1);
- TextDrawSetSelectable(options, true);
- //skin selection
- nextskin = TextDrawCreate(255.5 ,385 , "Next Skin");
- TextDrawFont(nextskin , 1);
- TextDrawLetterSize(nextskin , 0.8, 5.6000000000000005);
- TextDrawColor(nextskin , 0x0022ffFF);
- TextDrawSetOutline(nextskin , false);
- TextDrawSetProportional(nextskin , true);
- TextDrawSetShadow(nextskin , 1);
- TextDrawSetSelectable(nextskin, true);
- backskin = TextDrawCreate(9.5 ,385 , "Previous skin");
- TextDrawFont(backskin , 1);
- TextDrawLetterSize(backskin , 0.8, 5.6000000000000005);
- TextDrawColor(backskin , 0x0022ffFF);
- TextDrawSetOutline(backskin , false);
- TextDrawSetProportional(backskin , true);
- TextDrawSetShadow(backskin , 1);
- TextDrawSetSelectable(backskin, true);
- doneskin = TextDrawCreate(538.5 ,385 , "Finish");
- TextDrawFont(doneskin , 1);
- TextDrawLetterSize(doneskin , 0.8, 5.6000000000000005);
- TextDrawColor(doneskin , 0x0022ffFF);
- TextDrawSetOutline(doneskin , false);
- TextDrawSetProportional(doneskin , true);
- TextDrawSetShadow(doneskin , 1);
- TextDrawSetSelectable(doneskin, true);
- //world select
- worldselect = TextDrawCreate(225.5 ,139 , "World Select");
- TextDrawFont(worldselect , 0);
- TextDrawLetterSize(worldselect , 1, 7);
- TextDrawColor(worldselect , 0xff0000FF);
- TextDrawSetOutline(worldselect , true);
- TextDrawSetProportional(worldselect , true);
- TextDrawSetShadow(worldselect , 1);
- worldrp = TextDrawCreate(225.5 ,219 , "RolePlay");
- TextDrawFont(worldrp , 0);
- TextDrawLetterSize(worldrp , 1, 7);
- TextDrawColor(worldrp , 0xff0000FF);
- TextDrawSetOutline(worldrp , true);
- TextDrawSetProportional(worldrp , true);
- TextDrawSetShadow(worldrp , 1);
- TextDrawSetSelectable(worldrp, true);
- worldstunt = TextDrawCreate(225.5 ,299 , "Stunting");
- TextDrawFont(worldstunt , 0);
- TextDrawLetterSize(worldstunt , 1, 7);
- TextDrawColor(worldstunt , 0xff0000FF);
- TextDrawSetOutline(worldstunt , true);
- TextDrawSetProportional(worldstunt , true);
- TextDrawSetShadow(worldstunt , 1);
- TextDrawSetSelectable(worldstunt, true);
- //houses blank interiors
- abuyh = 1;
- //ok int big and shit
- CreateObject(14706, 247.46, 1649.13, -11.44, 0.00, 0.00, 0.00);
- //very big blank int
- CreateObject(14707, 231.55, 1570.98, -27.28, 0.00, 0.00, 0.00);
- //pretty cool gang int
- CreateObject(14701, 273.30, 1560.40, -41.69, 0.00, 0.00, 0.00);
- AddObjectFromFile(OBJECT_FILE_NAME);
- //Vehicles
- apenter = CreateDynamicPickup(1318, 1,1685.6193,-2335.0063,13.5469, 0, 0, -1, 100.0);
- apexit = CreateDynamicPickup(1318, 1,-1896.8229,59.9074,1055.1296, 0, 14, -1, 100.0);
- CreateDynamicObject(1566,-1869.59997559,42.40000153,1055.50000000,0.00000000,0.00000000,269.99996948); //object(cj_ws_door) (1)
- CreateDynamicObject(8547,-1875.00000000,-15.19921875,1054.19995117,0.00000000,0.00000000,270.00000000); //object(fctrygrnd01_lvs) (1)
- CreateDynamicObject(2938,-1883.69995117,49.40000153,1056.80004883,0.00000000,0.00000000,90.00000000); //object(shutter_vegas) (1)
- CreateDynamicObject(2938,-1875.69995117,49.40000153,1059.40002441,0.00000000,0.00000000,90.00000000); //object(shutter_vegas) (2)
- CreateDynamicObject(2938,-1880.09997559,49.40000153,1052.80004883,0.00000000,0.00000000,90.00000000); //object(shutter_vegas) (3)
- CreateDynamicObject(2938,-1888.80004883,50.20000076,1056.80004883,0.00000000,0.00000000,180.00000000); //object(shutter_vegas) (4)
- CreateDynamicObject(2938,-1888.79980469,62.00000000,1059.40002441,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (5)
- CreateDynamicObject(2938,-1888.80004883,68.80000305,1056.80004883,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (6)
- CreateDynamicObject(2938,-1882.80004883,72.09999847,1056.80004883,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (7)
- CreateDynamicObject(2938,-1871.80004883,72.09999847,1056.80004883,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (8)
- CreateDynamicObject(2938,-1860.40002441,72.19999695,1056.69995117,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (9)
- CreateDynamicObject(2938,-1848.69995117,72.09999847,1056.19995117,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (10)
- CreateDynamicObject(2938,-1838.30004883,72.09999847,1056.80004883,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (11)
- CreateDynamicObject(2938,-1835.09997559,68.80000305,1056.80004883,0.00000000,0.01199341,179.95849609); //object(shutter_vegas) (12)
- CreateDynamicObject(2938,-1835.09997559,59.59999847,1059.40002441,0.00000000,0.01098633,179.95605469); //object(shutter_vegas) (13)
- CreateDynamicObject(2938,-1835.09960938,50.19921875,1056.80004883,0.00000000,0.00549316,180.09886169); //object(shutter_vegas) (14)
- CreateDynamicObject(2938,-1831.50000000,49.50000000,1056.80004883,0.00000000,0.00549316,271.16278076); //object(shutter_vegas) (15)
- CreateDynamicObject(2938,-1840.59997559,49.40000153,1059.30004883,0.00000000,0.00000000,270.22296143); //object(shutter_vegas) (17)
- CreateDynamicObject(2938,-1847.40002441,49.40000153,1056.69995117,0.00000000,0.00000000,270.21972656); //object(shutter_vegas) (18)
- CreateDynamicObject(2938,-1848.00000000,49.39941406,1056.69995117,0.00000000,0.00000000,270.21972656); //object(shutter_vegas) (19)
- CreateDynamicObject(2938,-1853.90002441,43.50000000,1056.69995117,0.00000000,0.00000000,0.51174927); //object(shutter_vegas) (20)
- CreateDynamicObject(1566,-1863.69995117,72.00000000,1055.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ws_door) (1)
- CreateDynamicObject(1566,-1860.59997559,72.00000000,1055.59997559,0.00000000,0.00000000,180.00000000); //object(cj_ws_door) (2)
- CreateDynamicObject(1492,-1874.09997559,49.50000000,1054.19995117,0.00000000,0.00000000,0.00000000); //object(gen_doorint02) (1)
- CreateDynamicObject(2938,-1869.69995117,43.50000000,1052.80004883,0.00000000,0.00000000,180.00000000); //object(shutter_vegas) (21)
- CreateDynamicObject(2938,-1869.69995117,43.50000000,1059.40002441,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (22)
- CreateDynamicObject(2938,-1869.69995117,38.90000153,1056.80004883,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (23)
- CreateDynamicObject(2938,-1874.09960938,39.89941406,1055.59997559,0.00000000,0.00000000,1.12609863); //object(shutter_vegas) (25)
- CreateDynamicObject(2938,-1880.09997559,45.90000153,1056.80004883,0.00000000,0.00000000,88.89392090); //object(shutter_vegas) (26)
- CreateDynamicObject(2938,-1878.19995117,43.29999924,1056.80004883,0.00000000,0.00000000,0.38619995); //object(shutter_vegas) (27)
- CreateDynamicObject(1649,-1835.19995117,61.59999847,1055.69995117,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (1)
- CreateDynamicObject(1649,-1835.19921875,61.69921875,1055.30004883,0.00000000,0.00000000,88.59924316); //object(wglasssmash) (2)
- CreateDynamicObject(1569,-1835.09960938,56.39941406,1054.09997559,0.00000000,0.00000000,219.99572754); //object(adam_v_door) (1)
- CreateDynamicObject(1569,-1835.09960938,59.19921875,1054.09997559,0.00000000,0.00000000,149.57464600); //object(adam_v_door) (2)
- CreateDynamicObject(11474,-1876.39941406,49.29980469,1056.09997559,0.00000000,0.00000000,6.60827637); //object(des_swtfence2) (1)
- CreateDynamicObject(970,-1867.30004883,47.50000000,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (1)
- CreateDynamicObject(970,-1863.19995117,47.50000000,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (2)
- CreateDynamicObject(970,-1859.69995117,47.50000000,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4)
- CreateDynamicObject(970,-1863.90002441,45.09999847,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (5)
- CreateDynamicObject(970,-1859.80004883,45.09999847,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (6)
- CreateDynamicObject(970,-1855.69995117,45.09999847,1054.69995117,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (7)
- CreateDynamicObject(9131,-1861.80004883,55.50000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (1)
- CreateDynamicObject(9131,-1861.80004883,55.50000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (2)
- CreateDynamicObject(9131,-1861.80004883,66.00000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (3)
- CreateDynamicObject(9131,-1861.79980469,66.00000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (4)
- CreateDynamicObject(9131,-1873.50000000,55.50000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (5)
- CreateDynamicObject(9131,-1873.50000000,55.50000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (6)
- CreateDynamicObject(9131,-1873.50000000,66.00000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (7)
- CreateDynamicObject(9131,-1873.50000000,66.00000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (8)
- CreateDynamicObject(9131,-1849.79980469,66.00000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (9)
- CreateDynamicObject(9131,-1849.80004883,66.00000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (10)
- CreateDynamicObject(9131,-1849.80004883,55.50000000,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (12)
- CreateDynamicObject(9131,-1839.39941406,49.09960938,1055.30004883,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (14)
- CreateDynamicObject(9131,-1839.40002441,49.00000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (15)
- CreateDynamicObject(9131,-1849.80004883,55.50000000,1057.59997559,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (16)
- CreateDynamicObject(2395,-1834.50000000,65.69921875,1054.09997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (2)
- CreateDynamicObject(2938,-1859.89941406,40.09960938,1056.80004883,0.00000000,0.00000000,90.72509766); //object(shutter_vegas) (28)
- CreateDynamicObject(2938,-1868.59960938,40.00000000,1056.80004883,0.00000000,0.00000000,90.58227539); //object(shutter_vegas) (29)
- CreateDynamicObject(2395,-1854.50000000,40.29999924,1054.09997559,0.00000000,0.00000000,181.13610840); //object(cj_sports_wall) (3)
- CreateDynamicObject(2395,-1858.19995117,40.29999924,1054.09997559,0.00000000,0.00000000,180.41168213); //object(cj_sports_wall) (4)
- CreateDynamicObject(2395,-1861.90002441,40.20000076,1054.09997559,0.00000000,0.00000000,180.40649414); //object(cj_sports_wall) (5)
- CreateDynamicObject(2395,-1865.59997559,40.20000076,1054.09997559,0.00000000,0.00000000,180.40649414); //object(cj_sports_wall) (6)
- CreateDynamicObject(2395,-1869.19921875,40.19921875,1054.09997559,0.00000000,0.00000000,177.23693848); //object(cj_sports_wall) (7)
- CreateDynamicObject(2395,-1854.50000000,40.29980469,1056.80004883,0.00000000,0.00000000,179.57153320); //object(cj_sports_wall) (8)
- CreateDynamicObject(2395,-1858.09997559,40.29999924,1056.80004883,0.00000000,0.00000000,180.47180176); //object(cj_sports_wall) (9)
- CreateDynamicObject(2395,-1861.80004883,40.20000076,1056.80004883,0.00000000,0.00000000,180.46691895); //object(cj_sports_wall) (10)
- CreateDynamicObject(2395,-1865.50000000,40.20000076,1056.80004883,0.00000000,0.00000000,180.26669312); //object(cj_sports_wall) (11)
- CreateDynamicObject(2395,-1869.19995117,40.20000076,1056.80004883,0.00000000,0.00000000,180.26367188); //object(cj_sports_wall) (12)
- CreateDynamicObject(2395,-1830.80004883,65.69999695,1054.09997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (13)
- CreateDynamicObject(2395,-1827.09997559,65.69999695,1054.09997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (14)
- CreateDynamicObject(2395,-1829.59997559,65.69999695,1056.80004883,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (15)
- CreateDynamicObject(2395,-1834.59997559,65.69999695,1056.80004883,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (16)
- CreateDynamicObject(2395,-1831.09997559,65.69999695,1056.80004883,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (17)
- CreateDynamicObject(2395,-1826.59997559,65.30000305,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (18)
- CreateDynamicObject(2395,-1826.59997559,65.30000305,1056.80004883,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (19)
- CreateDynamicObject(2395,-1826.59960938,61.59960938,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (20)
- CreateDynamicObject(2395,-1826.59960938,61.59960938,1056.80004883,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (21)
- CreateDynamicObject(2395,-1826.59997559,58.40000153,1056.80004883,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (22)
- CreateDynamicObject(2395,-1826.59960938,55.29980469,1056.80004883,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (23)
- CreateDynamicObject(2395,-1826.59997559,57.90000153,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (24)
- CreateDynamicObject(2395,-1826.59997559,54.59999847,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (25)
- CreateDynamicObject(2395,-1827.00000000,53.90000153,1054.09997559,0.00000000,0.00000000,180.00000000); //object(cj_sports_wall) (26)
- CreateDynamicObject(2395,-1827.00000000,53.90000153,1056.80004883,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (27)
- CreateDynamicObject(2395,-1831.80004883,53.90000153,1054.09997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (28)
- CreateDynamicObject(2395,-1831.80004883,53.90000153,1056.80004883,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (29)
- CreateDynamicObject(2395,-1829.19995117,53.90000153,1056.80004883,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (30)
- CreateDynamicObject(2395,-1829.50000000,53.90000153,1054.09997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (31)
- CreateDynamicObject(2395,-1834.90002441,53.09999847,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (32)
- CreateDynamicObject(2395,-1834.90002441,54.09999847,1056.69995117,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (33)
- CreateDynamicObject(2395,-1834.90002441,63.20000076,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (34)
- CreateDynamicObject(2395,-1834.90002441,63.20000076,1056.69995117,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (35)
- CreateDynamicObject(2395,-1834.90002441,59.59999847,1056.69995117,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (36)
- CreateDynamicObject(2395,-1834.90002441,57.00000000,1056.69995117,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (37)
- CreateDynamicObject(2412,-1834.40002441,59.09999847,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_detector) (1)
- CreateDynamicObject(2412,-1834.30004883,55.90000153,1054.09997559,0.00000000,0.00000000,270.00000000); //object(cj_detector) (2)
- CreateDynamicObject(2541,-1826.89941406,59.00000000,1054.30004883,0.00000000,0.00000000,270.00000000); //object(cj_ss_3_m) (1)
- CreateDynamicObject(2541,-1826.79980469,57.50000000,1054.30004883,0.00000000,0.00000000,270.00000000); //object(cj_ss_3_m) (2)
- CreateDynamicObject(2582,-1834.69995117,54.90000153,1055.00000000,0.00000000,0.00000000,90.00000000); //object(cj_sex_video_1) (1)
- CreateDynamicObject(12854,-1830.89941406,59.79980469,1056.09997559,0.00000000,0.00000000,0.00000000); //object(sw_gas01int) (1)
- CreateDynamicObject(2941,-1834.19995117,63.40000153,1055.09997559,0.00000000,0.00000000,0.00000000); //object(temp_till) (1)
- CreateDynamicObject(2941,-1832.19995117,63.40000153,1055.09997559,0.00000000,0.00000000,0.00000000); //object(temp_till) (2)
- CreateDynamicObject(1713,-1877.80004883,46.79999924,1054.09997559,0.00000000,0.00000000,90.00000000); //object(kb_couch04) (1)
- CreateDynamicObject(2938,-1875.90002441,42.59999847,1056.80004883,0.00000000,0.00000000,90.94607544); //object(shutter_vegas) (25)
- CreateDynamicObject(2009,-1870.30004883,44.20000076,1054.09997559,0.00000000,0.00000000,179.33178711); //object(officedesk2l) (2)
- CreateDynamicObject(2009,-1872.59997559,43.29999924,1054.09997559,0.00000000,0.00000000,90.01388550); //object(officedesk2l) (3)
- CreateDynamicObject(1671,-1871.19995117,43.90000153,1054.59997559,0.00000000,0.00000000,0.00000000); //object(swivelchair_a) (1)
- CreateDynamicObject(1671,-1872.90002441,44.20000076,1054.59997559,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (2)
- CreateDynamicObject(2231,-1878.19995117,49.20000076,1056.40002441,0.00000000,0.00000000,90.00000000); //object(swank_speaker_3) (1)
- CreateDynamicObject(2231,-1878.19995117,46.40000153,1056.40002441,0.00000000,0.00000000,90.00000000); //object(swank_speaker_3) (2)
- CreateDynamicObject(3803,-1865.59997559,49.00000000,1054.40002441,0.00000000,0.00000000,0.00000000); //object(sfx_alarms03) (1)
- CreateDynamicObject(995,-1853.30004883,62.09999847,1054.40002441,0.00000000,0.00000000,181.99952698); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1880.09997559,61.50000000,1054.69995117,0.00000000,0.00000000,103.09115601); //object(bar_barrier16) (2)
- CreateDynamicObject(995,-1876.50000000,65.50000000,1054.69995117,0.00000000,0.00000000,266.34313965); //object(bar_barrier16) (3)
- CreateDynamicObject(995,-1881.00000000,68.59999847,1054.69995117,0.00000000,0.00000000,89.97045898); //object(bar_barrier16) (4)
- CreateDynamicObject(995,-1881.00000000,64.90000153,1054.69995117,0.00000000,0.00000000,89.96704102); //object(bar_barrier16) (5)
- CreateDynamicObject(995,-1880.90002441,62.20000076,1054.69995117,0.00000000,0.00000000,89.96704102); //object(bar_barrier16) (6)
- CreateDynamicObject(995,-1876.50000000,69.80000305,1054.69995117,0.00000000,0.00000000,269.96704102); //object(bar_barrier16) (7)
- CreateDynamicObject(995,-1876.59997559,65.90000153,1054.69995117,0.00000000,0.00000000,269.96154785); //object(bar_barrier16) (8)
- CreateDynamicObject(995,-1871.69995117,70.40000153,1054.69995117,0.00000000,0.00000000,180.34155273); //object(bar_barrier16) (9)
- CreateDynamicObject(995,-1870.40002441,66.30000305,1054.69995117,0.00000000,0.00000000,90.01647949); //object(bar_barrier16) (10)
- CreateDynamicObject(995,-1870.50000000,62.50000000,1054.69995117,0.00000000,0.00000000,90.01647949); //object(bar_barrier16) (11)
- CreateDynamicObject(995,-1866.50000000,61.90000153,1054.69995117,0.00000000,0.00000000,180.01647949); //object(bar_barrier16) (12)
- CreateDynamicObject(995,-1866.09997559,65.69999695,1054.69995117,0.00000000,0.00000000,269.80044556); //object(bar_barrier16) (13)
- CreateDynamicObject(995,-1866.00000000,69.30000305,1054.69995117,0.00000000,0.00000000,269.79675293); //object(bar_barrier16) (14)
- CreateDynamicObject(995,-1866.00000000,73.09999847,1054.69995117,0.00000000,0.00000000,269.79675293); //object(bar_barrier16) (15)
- CreateDynamicObject(995,-1857.40002441,67.59999847,1054.69995117,0.00000000,0.00000000,89.79675293); //object(bar_barrier16) (16)
- CreateDynamicObject(995,-1857.40002441,63.50000000,1054.69995117,0.00000000,0.00000000,89.79125977); //object(bar_barrier16) (17)
- CreateDynamicObject(995,-1857.30004883,62.20000076,1054.69995117,0.00000000,0.00000000,89.79125977); //object(bar_barrier16) (18)
- CreateDynamicObject(995,-1853.40002441,61.90000153,1054.69995117,0.00000000,0.00000000,179.79125977); //object(bar_barrier16) (19)
- CreateDynamicObject(995,-1853.00000000,65.80000305,1054.69995117,0.00000000,0.00000000,269.78576660); //object(bar_barrier16) (20)
- CreateDynamicObject(995,-1852.90002441,68.30000305,1054.69995117,0.00000000,0.00000000,269.99951172); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1852.90002441,71.80000305,1054.69995117,0.00000000,0.00000000,269.99450684); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1848.19995117,70.40000153,1054.69995117,0.00000000,0.00000000,179.99450684); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1846.90002441,66.80000305,1054.69995117,0.00000000,0.00000000,89.99450684); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1846.90002441,62.79999924,1054.69995117,0.00000000,0.00000000,89.99450684); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1846.69995117,62.00000000,1054.69995117,0.00000000,0.00000000,89.99450684); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1842.80004883,61.90000153,1054.69995117,0.00000000,0.00000000,181.47032166); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1842.40002441,66.00000000,1054.69995117,0.00000000,0.00000000,269.46667480); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1842.40002441,69.59999847,1054.69995117,0.00000000,0.00000000,269.92971802); //object(bar_barrier16) (1)
- CreateDynamicObject(995,-1842.40002441,72.09999847,1054.69995117,0.00000000,0.00000000,269.92858887); //object(bar_barrier16) (1)
- CreateDynamicObject(1523,-1888.90002441,59.29999924,1054.09997559,0.00000000,0.00000000,270.00000000); //object(gen_doorext10) (1)
- CreateDynamicObject(1523,-1888.80004883,59.59999847,1054.09997559,0.00000000,0.00000000,90.00000000); //object(gen_doorext10) (2)
- CreateDynamicObject(1649,-1888.80004883,55.59999847,1055.80004883,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (3)
- CreateDynamicObject(1649,-1888.80004883,63.29999924,1055.80004883,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (4)
- CreateDynamicObject(1649,-1888.90002441,55.59999847,1055.80004883,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (5)
- CreateDynamicObject(1649,-1888.89941406,63.29980469,1055.80004883,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (6)
- CreateDynamicObject(1649,-1888.80004883,59.59999847,1058.19995117,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (7)
- CreateDynamicObject(2395,-1869.80004883,49.50000000,1057.40002441,359.99240112,89.76354980,180.20372009); //object(cj_sports_wall) (8)
- CreateDynamicObject(2938,-1897.59960938,59.79980469,1056.80004883,0.00000000,0.00000000,179.99450684); //object(shutter_vegas) (5)
- CreateDynamicObject(2938,-1895.00000000,65.80000305,1056.80004883,0.00000000,0.00000000,89.99450684); //object(shutter_vegas) (5)
- CreateDynamicObject(2938,-1895.00000000,53.69921875,1056.80004883,0.00000000,0.00000000,90.64617920); //object(shutter_vegas) (5)
- CreateDynamicObject(2688,-1853.50000000,49.59999847,1055.69995117,0.00000000,0.00000000,180.00000000); //object(cj_food_post4) (1)
- CreateDynamicObject(3468,-1836.50000000,60.59999847,1054.80004883,0.00000000,0.00000000,270.00000000); //object(vegstreetsign2) (1)
- CreateDynamicObject(7313,-1861.69995117,49.40000153,1056.69995117,0.00000000,0.00000000,180.11154175); //object(vgsn_scrollsgn01) (1)
- CreateDynamicObject(2200,-1871.69995117,49.29999924,1054.19995117,0.00000000,0.00000000,0.00000000); //object(med_office5_unit_1) (1)
- CreateDynamicObject(1256,-1879.09997559,49.90000153,1054.80004883,0.00000000,0.00000000,270.00000000); //object(stonebench1) (1)
- CreateDynamicObject(1256,-1882.80004883,49.90000153,1054.80004883,0.00000000,0.00000000,270.00000000); //object(stonebench1) (2)
- CreateDynamicObject(1256,-1886.59997559,49.90000153,1054.80004883,0.00000000,0.00000000,270.00000000); //object(stonebench1) (3)
- CreateDynamicObject(1550,-1870.19995117,48.40000153,1054.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (1)
- CreateDynamicObject(1550,-1870.19995117,47.90000153,1054.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (2)
- CreateDynamicObject(1215,-1889.19995117,59.50000000,1054.59997559,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
- CreateDynamicObject(1215,-1890.19995117,59.50000000,1054.59997559,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
- CreateDynamicObject(2395,-1893.50000000,53.79999924,1054.90002441,0.00000000,0.00000000,180.49987793); //object(cj_sports_wall) (21)
- CreateDynamicObject(2614,-1889.09997559,59.50000000,1057.50000000,0.00000000,0.00000000,270.84790039); //object(cj_us_flag) (1)
- CreateDynamicObject(1583,-1890.80004883,53.90000153,1054.19995117,0.00000000,0.00000000,0.00000000); //object(tar_gun2) (1)
- CreateDynamicObject(1585,-1892.00000000,53.90000153,1054.09997559,0.00000000,0.00000000,0.00000000); //object(tar_civ2) (1)
- CreateDynamicObject(1584,-1893.09997559,53.90000153,1054.09997559,0.00000000,0.00000000,0.00000000); //object(tar_gun1) (1)
- CreateDynamicObject(2395,-1889.30004883,53.90000153,1054.09997559,0.00000000,0.00000000,180.00000000); //object(cj_sports_wall) (72)
- CreateDynamicObject(2395,-1889.30004883,53.90000153,1056.59997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (73)
- CreateDynamicObject(2395,-1893.00000000,53.90000153,1054.09997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (74)
- CreateDynamicObject(2395,-1893.00000000,53.90000153,1055.69995117,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (75)
- CreateDynamicObject(2395,-1895.00000000,53.90000153,1055.69995117,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (76)
- CreateDynamicObject(2395,-1895.19995117,53.90000153,1054.09997559,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (77)
- CreateDynamicObject(2395,-1897.40002441,54.29999924,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (78)
- CreateDynamicObject(2395,-1897.40002441,54.29999924,1056.30004883,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (79)
- CreateDynamicObject(2395,-1897.40002441,57.50000000,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (80)
- CreateDynamicObject(2395,-1897.40002441,57.50000000,1056.30004883,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (81)
- CreateDynamicObject(2395,-1897.40002441,61.20000076,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (82)
- CreateDynamicObject(2395,-1897.40002441,61.20000076,1055.90002441,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (83)
- CreateDynamicObject(2395,-1897.40002441,62.59999847,1055.90002441,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (84)
- CreateDynamicObject(2395,-1897.40002441,62.79999924,1054.09997559,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (85)
- CreateDynamicObject(2395,-1897.00000000,65.69999695,1054.09997559,0.00000000,0.00000000,0.03051758); //object(cj_sports_wall) (86)
- CreateDynamicObject(2395,-1897.00000000,65.69999695,1055.90002441,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (87)
- CreateDynamicObject(2395,-1893.30004883,65.69999695,1054.09997559,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (88)
- CreateDynamicObject(2395,-1893.30004883,65.69999695,1055.69995117,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (89)
- CreateDynamicObject(2395,-1892.19995117,65.69999695,1054.09997559,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (90)
- CreateDynamicObject(2395,-1892.19995117,65.69999695,1055.80004883,0.00000000,0.00000000,0.02746582); //object(cj_sports_wall) (91)
- CreateDynamicObject(2395,-1889.09997559,65.90000153,1054.09997559,0.00000000,0.00000000,270.02746582); //object(cj_sports_wall) (92)
- CreateDynamicObject(2395,-1889.09997559,65.30000305,1056.69995117,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (93)
- CreateDynamicObject(2395,-1889.09997559,62.20000076,1056.69995117,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (94)
- CreateDynamicObject(2395,-1889.09997559,59.00000000,1056.69995117,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (95)
- CreateDynamicObject(2395,-1889.09997559,55.90000153,1056.69995117,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (96)
- CreateDynamicObject(2395,-1889.09997559,55.79999924,1054.09997559,0.00000000,0.00000000,270.02197266); //object(cj_sports_wall) (97)
- CreateDynamicObject(1566,-1897.40002441,58.20000076,1055.69995117,0.00000000,0.00000000,90.00000000); //object(cj_ws_door) (5)
- CreateDynamicObject(1566,-1897.40002441,61.29999924,1055.69995117,0.00000000,0.00000000,269.71191406); //object(cj_ws_door) (6)
- CreateDynamicObject(1495,-1837.40002441,49.40000153,1054.19995117,0.00000000,0.00000000,180.00000000); //object(gen_doorext01) (1)
- CreateDynamicObject(1495,-1841.50000000,49.40000153,1054.19995117,0.00000000,0.00000000,359.99450684); //object(gen_doorext01) (2)
- CreateDynamicObject(2395,-1838.09997559,49.40000153,1054.09997559,0.00000000,0.00000000,180.00000000); //object(cj_sports_wall) (107)
- //object format CreateDynamicObject({model}, {x}, {y}, {z}, {rx}, {ry}, {rz}, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
- //Objects stunt world = world 1 to 4 roleplay = world 0 cops n robbers = world 5
- //LS AP
- CreateDynamicObject(18779, 1874.42000000, -2292.61000000, 22.31000000, 0.00000000, 0.00000000, 4.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(6959, 2025.34000000, -2286.17000000, 24.56000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(6959, 2025.23000000, -2246.12000000, 24.56000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18788, 1986.36000000, -2294.80000000, 16.80000000, 0.00000000, 340.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18788, 1986.26000000, -2269.52000000, 16.80000000, 0.00000000, 340.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18790, 1910.19000000, -2284.55000000, 10.80000000, 0.00000000, 0.00000000, 272.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18801, 1680.46000000, -2593.96000000, 34.90000000, 0.00000000, 0.00000000, 2.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18750, 1892.55000000, -2281.43000000, 19.70000000, 87.99000000, 0.00000000, 92.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18789, 1945.82000000, -2279.68000000, 42.92000000, 0.00000000, 0.00000000, 4.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1865.33000000, -2292.91000000, 31.06000000, 0.00000000, 26.00000000, 4.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1862.32000000, -2293.03000000, 38.06000000, 0.00000000, 44.00000000, 3.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1861.65000000, -2292.69000000, 51.56000000, 0.00000000, 77.99000000, 3.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18795, 2039.45000000, -2272.45000000, 42.36000000, 0.00000000, 0.00000000, 6.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18795, 2077.69000000, -2277.53000000, 42.36000000, 0.00000000, 0.00000000, 354.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18795, 2113.11000000, -2293.02000000, 42.36000000, 0.00000000, 0.00000000, 334.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18795, 2142.40000000, -2319.73000000, 42.36000000, 0.00000000, 0.00000000, 316.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18795, 2161.91000000, -2354.15000000, 42.36000000, 0.00000000, 0.00000000, 297.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18795, 2169.78000000, -2393.00000000, 42.36000000, 0.00000000, 0.00000000, 279.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18795, 2165.35000000, -2432.14000000, 42.36000000, 0.00000000, 0.00000000, 261.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18795, 2150.02000000, -2469.04000000, 42.36000000, 0.00000000, 0.00000000, 247.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 2139.66000000, -2482.43000000, 44.73000000, 0.00000000, 0.00000000, 140.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 2137.17000000, -2485.57000000, 47.23000000, 18.00000000, 0.00000000, 140.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18789, 1911.88000000, -2406.96000000, 35.92000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18809, 1911.98000000, -2506.33000000, 41.15000000, 270.00000000, 180.00000000, 180.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18809, 1911.97000000, -2556.35000000, 41.15000000, 270.00000000, 179.99000000, 179.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18826, 1896.62000000, -2592.43000000, 40.61000000, 272.00000000, 180.00000000, 272.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18826, 1863.47000000, -2573.94000000, 40.61000000, 272.00000000, 179.99000000, 96.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18825, 1848.75000000, -2596.42000000, 57.10000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18829, 1848.69000000, -2560.56000000, 69.38000000, 278.00000000, 180.00000000, 180.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1850.40000000, -2537.60000000, 62.49000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1846.65000000, -2537.45000000, 62.49000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18789, 1906.16000000, -2161.78000000, 35.92000000, 0.00000000, 0.00000000, 91.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18789, 1903.25000000, -2074.66000000, 35.92000000, 0.00000000, 0.00000000, 91.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1895.21000000, -2004.54000000, 45.96000000, 0.00000000, 0.00000000, 272.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1894.85000000, -1997.78000000, 52.21000000, 0.00000000, 20.00000000, 272.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1894.99000000, -1992.98000000, 61.21000000, 0.00000000, 40.00000000, 272.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1895.06000000, -1991.86000000, 68.96000000, 0.00000000, 57.99000000, 272.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18789, 1903.70000000, -2090.38000000, 52.12000000, 0.00000000, 0.00000000, 91.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 1905.98000000, -2163.04000000, 53.68000000, 0.00000000, 0.00000000, 182.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 1906.18000000, -2167.11000000, 55.93000000, 14.00000000, 0.00000000, 182.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1814.39000000, -2418.51000000, 21.80000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18789, 1715.03000000, -2413.36000000, 31.42000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1635.46000000, -2419.16000000, 40.10000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18844, 1621.98000000, -2413.25000000, 99.39000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2120.96000000, -2450.85000000, 23.92000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2072.96000000, -2450.91000000, 23.92000000, 0.00000000, 0.00000000, 360.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2072.96000000, -2450.91000000, 23.92000000, 0.00000000, 0.00000000, 360.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2072.22000000, -2597.49000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2072.22000000, -2597.49000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2112.19000000, -2597.52000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2112.19000000, -2597.52000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18753, 2086.06000000, -2529.58000000, 13.05000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2047.56000000, -2597.65000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2047.56000000, -2597.65000000, 23.92000000, 0.00000000, 0.00000000, 179.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2047.91000000, -2450.93000000, 23.92000000, 0.00000000, 0.00000000, 359.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2047.91000000, -2450.93000000, 23.92000000, 0.00000000, 0.00000000, 359.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18785, 2013.56000000, -2541.02000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18785, 2013.66000000, -2560.06000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18785, 2013.45000000, -2521.33000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18785, 2013.55000000, -2501.51000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18785, 2013.58000000, -2481.78000000, 11.05000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2123.50000000, -2564.69000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2123.50000000, -2564.69000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2123.47000000, -2516.12000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2123.47000000, -2516.12000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2123.47000000, -2467.91000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18859, 2123.47000000, -2467.91000000, 23.92000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18781, 1999.40000000, -2440.59000000, 23.27000000, 0.00000000, 0.00000000, 272.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18781, 2002.76000000, -2608.28000000, 23.27000000, 0.00000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1442.77000000, -2493.88000000, 13.30000000, 358.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1427.04000000, -2494.02000000, 17.80000000, 349.99000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1405.97000000, -2493.85000000, 23.80000000, 341.99000000, 0.00000000, 269.99000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1347.36000000, -2493.99000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1288.11000000, -2494.06000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1228.90000000, -2494.14000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1169.60000000, -2494.26000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1154.92000000, -2509.39000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1149.86000000, -2509.44000000, 37.69000000, 18.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1147.07000000, -2509.38000000, 41.69000000, 42.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1146.04000000, -2509.30000000, 47.44000000, 70.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1142.44000000, -2500.82000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1142.39000000, -2497.41000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1140.02000000, -2480.98000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1632, 1139.96000000, -2477.45000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 1144.81000000, -2491.73000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 1144.84000000, -2489.45000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 1144.55000000, -2487.43000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 1146.44000000, -2486.09000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 1146.80000000, -2489.52000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 1146.67000000, -2488.10000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 1146.95000000, -2491.11000000, 33.54000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1047.68000000, -2493.47000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 988.07000000, -2493.50000000, 33.14000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 959.75000000, -2499.07000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 955.47000000, -2499.11000000, 37.44000000, 22.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 952.18000000, -2499.03000000, 41.94000000, 39.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 950.94000000, -2499.19000000, 47.44000000, 67.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 951.62000000, -2498.88000000, 53.19000000, 81.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 960.54000000, -2488.71000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 956.14000000, -2488.77000000, 37.44000000, 21.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 953.00000000, -2488.78000000, 41.94000000, 39.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 951.94000000, -2488.64000000, 47.44000000, 67.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 952.86000000, -2488.75000000, 53.19000000, 81.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 960.55000000, -2478.68000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 956.00000000, -2478.73000000, 37.44000000, 21.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 952.62000000, -2478.79000000, 41.94000000, 39.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 951.20000000, -2478.84000000, 47.44000000, 67.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 951.96000000, -2478.58000000, 53.19000000, 81.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 960.33000000, -2508.49000000, 34.44000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 955.73000000, -2508.72000000, 37.44000000, 21.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 952.34000000, -2508.74000000, 41.94000000, 39.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 951.24000000, -2508.93000000, 47.44000000, 67.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 951.85000000, -2509.02000000, 53.19000000, 81.99000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 994.10000000, -2493.58000000, 43.89000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1032.00000000, -2493.37000000, 56.46000000, 26.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19073, 1078.82000000, -2493.17000000, 79.41000000, 26.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19071, 1136.86000000, -2492.96000000, 92.46000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19071, 1194.26000000, -2493.11000000, 92.46000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19071, 1252.92000000, -2493.24000000, 92.46000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 1282.08000000, -2478.17000000, 93.26000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 1282.22000000, -2487.96000000, 93.26000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 1282.31000000, -2498.26000000, 93.26000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1655, 1281.93000000, -2508.26000000, 93.26000000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18750, 1787.93000000, -2632.18000000, 52.52000000, 87.99000000, 0.00000000, 180.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18806, 1418.18000000, -2583.63000000, 9.55000000, 0.00000000, 2.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18845, 1557.17000000, -2619.34000000, 52.55000000, 0.00000000, 0.00000000, 86.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18845, 1557.17000000, -2619.34000000, 52.55000000, 0.00000000, 0.00000000, 86.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1660, 1557.19000000, -2611.63000000, 10.30000000, 0.00000000, 0.00000000, 178.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(16304, 1766.65000000, -2542.97000000, 17.23000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18801, 1681.28000000, -2491.41000000, 34.90000000, 0.00000000, 0.00000000, 2.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18825, 1723.76000000, -2403.68000000, 33.13000000, 0.00000000, 0.00000000, 268.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18836, 1723.41000000, -2439.07000000, 49.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18836, 1723.41000000, -2439.07000000, 49.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18836, 1723.39000000, -2483.52000000, 49.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18836, 1723.39000000, -2483.52000000, 49.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(16401, 1723.50000000, -2507.10000000, 44.23000000, 0.00000000, 356.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(16401, 1723.50000000, -2507.10000000, 44.23000000, 0.00000000, 356.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18862, 1939.50000000, -2385.61000000, 17.48000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18855, 1853.45000000, -2362.62000000, 49.12000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18841, 1881.02000000, -2361.97000000, 23.05000000, -4.00000000, 91.00000000, 89.17000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18983, 1934.67000000, -2361.99000000, 80.89000000, 0.00000000, 0.00000000, 270.80000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18983, 2033.95000000, -2360.60000000, 80.89000000, 0.00000000, 0.00000000, 270.80000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18833, 2108.41000000, -2364.05000000, 78.37000000, 84.00000000, 0.00000000, 249.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18833, 2145.13000000, -2395.06000000, 73.40000000, 84.00000000, 0.00000000, 210.67000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18833, 2153.53000000, -2442.45000000, 68.38000000, 84.00000000, 0.00000000, 169.43000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 2146.58000000, -2460.20000000, 63.28000000, 0.00000000, 0.00000000, 140.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18855, 1899.61000000, -2511.90000000, 49.12000000, 0.00000000, 0.00000000, 88.61000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18825, 1784.83000000, -2645.05000000, 33.10000000, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1955.53000000, -2638.65000000, 21.80000000, 0.00000000, 0.00000000, 89.79000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1944.48000000, -2638.50000000, 21.80000000, 0.00000000, 0.00000000, 90.09000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1955.48000000, -2645.86000000, 28.24000000, 0.00000000, 25.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1944.52000000, -2645.64000000, 28.24000000, 0.00000000, 25.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1955.39000000, -2651.35000000, 48.78000000, 0.00000000, 62.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1944.40000000, -2651.23000000, 48.78000000, 0.00000000, 62.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1955.34000000, -2643.95000000, 67.18000000, 0.00000000, 98.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1944.42000000, -2643.86000000, 67.18000000, 0.00000000, 98.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18450, 1940.89000000, -2589.25000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18450, 1956.44000000, -2589.81000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18450, 1959.23000000, -2512.13000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18450, 1943.52000000, -2510.52000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1940.81000000, -2411.09000000, 65.85000000, 0.00000000, 0.00000000, 268.43000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1956.93000000, -2412.09000000, 65.85000000, 0.00000000, 0.00000000, 268.43000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18450, 1946.18000000, -2431.55000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18450, 1962.01000000, -2432.37000000, 56.64000000, 0.00000000, 0.00000000, 87.98000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18772, 1426.79000000, -2357.07000000, 53.22000000, 18.00000000, 0.00000000, 41.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18772, 1272.00000000, -2179.10000000, 129.89000000, 18.00000000, 0.00000000, 41.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18785, 1188.90000000, -2081.74000000, 168.53000000, 0.00000000, 0.00000000, 41.19000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 1511.04000000, -2452.40000000, 13.64000000, 0.00000000, 0.00000000, 221.34000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 1513.43000000, -2455.04000000, 15.35000000, 18.00000000, 0.00000000, 221.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18843, 1448.67000000, -2444.00000000, 82.69000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18779, 1455.86000000, -2454.20000000, 22.40000000, 0.00000000, 0.00000000, 331.51000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 1663.50000000, -2539.45000000, 13.90000000, 0.00000000, 0.00000000, 89.32000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 1663.36000000, -2545.43000000, 13.90000000, 0.00000000, 0.00000000, 89.32000000, 1, -1, -1, 200.0);
- //stunt factory
- CreateDynamicObject(16481, -195.14933777, -227.66950989, 10.99456406, 0.00000000, 344.00000000, 330.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -201.47261047, -212.60549927, 1.71919274, 0.00000000, 0.00000000, 358.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -201.09976196, -202.05545044, 1.71919274, 0.00000000, 0.00000000, 178.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -196.33396912, -207.45697021, 1.71919274, 0.00000000, 0.00000000, 88.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -206.17477417, -207.15454102, 1.71919274, 0.00000000, 0.00000000, 268.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -208.50009155, -285.69183350, 1.72700524, 0.00000000, 2.00000000, 16.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -211.60375977, -275.69680786, 1.72700524, 0.00000000, 0.00000000, 198.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -204.91249084, -279.04864502, 1.72700524, 0.00000000, 0.00000000, 107.99996948, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -214.96748352, -282.26614380, 1.72700524, 0.00000000, 0.00000000, 287.99996948, 1, -1, -1, 200.0);
- CreateDynamicObject(13641, -154.34701538, -208.30624390, 0.42187309, 0.00000000, 0.00000000, 356.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -94.82765198, -210.29061890, 1.71919274, 0.00000000, 0.00000000, 267.99499512, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -80.76728821, -210.93264771, 6.82929230, 0.00000000, 0.00000000, 267.99499512, 1, -1, -1, 200.0);
- CreateDynamicObject(16481, -171.42832947, -251.72755432, 25.81656837, 0.00000000, 0.00000000, 297.99584961, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -163.20703125, -266.54882812, 31.30779648, 0.00000000, 0.00000000, 95.99853516, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -146.86611938, -264.50619507, 33.52396011, 0.00000000, 0.00000000, 275.99853516, 1, -1, -1, 200.0);
- CreateDynamicObject(16481, -120.43521881, -259.62863159, 39.84100723, 0.00000000, 340.00000000, 15.99319458, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -79.85984039, -239.87408447, 51.22595215, 0.00000000, 0.00000000, 95.99853516, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -50.27479172, -236.86585999, 54.96842194, 0.00000000, 0.00000000, 95.99853516, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -21.78605843, -233.76364136, 58.57662964, 0.00000000, 0.00000000, 55.99853516, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, 2.65164948, -249.99743652, 62.26941681, 0.00000000, 0.00000000, 9.99731445, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, 8.40814209, -278.88153076, 65.63025665, 0.00000000, 0.00000000, 319.99206543, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -10.36410141, -301.59222412, 69.33874512, 0.00000000, 0.00000000, 273.98779297, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -40.73799133, -303.84008789, 73.12805176, 0.00000000, 0.00000000, 217.98252869, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -59.74627686, -279.38211060, 76.62686920, 0.00000000, 2.00000000, 205.97717285, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -85.55943298, -226.47299194, 76.16911316, 0.00000000, 0.00000000, 25.97216797, 1, -1, -1, 200.0);
- CreateDynamicObject(13645, -83.48138428, -229.20384216, 77.70307922, 0.00000000, 1.99951172, 13.99658203, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -86.74349976, -223.69183350, 79.11174011, 0.00000000, 1.99987793, 269.97241211, 1, -1, -1, 200.0);
- CreateDynamicObject(13641, -155.49270630, -230.86688232, 91.63819885, 0.00000000, 356.00000000, 173.99047852, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -31.14160919, -216.94856262, 5.72700500, 0.00000000, 0.00000000, 262.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -8.41685677, -219.84712219, 5.72700500, 0.00000000, 0.00000000, 81.99645996, 1, -1, -1, 200.0);
- CreateDynamicObject(16401, 10.16519928, -222.75689697, 4.42968750, 0.00000000, 0.00000000, 354.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(12956, -17.13419914, -367.51550293, 8.25792599, 0.00000000, 0.00000000, 268.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1320, -19.72239685, -224.59963989, 5.91406250, 0.00000000, 0.00000000, 172.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(12921, -1.52108145, -267.05538940, 7.78780603, 0.00000000, 0.00000000, 182.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(973, 5.41496849, -260.16879272, 5.26990747, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(973, 5.46605015, -247.42930603, 5.26990747, 0.00000000, 0.00000000, 269.99450684, 1, -1, -1, 200.0);
- CreateDynamicObject(973, 5.42385483, -234.29843140, 5.26990747, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3865, -4.93347454, -300.20974731, 5.12321186, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3865, -4.94740295, -308.33032227, 5.05853462, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, 191.64787292, -307.72808838, 15.39496994, 0.00000000, 0.00000000, 57.99133301, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, 165.16043091, -290.14453125, 1.86968827, 0.00000000, 0.00000000, 237.99496460, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, 176.31903076, -297.45455933, 7.56785107, 0.00000000, 0.00000000, 237.99133301, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, 189.04402161, -305.82162476, 13.21139717, 0.00000000, 0.00000000, 237.99133301, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, 216.29061890, -324.92340088, 18.80285835, 0.00000000, 0.00000000, 1.98852539, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, 216.78836060, -354.68359375, 22.08989716, 0.00000000, 356.00000000, 317.98779297, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, 195.37144470, -376.61270142, 25.52708817, 0.00000000, 351.99499512, 279.98657227, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, 164.75256348, -379.95330811, 28.58971214, 0.00000000, 357.98950195, 239.98535156, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, 138.73860168, -364.50061035, 32.09196854, 0.00000000, 357.98950195, 239.97985840, 1, -1, -1, 200.0);
- CreateDynamicObject(13641, 109.51821899, -346.84558105, 38.03905869, 0.00000000, 352.00000000, 145.99182129, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, 63.72570801, -317.79864502, 27.62540436, 0.00000000, 357.98950195, 57.98034668, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, 24.78656769, -312.61520386, 29.62191391, 0.00000000, 0.00000000, 91.99133301, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, 11.28437424, -312.74859619, 35.57875824, 0.00000000, 0.00000000, 91.98852539, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -2.25998402, -313.31488037, 40.59996414, 0.00000000, 0.00000000, 91.98852539, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -5.48137331, -313.18692017, 42.67329407, 0.00000000, 357.98950195, 271.97753906, 1, -1, -1, 200.0);
- CreateDynamicObject(16481, -47.02262878, -314.63464355, 57.16702271, 0.00000000, 331.99938965, 181.99060059, 1, -1, -1, 200.0);
- CreateDynamicObject(16481, -47.21809387, -314.50436401, 57.69026566, 0.00000000, 335.99584961, 181.98852539, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -60.33315659, -314.98638916, 70.16845703, 0.00000000, 0.00000000, 271.98254395, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -95.91169739, -316.37988281, 75.32136536, 0.00000000, 0.00000000, 91.98852539, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -117.72367096, -317.44146729, 64.88913727, 0.00000000, 0.00000000, 89.98852539, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -138.10069275, -318.19323730, 49.74314117, 0.00000000, 0.00000000, 89.98352051, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -141.23693848, -318.00723267, 52.32511520, 0.00000000, 0.00000000, 269.97753906, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -170.74310303, -317.86880493, 55.72505188, 0.00000000, 356.00000000, 223.97277832, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -192.12510681, -295.52636719, 59.00794601, 0.00000000, 0.00000000, 197.96862793, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -201.65472412, -266.11157227, 62.38274002, 0.00000000, 0.00000000, 195.96862793, 1, -1, -1, 200.0);
- CreateDynamicObject(13641, -211.00531006, -233.35041809, 68.18672180, 0.00000000, 351.99645996, 103.99108887, 1, -1, -1, 200.0);
- CreateDynamicObject(975, -122.12597656, -324.74609375, 14.19808388, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(13592, -84.34954834, -356.86651611, 12.00029469, 0.00000000, 14.00000000, 2.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(13592, -85.32812500, -364.78808594, 12.00029469, 0.00000000, 342.00000000, 1.99951172, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -117.63833618, -386.88027954, 1.26990759, 0.00000000, 0.00000000, 317.99450684, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -125.05087280, -380.07464600, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -132.45034790, -373.44528198, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -139.93624878, -366.73812866, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -147.53088379, -359.95889282, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -155.16741943, -353.18746948, 1.26990759, 0.00000000, 0.00000000, 317.99377441, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -162.60369873, -346.00888062, 1.26990759, 0.00000000, 0.00000000, 313.99377441, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -169.67137146, -338.71588135, 1.26990759, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -177.11444092, -331.07568359, 1.26990759, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 200.0);
- CreateDynamicObject(973, -184.01925659, -323.95690918, 1.26209509, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 200.0);
- CreateDynamicObject(13592, -147.75292969, -227.04589844, 98.26308441, 0.00000000, 23.99560547, 1.99951172, 1, -1, -1, 200.0);
- CreateDynamicObject(18367, -117.65732574, -223.90966797, 82.54321289, 0.00000000, 1.99951172, 269.96154785, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -56.33852005, -305.15286255, 5.72700500, 0.00000000, 0.00000000, 87.99499512, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -72.46757507, -304.70315552, 11.92551422, 0.00000000, 0.00000000, 87.99499512, 1, -1, -1, 200.0);
- CreateDynamicObject(1320, 96.88491058, -258.07827759, 8.75063133, 0.00000000, 0.00000000, 121.99649048, 1, -1, -1, 200.0);
- CreateDynamicObject(973, 112.01561737, -299.43579102, 1.41834509, 0.00000000, 0.00000000, 267.98925781, 1, -1, -1, 200.0);
- CreateDynamicObject(973, 111.49819946, -311.46224976, 1.41834509, 0.00000000, 0.00000000, 267.98400879, 1, -1, -1, 200.0);
- CreateDynamicObject(973, 110.96862030, -323.97998047, 1.41834509, 0.00000000, 0.00000000, 267.98400879, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, 40.53037643, -337.73342896, 2.29497647, 0.00000000, 0.00000000, 87.99133301, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, 21.34174347, -337.30325317, 8.97762966, 0.00000000, 0.00000000, 87.98950195, 1, -1, -1, 200.0);
- CreateDynamicObject(3261, 54.63920975, -338.10195923, 0.57812500, 0.00000000, 0.00000000, 88.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3261, 57.78337097, -338.22705078, 0.57812500, 0.00000000, 0.00000000, 87.99499512, 1, -1, -1, 200.0);
- CreateDynamicObject(3261, 65.89416504, -338.17385864, 0.57812500, 0.00000000, 0.00000000, 89.99499512, 1, -1, -1, 200.0);
- CreateDynamicObject(3261, 69.03846741, -338.15805054, 0.57812691, 0.00000000, 0.00000000, 89.99499512, 1, -1, -1, 200.0);
- CreateDynamicObject(3261, 79.25028229, -338.18807983, 0.57812500, 0.00000000, 0.00000000, 87.99499512, 1, -1, -1, 200.0);
- CreateDynamicObject(3261, 82.37716675, -338.16802979, 0.57812500, 0.00000000, 0.00000000, 89.99499512, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, -167.74395752, -229.77450562, 96.73863983, 0.00000000, 261.99645996, 265.99548340, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, -214.32873535, -221.93235779, 74.12116241, 0.00000000, 265.99548340, 193.99108887, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 99.27140808, -340.66986084, 43.97911835, 0.00000000, 267.99499512, 237.98583984, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 94.18199158, -246.09379578, 7.67201138, 0.00000000, 0.00000000, 281.98583984, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 92.87876892, -248.21290588, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 96.10227966, -243.91026306, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 101.53910065, -251.94488525, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 99.82783508, -253.98184204, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, 102.97078705, -249.78610229, 7.67201138, 0.00000000, 0.00000000, 281.98059082, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, -141.71159363, -208.73612976, 4.65429401, 0.00000000, 278.00000000, 267.98059082, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, -201.14619446, -207.56369019, 0.82763004, 0.00000000, 277.99804688, 267.97851562, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, -202.36294556, -207.46913147, 0.82763004, 0.00000000, 277.99804688, 267.97851562, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, -208.80496216, -279.77966309, 0.83544254, 0.00000000, 277.99804688, 267.97851562, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, -210.16975403, -281.07409668, 0.83544254, 0.00000000, 277.99804688, 267.97851562, 1, -1, -1, 200.0);
- CreateDynamicObject(2780, -201.26055908, -207.32037354, 1.25386786, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(2780, -209.73818970, -280.80917358, 0.42968750, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(2780, -212.05334473, -229.14982605, 69.11316681, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(2780, 106.14922333, -344.03598022, 38.80239868, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(2780, -159.99676514, -231.83480835, 92.27294922, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(2780, -3.64612103, -304.73782349, 5.14863586, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(2780, -5.38992882, -360.93371582, 11.13291931, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1225, -5.99810600, -367.60568237, 12.07056236, 0.00000000, 358.00000000, 265.99548340, 1, -1, -1, 200.0);
- CreateDynamicObject(3524, -214.29092407, -223.68754578, 89.46921539, 0.00000000, 0.00000000, 15.99609375, 1, -1, -1, 200.0);
- CreateDynamicObject(3524, -166.87887573, -230.37626648, 112.16451263, 0.00000000, 0.00000000, 85.99548340, 1, -1, -1, 200.0);
- CreateDynamicObject(3524, 100.66965485, -341.69360352, 59.32941818, 0.00000000, 0.00000000, 55.99731445, 1, -1, -1, 200.0);
- CreateDynamicObject(3524, -141.83337402, -208.36814880, 20.10876465, 0.00000000, 0.00000000, 267.99731445, 1, -1, -1, 200.0);
- CreateDynamicObject(2780, -149.82415771, -208.44346619, 0.42187500, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(7388, -239.89874268, -233.27279663, 1.42968750, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(9833, -169.70101929, -236.57385254, 3.63223124, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(9833, -165.97737122, -224.41900635, 3.63223124, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(9833, -179.61009216, -226.97050476, 3.62441874, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3095, -100.92230225, -316.51971436, 71.87472534, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3095, -123.38735962, -317.50592041, 63.88879395, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1634, -141.24378967, -264.02993774, 35.39931488, 0.00000000, 0.00000000, 275.99853516, 1, -1, -1, 200.0);
- CreateDynamicObject(2780, -6.46869993, -304.19039917, 5.10601330, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(13645, -84.73185730, -225.85406494, 78.07551575, 0.00000000, 1.99951172, 13.99658203, 1, -1, -1, 200.0);
- CreateDynamicObject(13645, -84.17601013, -227.30729675, 78.44742584, 0.00000000, 1.99951172, 13.99658203, 1, -1, -1, 200.0);
- //LV Sea Side
- CreateDynamicObject(8171, 2323.06000000, 526.20000000, 0.95000000, 0.00000000, 0.00000000, 89.30000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2322.60000000, 486.53000000, 0.92000000, 0.00000000, 0.00000000, 89.30000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2321.68000000, 450.41000000, 1.02000000, 0.00000000, 0.00000000, 89.30000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2321.77000000, 411.80000000, 1.13000000, 0.00000000, 0.00000000, 89.30000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2410.72000000, 483.36000000, 0.93000000, 0.00000000, 0.00000000, 178.76000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2449.43000000, 481.41000000, 0.91000000, 0.00000000, 0.00000000, 177.98000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2440.36000000, 565.65000000, 0.92000000, 0.00000000, 0.00000000, 269.15000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2436.88000000, 393.63000000, 0.86000000, 0.00000000, 0.00000000, 269.12000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2487.42000000, 476.30000000, 0.99000000, -0.06000000, 0.24000000, 178.68000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2233.99000000, 488.21000000, 1.02000000, 0.00000000, 0.00000000, 179.19000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2194.32000000, 488.41000000, 1.02000000, 0.00000000, 0.00000000, 179.09000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8171, 2241.95000000, 399.16000000, 1.12000000, 0.00000000, 0.00000000, 268.97000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8149, 2506.31000000, 460.73000000, 3.11000000, 0.00000000, 0.00000000, 178.63000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8342, 2507.96000000, 547.33000000, 3.23000000, 0.00000000, 0.00000000, 269.38000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2435.96000000, 565.94000000, 2.71000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2423.93000000, 565.99000000, 2.71000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2423.95000000, 565.98000000, 7.76000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2411.91000000, 566.08000000, 7.76000000, 0.00000000, 0.00000000, 359.62000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2399.95000000, 566.17000000, 7.76000000, 0.00000000, 0.00000000, 359.62000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2396.56000000, 566.14000000, 7.76000000, 0.00000000, 0.00000000, 359.62000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8149, 2174.59000000, 479.03000000, 3.11000000, 0.00000000, 0.00000000, 359.16000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8342, 2173.73000000, 399.05000000, 3.13000000, 0.00000000, 0.00000000, 449.98000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2245.90000000, 380.57000000, 0.14000000, 0.00000000, 0.00000000, 177.45000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2257.75000000, 380.11000000, 5.37000000, 0.00000000, 0.00000000, 177.45000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2245.90000000, 380.57000000, 0.14000000, 0.00000000, 0.00000000, 177.45000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2245.88000000, 380.45000000, 5.39000000, 0.00000000, 0.00000000, 177.55000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2176.02000000, 559.98000000, 5.92000000, 0.00000000, 0.00000000, 353.11000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2187.83000000, 558.48000000, 5.92000000, 0.00000000, 0.00000000, 353.11000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2199.75000000, 557.05000000, 5.92000000, 0.00000000, 0.00000000, 356.82000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2211.72000000, 556.38000000, 5.92000000, 0.00000000, 0.00000000, 4.27000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2223.69000000, 557.23000000, 5.92000000, 0.00000000, 0.00000000, 7.51000000, 1, -1, -1, 200.0);
- CreateDynamicObject(987, 2235.73000000, 558.78000000, 5.95000000, -1.26000000, -2.73000000, 86.89000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18825, 2307.25000000, 482.84000000, 5.97000000, 89.94000000, 3.66000000, 81.70000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18825, 2340.31000000, 500.51000000, 6.50000000, 268.32000000, 177.24000000, 83.71000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18827, 2420.67000000, 472.11000000, 7.15000000, 0.00000000, 0.00000000, 88.26000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18831, 2360.31000000, 478.12000000, 7.10000000, 89.16000000, 38.58000000, 7.18000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18841, 2479.57000000, 470.81000000, 22.90000000, -0.60000000, 180.66000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18850, 2454.46000000, 471.37000000, 11.44000000, 0.00000000, 0.00000000, 357.76000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18850, 2428.38000000, 472.30000000, 11.44000000, 0.00000000, 0.00000000, 357.76000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18850, 2402.40000000, 473.36000000, 11.44000000, 0.00000000, 0.00000000, 357.76000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18850, 2376.31000000, 474.23000000, 11.44000000, 0.00000000, 0.00000000, 358.30000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18786, 2373.12000000, 474.47000000, 25.73000000, 0.00000000, 0.00000000, 357.43000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18789, 2266.95000000, 484.64000000, 24.37000000, 0.00000000, 0.00000000, 357.96000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18789, 2266.81000000, 469.15000000, 24.37000000, 0.00000000, 0.00000000, 357.96000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 2196.24000000, 486.02000000, 25.82000000, -6.36000000, 0.54000000, 88.47000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18824, 2172.13000000, 461.02000000, 30.35000000, -93.00000000, 53.82000000, 3.98000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18811, 2157.00000000, 419.00000000, 34.88000000, 81.66000000, -12.36000000, 9.21000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18824, 2165.01000000, 374.73000000, 42.32000000, -101.64000000, -45.00000000, 351.67000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18815, 2204.31000000, 364.94000000, 12.97000000, 0.00000000, 0.00000000, 2.84000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8397, 2490.37000000, 550.26000000, 8.27000000, 0.00000000, 0.00000000, 87.36000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8397, 2489.67000000, 521.69000000, 8.08000000, 0.00000000, 0.00000000, 87.36000000, 1, -1, -1, 200.0);
- CreateDynamicObject(8397, 2488.60000000, 491.86000000, 8.08000000, 0.00000000, 0.00000000, 87.36000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 2404.38000000, 515.79000000, 1.39000000, 1.26000000, -0.66000000, -91.62000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18788, 2425.57000000, 515.41000000, 9.24000000, 0.34000000, -23.16000000, 358.50000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18783, 2453.51000000, 512.38000000, 15.73000000, -0.68000000, -0.96000000, 356.92000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18824, 2473.89000000, 536.53000000, 21.17000000, 84.72000000, -32.40000000, 328.13000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18788, 2501.11000000, 525.23000000, 12.94000000, 0.00000000, 0.00000000, 88.14000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18824, 2474.68000000, 501.02000000, 25.95000000, 238.14000000, 45.18000000, -4.70000000, 1, -1, -1, 200.0);
- CreateDynamicObject(7392, 2448.72000000, 420.11000000, 7.73000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(7392, 2448.35000000, 449.32000000, 7.73000000, 0.00000000, 0.00000000, 178.02000000, 1, -1, -1, 200.0);
- CreateDynamicObject(7905, 2465.78000000, 399.09000000, 9.77000000, 0.00000000, 0.00000000, 352.53000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1222, 2204.91000000, 365.56000000, 8.47000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(7073, 2494.31000000, 433.09000000, 18.76000000, 0.00000000, 0.00000000, 0.83000000, 1, -1, -1, 200.0);
- CreateDynamicObject(19005, 2435.88000000, 434.98000000, 0.67000000, -10.38000000, 0.24000000, 269.60000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18750, 2340.98000000, 610.48000000, 27.17000000, 78.96000000, 0.12000000, 359.59000000, 1, -1, -1, 200.0);
- CreateDynamicObject(11470, 2240.27000000, 552.50000000, 10.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(11470, 2240.34000000, 563.89000000, 10.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(11470, 2392.79000000, 552.39000000, 10.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(11470, 2392.69000000, 562.98000000, 10.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(11470, 2221.02000000, 498.83000000, 4.13000000, 0.00000000, 0.00000000, -91.92000000, 1, -1, -1, 200.0);
- CreateDynamicObject(11470, 2232.32000000, 498.62000000, 3.97000000, 0.00000000, 0.00000000, -91.92000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3374, 2220.21000000, 504.29000000, 2.39000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3374, 2224.95000000, 504.26000000, 2.37000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3374, 2230.18000000, 504.21000000, 2.29000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3374, 2235.12000000, 504.12000000, 2.55000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3374, 2235.44000000, 494.32000000, 2.38000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3374, 2230.28000000, 494.27000000, 2.49000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3374, 2225.62000000, 494.23000000, 2.59000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3374, 2220.73000000, 494.33000000, 2.48000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 2228.67000000, 516.83000000, 2.37000000, 0.00000000, 0.00000000, 182.81000000, 1, -1, -1, 200.0);
- CreateDynamicObject(18778, 2226.75000000, 481.45000000, 2.41000000, 0.00000000, 0.00000000, 359.76000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1222, 2203.11000000, 363.99000000, 8.47000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1222, 2200.95000000, 365.56000000, 8.47000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1222, 2202.46000000, 367.26000000, 8.47000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2197.51000000, 421.78000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2213.89000000, 422.62000000, -0.02000000, 0.00000000, 0.00000000, 0.72000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2224.93000000, 422.41000000, -0.02000000, 0.00000000, 0.00000000, 0.72000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2236.02000000, 422.80000000, -0.02000000, 0.00000000, 0.00000000, 0.72000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2245.97000000, 422.02000000, -0.02000000, 0.00000000, 0.00000000, 0.72000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2196.62000000, 437.49000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2196.77000000, 453.06000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2196.77000000, 465.60000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2196.81000000, 477.77000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2196.80000000, 488.06000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2196.70000000, 499.24000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2196.73000000, 510.74000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2196.75000000, 510.75000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2197.12000000, 521.69000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2197.72000000, 534.23000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(645, 2198.14000000, 545.17000000, 0.09000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- //parkour city
- CreateDynamicObject(3983, 2581.91528300, -1432.61254900, 233.02203400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3983, 2536.63134800, -1432.78857400, 233.18798800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3989, 2559.21093800, -1366.99780300, 226.62889100, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(4010, 2528.51660200, -1403.49072300, 231.55517600, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3776, 2602.35278300, -1369.87817400, 239.95028700, 0.00000000, 0.00000000, 180.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(4002, 2553.02734400, -1443.52441400, 255.60842900, 0.00000000, 0.00000000, 180.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2590.28369100, -1360.50842300, 232.81843600, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2591.22631800, -1365.26342800, 235.43504300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2591.22631800, -1371.11633300, 238.47139000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3998, 2591.82226600, -1400.05847200, 236.83416700, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2601.77661100, -1386.45959500, 241.23397800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2601.64672900, -1387.70959500, 242.72633400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2601.29003900, -1388.20959500, 244.13964800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2593.50781300, -1387.20959500, 242.57151800, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
- CreateDynamicObject(4079, 2519.50463900, -1401.18115200, 244.64541600, 0.00000000, 0.00000000, 22.50000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1437, 2590.14062500, -1388.44689900, 243.72769200, 0.00000000, 0.00000000, 168.74990000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2587.30224600, -1390.67456100, 245.44149800, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2582.39404300, -1391.49536100, 246.44149800, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2578.98486300, -1394.94470200, 246.94149800, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2580.20043900, -1398.30725100, 248.69149800, 0.00000000, 0.00000000, 45.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2583.54614300, -1400.50659200, 249.69149800, 0.00000000, 0.00000000, 78.75000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2587.11499000, -1402.20568800, 250.21661400, 0.00000000, 0.00000000, 71.95180000, 1, -1, -1, 200.0);
- CreateDynamicObject(851, 2592.02880900, -1397.88842800, 251.64035000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(851, 2591.99585000, -1393.47741700, 250.64035000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(851, 2578.28637700, -1387.44104000, 245.13577300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(851, 2573.77343800, -1389.69726600, 245.13577300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3447, 2589.25415000, -1403.92211900, 253.07101400, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2591.64013700, -1394.75402800, 250.19607500, 0.00000000, 0.00000000, 236.25000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2587.37548800, -1393.35156300, 249.69149800, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2583.08300800, -1393.47473100, 250.43571500, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2578.55297900, -1392.63476600, 250.67993200, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(970, 2573.57470700, -1392.72583000, 251.35704000, 49.84730000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(970, 2570.46972700, -1393.06347700, 252.86842300, 49.84730000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(970, 2567.01220700, -1392.17663600, 253.24229400, 115.16440000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(970, 2565.25561500, -1393.24585000, 253.80241400, 48.12840000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(970, 2560.43994100, -1393.08105500, 254.39897200, 48.12840000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(991, 2555.10034200, -1393.06713900, 255.16015600, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
- CreateDynamicObject(991, 2552.06494100, -1392.17688000, 256.47036700, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
- CreateDynamicObject(991, 2549.21362300, -1390.87097200, 257.74905400, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
- CreateDynamicObject(991, 2545.94506800, -1389.49890100, 259.02932700, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
- CreateDynamicObject(991, 2543.29492200, -1387.71667500, 260.27200300, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
- CreateDynamicObject(991, 2541.08252000, -1386.41796900, 261.54174800, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
- CreateDynamicObject(991, 2542.33300800, -1386.77368200, 261.54794300, 85.94360000, 14.61040000, 347.96790000, 1, -1, -1, 200.0);
- CreateDynamicObject(1407, 2539.98413100, -1385.53039600, 262.31094400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1407, 2543.35913100, -1385.52648900, 262.28631600, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1407, 2537.69848600, -1386.84423800, 262.44085700, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1407, 2540.09448200, -1385.60046400, 263.70770300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1407, 2544.21899400, -1385.50061000, 263.60040300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(991, 2533.85693400, -1385.69299300, 259.69052100, 85.94360000, 14.61040000, 291.71790000, 1, -1, -1, 200.0);
- CreateDynamicObject(2400, 2502.80810500, -1392.84411600, 257.36416600, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
- CreateDynamicObject(2400, 2508.47631800, -1394.73510700, 257.36416600, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3359, 2501.94165000, -1416.25244100, 257.38168300, 0.00000000, 0.00000000, 191.25000000, 1, -1, -1, 200.0);
- CreateDynamicObject(983, 2499.43505900, -1415.76110800, 257.03387500, 28.36140000, 84.22470000, 351.40560000, 1, -1, -1, 200.0);
- CreateDynamicObject(983, 2499.15820300, -1419.50891100, 255.28506500, 0.00000000, 0.00000000, 11.25000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2502.25585900, -1421.81115700, 250.67942800, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2501.15844700, -1424.50512700, 251.88790900, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2499.56298800, -1428.79174800, 252.13212600, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2498.00268600, -1432.18396000, 253.12634300, 0.00000000, 0.00000000, 337.50000000, 1, -1, -1, 200.0);
- CreateDynamicObject(980, 2497.02221700, -1441.38427700, 252.92575100, 94.53800000, 0.00000000, 303.75000000, 1, -1, -1, 200.0);
- CreateDynamicObject(980, 2501.73730500, -1448.51306200, 253.51026900, 97.11630000, 253.97580000, 228.61250000, 1, -1, -1, 200.0);
- CreateDynamicObject(3286, 2503.70654300, -1451.42932100, 258.72027600, 0.00000000, 0.00000000, 33.75000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2503.08593800, -1448.17346200, 255.61291500, 0.00000000, 0.00000000, 303.75000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2499.84619100, -1450.58606000, 256.49575800, 0.00000000, 0.00000000, 303.75000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2501.19043000, -1453.37890600, 256.97415200, 0.00000000, 0.00000000, 56.25000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2504.43847700, -1454.12365700, 257.54354900, 321.32530000, 0.00000000, 146.25000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1387, 2504.22583000, -1455.39416500, 257.76071200, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1387, 2504.57617200, -1454.79785200, 258.17022700, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2506.86279300, -1455.77539100, 258.60336300, 0.00000000, 0.00000000, 56.25000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2511.80786100, -1456.14672900, 258.46997100, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2514.74096700, -1456.14672900, 259.57919300, 0.00000000, 0.00000000, 271.71890000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2518.73046900, -1456.38867200, 260.07342500, 0.00000000, 0.00000000, 271.71890000, 1, -1, -1, 200.0);
- CreateDynamicObject(2649, 2519.73535200, -1455.64672900, 260.89938400, 0.00000000, 0.00000000, 258.75000000, 1, -1, -1, 200.0);
- CreateDynamicObject(2649, 2521.22387700, -1455.89672900, 261.74975600, 0.00000000, 0.00000000, 258.75000000, 1, -1, -1, 200.0);
- CreateDynamicObject(925, 2514.86840800, -1454.07263200, 263.08441200, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(925, 2517.77880900, -1453.97814900, 264.27230800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(925, 2514.14648400, -1453.66418500, 265.69421400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(925, 2511.90747100, -1454.49682600, 267.26037600, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2533.18774400, -1445.40820300, 278.14486700, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2533.18774400, -1451.17407200, 280.39032000, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2533.68481400, -1445.68054200, 282.19412200, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2531.38793900, -1441.09570300, 283.08398400, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2533.18774400, -1443.39306600, 286.69430500, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2533.18774400, -1447.29724100, 288.91796900, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2533.63793900, -1443.42346200, 292.58688400, 0.00000000, 331.63860000, 8.59440000, 1, -1, -1, 200.0);
- CreateDynamicObject(1637, 2533.18774400, -1440.41796900, 291.87448100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3406, 2533.18774400, -1444.44299300, 297.20544400, 0.85940000, 310.15270000, 278.67170000, 1, -1, -1, 200.0);
- CreateDynamicObject(1498, 2531.93188500, -1445.54553200, 301.54388400, 39.53410000, 358.28110000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3167, 2533.24462900, -1451.70874000, 302.59603900, 327.34140000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3361, 2533.50878900, -1451.18676800, 311.01568600, 0.00000000, 0.00000000, 168.75000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2530.47436500, -1454.47497600, 306.17977900, 0.00000000, 331.63860000, 312.34430000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2530.08789100, -1451.75622600, 307.96051000, 346.24900000, 0.00000000, 101.25000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3361, 2565.54126000, -1435.08752400, 315.87109400, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2565.82055700, -1441.99316400, 318.81579600, 346.24900000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2565.90454100, -1445.59960900, 320.14569100, 346.24900000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2565.80200200, -1449.51574700, 321.49017300, 346.24900000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3399, 2564.15893600, -1446.19384800, 324.21557600, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3399, 2564.15893600, -1446.12329100, 329.96347000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3399, 2561.91381800, -1443.88330100, 336.89199800, 0.00000000, 0.00000000, 90.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3399, 2562.01440400, -1444.25415000, 343.00235000, 0.00000000, 0.00000000, 270.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2559.89648400, -1445.43505900, 346.34066800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2557.87915000, -1443.04284700, 349.17828400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2555.91015600, -1442.49939000, 351.57128900, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2553.89453100, -1442.08349600, 353.64672900, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2553.89453100, -1443.71521000, 354.58596800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1698, 2601.33129900, -1382.40930200, 240.98431400, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(1684, 2591.22631800, -1372.69616700, 240.37892200, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- //parkour
- CreateDynamicObject(972, 1531.47973600, -1359.22656300, 328.45034800, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(972, 1550.99121100, -1359.23681600, 328.45581100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(972, 1542.70861800, -1365.28625500, 328.15380900, 0.00000000, 0.00000000, -89.38141604, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1551.05700700, -1345.10205100, 331.23623700, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1538.19177200, -1345.07312000, 331.24121100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(978, 1544.50683600, -1337.02807600, 329.04757700, 94.53809349, 0.00000000, -88.52197935, 1, -1, -1, 200.0);
- CreateDynamicObject(978, 1544.70898400, -1345.88708500, 327.34652700, -245.79883682, 256.97151382, 14.61042378, 1, -1, -1, 200.0);
- CreateDynamicObject(978, 1544.23742700, -1324.61401400, 329.04776000, 94.53809349, 0.00000000, -88.52197935, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1544.29467800, -1316.17517100, 328.01788300, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1544.08886700, -1307.95434600, 326.07467700, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1544.86120600, -1299.68432600, 328.92422500, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1553.25988800, -1299.90087900, 330.80770900, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1560.94299300, -1300.69543500, 328.54486100, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1564.03942900, -1299.92248500, 331.32266200, 183.91950953, 0.00000000, -89.38141604, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1561.32983400, -1292.13647500, 326.95224000, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1562.18335000, -1287.30468800, 324.15411400, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3258, 1559.69677700, -1287.83447300, 322.73663300, 118.60232089, 0.00000000, -88.52197935, 1, -1, -1, 200.0);
- CreateDynamicObject(3257, 1555.85412600, -1255.20996100, 276.35571300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3287, 1565.30419900, -1254.09912100, 288.89392100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3287, 1571.85827600, -1254.17468300, 288.93530300, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3502, 1537.46252400, -1282.56335400, 314.28128100, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(3502, 1538.06433100, -1274.25805700, 313.83450300, -6.01605685, 0.00000000, -7.73493023, 1, -1, -1, 200.0);
- CreateDynamicObject(3502, 1539.64648400, -1267.35376000, 312.58728000, -12.03211370, 0.00000000, -16.32929716, 1, -1, -1, 200.0);
- CreateDynamicObject(3502, 1541.58178700, -1256.78161600, 307.05413800, -85.08423258, 0.00000000, -16.32929716, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1541.15478500, -1254.38464400, 311.65838600, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1541.23645000, -1262.01538100, 310.14981100, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1546.33313000, -1258.03479000, 310.41314700, 91.95972612, 0.00000000, 0.00000000, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1536.39111300, -1257.45532200, 310.30587800, 91.95972612, 0.00000000, 11.17267701, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1540.46557600, -1255.21789600, 298.40844700, 91.95972612, 0.00000000, 3.43774677, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1544.44763200, -1255.29968300, 298.42996200, 91.95972612, 0.00000000, -4.29718346, 1, -1, -1, 200.0);
- CreateDynamicObject(3257, 1585.73034700, -1253.02539100, 272.12976100, 0.00000000, 0.00000000, -88.52197935, 1, -1, -1, 200.0);
- CreateDynamicObject(3257, 1585.98681600, -1261.29406700, 272.13314800, 0.00000000, 0.00000000, -268.14419083, 1, -1, -1, 200.0);
- CreateDynamicObject(3631, 1594.14160200, -1257.08642600, 286.86883500, 0.00000000, 0.00000000, 1.71887339, 1, -1, -1, 200.0);
- CreateDynamicObject(3631, 1604.56164600, -1256.77233900, 286.85174600, 0.00000000, 0.00000000, 1.71887339, 1, -1, -1, 200.0);
- CreateDynamicObject(3631, 1615.55175800, -1256.58337400, 286.85958900, 0.00000000, 0.00000000, 1.71887339, 1, -1, -1, 200.0);
- CreateDynamicObject(3636, 1633.98425300, -1255.84838900, 276.36599700, 82.50592250, 0.00000000, -1.71887339, 1, -1, -1, 200.0);
- CreateDynamicObject(3636, 1650.99963400, -1256.63537600, 274.60452300, 82.50592250, 0.00000000, -1.71887339, 1, -1, -1, 200.0);
- CreateDynamicObject(3636, 1666.38598600, -1255.20495600, 272.61486800, 82.50592250, 0.00000000, 17.18873385, 1, -1, -1, 200.0);
- CreateDynamicObject(3636, 1681.09021000, -1248.78125000, 273.70929000, 82.50592250, 0.00000000, 27.50197417, 1, -1, -1, 200.0);
- CreateDynamicObject(3636, 1694.77307100, -1239.38745100, 274.84780900, 82.50592250, 0.00000000, 39.53408786, 1, -1, -1, 200.0);
- CreateDynamicObject(6867, 1714.95483400, -1178.67041000, 297.15399200, 0.00000000, 0.00000000, -51.56620156, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1706.98413100, -1211.47265600, 277.03076200, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1701.03759800, -1204.87646500, 276.81738300, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1693.76635700, -1197.61450200, 276.82901000, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1702.92028800, -1178.17627000, 279.18060300, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1697.31506300, -1182.87817400, 279.61947600, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1690.98498500, -1185.70861800, 280.65783700, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1707.23571800, -1118.80554200, 273.88061500, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1711.80139200, -1115.36169400, 276.67355300, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1716.70105000, -1121.03784200, 278.09811400, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1722.69030800, -1124.65515100, 279.08462500, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1727.63134800, -1129.97741700, 280.64492800, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1732.61572300, -1125.55322300, 282.77932700, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1740.99438500, -1120.95617700, 280.22213700, 90.24085273, 0.00000000, -49.84732818, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1744.08374000, -1121.66052200, 281.85693400, 183.06007284, 0.00000000, 39.53408786, 1, -1, -1, 200.0);
- CreateDynamicObject(974, 1779.22509800, -1161.04113800, 280.83062700, 268.14419083, 0.00000000, 39.53408786, 1, -1, -1, 200.0);
- CreateDynamicObject(3330, 1804.41137700, -1187.47509800, 270.03402700, -31.79915763, 0.00000000, 37.81521448, 1, -1, -1, 200.0);
- CreateDynamicObject(3330, 1820.63317900, -1210.19104000, 233.51001000, -55.00394833, 0.00000000, 37.81521448, 1, -1, -1, 200.0);
- CreateDynamicObject(3411, 1879.03271500, -1241.67932100, 183.44625900, 0.00000000, 0.00000000, -53.28501765, 1, -1, -1, 200.0);
- CreateDynamicObject(4550, 1957.40417500, -1183.40344200, 126.30550400, 124.61832044, 0.00000000, 126.33730842, 1, -1, -1, 200.0);
- //abandoned airport 1
- CreateDynamicObject(18754, -120.48000000, 2347.15000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18754, -121.07000000, 2595.68000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18754, 369.07000000, 2347.46000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18754, 376.40000000, 2596.07000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18754, 127.72000000, 2595.59000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18754, 128.26000000, 2347.69000000, 28.40000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18750, 266.95000000, 2731.08000000, 104.68000000, 88.10000000, 0.00000000, 355.62000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, 288.84000000, 2689.71000000, 38.01000000, 0.00000000, 0.00000000, 87.63000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, 252.73000000, 2715.40000000, 59.41000000, 0.00000000, -33.00000000, 88.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, 251.72000000, 2690.44000000, 38.01000000, 0.00000000, 0.00000000, 87.63000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, 289.71000000, 2712.87000000, 59.41000000, 0.00000000, -33.00000000, 88.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, 271.18000000, 2741.46000000, 37.86000000, 94.94000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, 270.13000000, 2701.01000000, 35.10000000, 93.92000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 272.05000000, 2776.04000000, 55.89000000, 0.00000000, 0.00000000, 268.70000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18985, 271.93000000, 2715.49000000, 71.77000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, 272.00000000, 2641.42000000, 71.37000000, 91.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18851, 272.38000000, 2543.58000000, 71.75000000, 0.00000000, 0.00000000, 270.78000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18752, -15.66000000, 2351.93000000, 1.17000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, 272.01000000, 2592.15000000, 70.51000000, 91.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18801, 215.34000000, 2446.25000000, 51.67000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 279.00000000, 2517.00000000, 74.47000000, 0.00000000, 0.00000000, 92.95000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, 223.47000000, 2315.11000000, 51.05000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 217.49000000, 2274.73000000, 35.99000000, 0.00000000, 0.00000000, 270.24000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 218.04000000, 2265.73000000, 33.77000000, 0.00000000, -18.00000000, 272.21000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, 223.15000000, 2363.36000000, 51.90000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, 222.89000000, 2410.67000000, 52.72000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, 222.30000000, 2508.30000000, 54.34000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18801, 217.70000000, 2426.46000000, 51.67000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18801, 220.15000000, 2406.64000000, 51.67000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18801, 222.64000000, 2386.80000000, 51.67000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 463.61000000, 2270.22000000, 82.03000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 426.66000000, 2315.78000000, 62.96000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 510.88000000, 2211.73000000, 106.47000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 558.47000000, 2152.92000000, 130.98000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 697.72000000, 1981.28000000, 202.71000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 604.87000000, 2095.88000000, 154.81000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 651.90000000, 2037.82000000, 179.07000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 791.99000000, 1865.08000000, 251.36000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 744.50000000, 1923.62000000, 226.86000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(3489, 334.36000000, 2966.45000000, -0.57000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(8040, 838.49000000, 1802.52000000, 264.80000000, 0.00000000, 0.00000000, 128.88000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18450, 382.85000000, 2369.94000000, 40.35000000, 0.00000000, -18.00000000, 309.01000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 414.61000000, 2313.19000000, 76.55000000, 0.00000000, 0.00000000, 309.23000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 594.11000000, 2108.46000000, 165.44000000, 0.00000000, 0.00000000, 309.23000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, 471.56000000, 2548.83000000, 40.19000000, 0.00000000, 0.00000000, 270.18000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, 471.49000000, 2500.21000000, 40.19000000, 0.00000000, 0.00000000, 270.18000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, 471.68000000, 2451.73000000, 40.19000000, 0.00000000, 0.00000000, 270.18000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 322.18000000, 2581.05000000, 38.75000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, 237.52000000, 2561.94000000, 65.43000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18983, 318.64000000, 2563.89000000, 97.19000000, 0.00000000, 0.00000000, 92.19000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, 392.81000000, 2563.95000000, 97.22000000, 90.10000000, 0.00000000, 254.44000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, 431.83000000, 2534.77000000, 97.32000000, 90.10000000, 0.00000000, 211.99000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, 441.13000000, 2487.05000000, 97.32000000, 90.10000000, 0.00000000, 170.05000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, 418.23000000, 2444.65000000, 97.40000000, 90.10000000, 0.00000000, 133.25000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, 373.28000000, 2426.37000000, 97.48000000, 90.10000000, 0.00000000, 91.04000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18984, 300.82000000, 2444.01000000, 97.54000000, 0.00000000, 0.00000000, 74.63000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 322.16000000, 2530.32000000, 38.75000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, 222.60000000, 2459.56000000, 53.53000000, 91.00000000, 0.00000000, 0.32000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 174.45000000, 2521.73000000, 54.45000000, 91.00000000, 0.00000000, 90.75000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 205.94000000, 2543.36000000, 54.47000000, 91.00000000, 0.00000000, 271.39000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, -24.76000000, 2412.17000000, 49.32000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18984, 35.36000000, 2413.20000000, 65.24000000, 0.00000000, 0.00000000, 271.30000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 180.18000000, 2358.27000000, 98.62000000, 90.00000000, 0.00000000, 105.93000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, 109.71000000, 2412.62000000, 65.66000000, 91.00000000, 0.00000000, 254.96000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, 150.47000000, 2386.20000000, 66.51000000, 91.00000000, 0.00000000, 219.20000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 191.31000000, 2382.94000000, 82.73000000, 0.00000000, 0.00000000, 277.46000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 180.26000000, 2358.67000000, 66.90000000, 90.00000000, 0.00000000, 105.93000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18984, 146.99000000, 2411.25000000, 98.68000000, 0.00000000, 0.00000000, 197.73000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 123.78000000, 2464.16000000, 103.12000000, 0.00000000, 0.00000000, 287.54000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18984, 205.22000000, 2470.30000000, 97.54000000, 0.00000000, 0.00000000, 74.63000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 151.63000000, 2501.81000000, 97.53000000, 90.00000000, 0.00000000, 343.07000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 176.64000000, 2511.75000000, 113.42000000, 0.00000000, 0.00000000, 169.25000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18984, 118.98000000, 2526.76000000, 129.24000000, 0.00000000, 0.00000000, 74.63000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 68.69000000, 2534.73000000, 132.16000000, 0.00000000, 0.00000000, 346.53000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 45.88000000, 2607.65000000, 38.61000000, 0.00000000, 0.00000000, 313.07000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 44.57000000, 2609.14000000, 40.69000000, 0.00000000, 18.00000000, 313.10000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 39.97000000, 2613.80000000, 53.45000000, 0.00000000, 47.00000000, 313.20000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 39.98000000, 2613.40000000, 66.12000000, 0.00000000, 76.00000000, 313.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 10.72000000, 2574.82000000, 38.61000000, 0.00000000, 0.00000000, 313.07000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 8.16000000, 2577.39000000, 40.69000000, 0.00000000, 18.00000000, 313.10000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 3.62000000, 2582.26000000, 53.45000000, 0.00000000, 47.00000000, 313.20000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, 3.98000000, 2581.88000000, 66.12000000, 0.00000000, 76.00000000, 313.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, 150.02000000, 2739.53000000, 69.55000000, 18.00000000, 0.00000000, 1.20000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, 151.49000000, 2610.95000000, 30.30000000, 0.00000000, 0.00000000, 179.94000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 143.51000000, 2543.67000000, 54.45000000, 91.00000000, 0.00000000, 264.84000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18984, 118.23000000, 2485.34000000, 54.15000000, 0.00000000, 0.00000000, 350.18000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, 92.76000000, 2427.03000000, 54.45000000, 91.00000000, 0.00000000, 84.53000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, 78.53000000, 2434.78000000, 51.16000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, 144.71000000, 2962.89000000, 142.08000000, 18.00000000, 0.00000000, 1.49000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, 142.09000000, 3090.83000000, 180.46000000, 0.00000000, 0.00000000, 1.47000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18844, -108.63000000, 2347.36000000, 95.39000000, 0.00000000, 0.00000000, 359.68000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -102.75000000, 2357.74000000, 36.85000000, 0.00000000, 0.00000000, 88.80000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18845, 123.37000000, 2294.38000000, 70.62000000, 0.00000000, 0.00000000, 81.44000000, 1, -1, -1, 250.0);
- CreateDynamicObject(1660, 124.64000000, 2304.14000000, 28.46000000, 0.00000000, 0.00000000, 172.59000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18843, -196.05000000, 2537.76000000, 115.57000000, 4.00000000, -18.00000000, 4.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, -169.90000000, 2537.12000000, 48.46000000, 0.00000000, -40.00000000, 336.17000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -190.79000000, 2539.07000000, 70.22000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -98.45000000, 2577.33000000, 30.63000000, 0.00000000, 0.00000000, 178.22000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -97.88000000, 2597.27000000, 30.67000000, 0.00000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -97.33000000, 2617.37000000, 30.67000000, 0.00000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -96.96000000, 2632.06000000, 30.67000000, 0.00000000, 0.00000000, 358.51000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, -98.65000000, 2653.20000000, 69.52000000, 0.00000000, 0.00000000, 269.69000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18984, -101.92000000, 2572.01000000, 101.32000000, 0.00000000, 0.00000000, 356.46000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, -89.69000000, 2510.67000000, 101.35000000, 90.00000000, 0.00000000, 86.48000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18826, -56.64000000, 2529.53000000, 101.41000000, 90.00000000, 0.00000000, 265.80000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18984, -40.47000000, 2468.32000000, 101.40000000, 0.00000000, 0.00000000, 181.22000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -33.38000000, 2414.36000000, 106.55000000, 0.00000000, 0.00000000, 89.22000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18862, -12.18000000, 2493.46000000, 33.94000000, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- SetVehicleVirtualWorld( AddStaticVehicle(541, 504.51950000, 2389.58940000, 29.55710000, 135.47740000, 255, 1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(541, 509.41910000, 2385.74070000, 29.85770000, 133.15450000, 255, 1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(541, 516.06790000, 2381.80030000, 29.91040000, 138.39820000, 255, 1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(411, 524.44590000, 2376.74440000, 29.92470000, 140.74230000, 66, 66), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(411, 529.50010000, 2373.18360000, 30.00180000, 140.85660000, 211, 211), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, 533.52060000, 2369.87480000, 29.99930000, 142.64440000, 12, 2), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, 536.57930000, 2367.22270000, 30.17550000, 138.91680000, 12, 2), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, 535.21450000, 2358.06420000, 30.29150000, 59.61700000, 33, 54), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, 534.31980000, 2354.03390000, 30.47020000, 64.54100000, 57, 120), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, 532.69070000, 2350.37010000, 30.49340000, 65.40530000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(560, 529.32230000, 2343.75880000, 30.36440000, 56.56760000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(560, 527.07310000, 2340.14060000, 30.37190000, 56.89780000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(560, 517.24200000, 2339.15040000, 30.34380000, 8.62920000, 5, 5), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(560, 511.43450000, 2344.28440000, 30.08040000, 4.61350000, 7, 8), 1);
- //san fierro airport 1
- SetVehicleVirtualWorld( AddStaticVehicle(411, -1347.65770000, -288.22900000, 13.87550000, 304.71730000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(411, -1351.60490000, -282.71170000, 13.87550000, 306.18080000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(402, -1354.15330000, -278.00610000, 13.98000000, 308.15200000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(402, -1359.45190000, -273.38700000, 13.98010000, 309.53030000, 1, 1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(411, -1362.99060000, -269.23900000, 13.87550000, 311.34360000, 1, 1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(402, -1366.28090000, -265.27070000, 13.98020000, 309.74270000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(541, -1369.73900000, -261.53540000, 13.77150000, 309.05260000, -1, 1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(541, -1371.99160000, -257.43020000, 13.76890000, 303.08960000, 1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, -1334.98630000, -302.45100000, 13.72000000, 19.68510000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, -1332.51370000, -300.90610000, 13.72520000, 17.01370000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, -1330.21250000, -299.15050000, 13.71770000, 11.21840000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, -1327.63590000, -297.71920000, 13.71720000, 11.04770000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(522, -1325.35930000, -296.21340000, 13.71900000, 11.83040000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(521, -1323.22800000, -294.95150000, 13.70910000, 16.77060000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(560, -1318.97810000, -293.44380000, 13.84970000, 12.73110000, -1, -1), 1);
- SetVehicleVirtualWorld( AddStaticVehicle(560, -1314.05680000, -292.04910000, 13.84840000, 7.31190000, -1, -1), 1);
- CreateDynamicObject(18882, 2694.92529297, -2055.54980469, 498.18206787, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18882, 2695.39208984, -2056.81298828, 498.18139648, 0.00000000, 0.00000000, 44.25000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18854, -1157.69726562, 304.41015625, 85.27660370, 49.41650391, 137.63122559, 214.87609863, 1, -1, -1, 250.0);
- CreateDynamicObject(18847, -1112.97656250, 122.17578125, 31.41416168, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1522.69824219, -300.96679688, 9.92865181, 0.00000000, 0.00000000, 343.99291992, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1522.69824219, -300.96679688, 9.92865181, 0.00000000, 0.00000000, 343.99291992, 1, -1, -1, 250.0);
- CreateDynamicObject(18836, -1519.75585938, -245.70794678, 12.41532707, 348.18493652, 349.78125000, 191.88616943, 1, -1, -1, 250.0);
- CreateDynamicObject(18836, -1519.75585938, -245.70794678, 12.41532707, 348.18493652, 349.78125000, 191.88616943, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1157.93359375, -392.73925781, 99.00852966, 0.00000000, 1.99951172, 9.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1295.81311035, -562.36334229, 15.64843750, 0.00000000, 3.98803711, 23.98413086, 1, -1, -1, 250.0);
- CreateDynamicObject(18750, -1210.14843750, -99.39062500, 47.78957367, 90.00000000, 179.99450684, 133.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18860, -1374.68945312, -306.86035156, 75.58260345, 0.00000000, 0.00000000, 305.99121094, 1, -1, -1, 250.0);
- CreateDynamicObject(18860, -1374.68945312, -306.86035156, 75.58260345, 0.00000000, 0.00000000, 305.99121094, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1467.40136719, 65.52734375, 22.79420471, 0.00000000, 0.00000000, 45.99975586, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1498.22460938, 33.80371094, 23.10605621, 0.00000000, 0.00000000, 45.99975586, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1530.59545898, 0.57065344, 23.25201416, 0.00000000, 0.00000000, 45.99975586, 1, -1, -1, 250.0);
- CreateDynamicObject(18752, -1598.03247070, -234.45643616, -10.97603607, 0.00000000, 0.00000000, 131.99401855, 1, -1, -1, 250.0);
- CreateDynamicObject(18752, -1598.03247070, -234.45643616, -10.97603607, 0.00000000, 0.00000000, 131.99401855, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1094.68457031, -275.37207031, 32.57359314, 0.00000000, 67.99987793, 11.98059082, 1, -1, -1, 250.0);
- CreateDynamicObject(18851, -1366.33068848, -403.62994385, 10.62823486, 0.00000000, 0.00000000, 345.99792480, 1, -1, -1, 250.0);
- CreateDynamicObject(18851, -1366.33068848, -403.62994385, 10.62823486, 0.00000000, 0.00000000, 345.99792480, 1, -1, -1, 250.0);
- CreateDynamicObject(18835, -1338.08105469, -204.48632812, 45.61994171, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18830, -1370.29882812, -243.60644531, 15.72062302, 0.00000000, 137.99377441, 205.99365234, 1, -1, -1, 250.0);
- CreateDynamicObject(18825, -1321.82617188, -476.90722656, 31.97656250, 0.00000000, 351.99096680, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18750, -1629.55859375, -80.17150116, 30.51136589, 90.00000000, 179.99450684, 225.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18790, -1171.48144531, -151.45703125, 13.14843750, 3.94958496, 327.91442871, 45.81298828, 1, -1, -1, 250.0);
- CreateDynamicObject(18789, -1213.50292969, -194.43652344, 47.66661835, 0.00000000, 0.00000000, 43.98925781, 1, -1, -1, 250.0);
- CreateDynamicObject(18784, -1411.46093750, -103.99511719, 15.64396572, 0.00000000, 353.99597168, 249.99389648, 1, -1, -1, 250.0);
- CreateDynamicObject(18781, -1390.75109863, -111.94002533, 21.70432472, 0.00000000, 0.00000000, 153.99487305, 1, -1, -1, 250.0);
- CreateDynamicObject(18858, -1397.28808594, -127.92500305, 36.15469742, 0.00000000, 0.00000000, 333.99975586, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1247.38635254, -183.47413635, 24.14843750, 0.00000000, 0.00000000, 137.99377441, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1225.06774902, -31.51200104, 22.84501266, 0.00000000, 0.00000000, 133.98925781, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1290.89062500, -249.86425781, 17.11386108, 0.00000000, 0.00000000, 109.98416138, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1355.82519531, -242.24316406, 23.14062500, 0.00000000, 0.00000000, 45.98327637, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1222.12597656, -310.88183594, 17.59983444, 0.00000000, 0.00000000, 19.98413086, 1, -1, -1, 250.0);
- CreateDynamicObject(18777, -1362.69653320, -495.25265503, 39.04573822, 0.00000000, 0.00000000, 117.99169922, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1506.11108398, -297.81857300, 9.80125999, 0.00000000, 0.00000000, 327.99291992, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1506.11108398, -297.81857300, 9.80125999, 0.00000000, 0.00000000, 327.99291992, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1413.95642090, -389.58523560, 9.86258125, 0.00000000, 0.00000000, 285.99060059, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1413.95642090, -389.58523560, 9.86258125, 0.00000000, 0.00000000, 285.99060059, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1415.43603516, -409.26766968, 9.92187500, 0.00000000, 0.00000000, 291.99060059, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1415.43603516, -409.26766968, 9.92187500, 0.00000000, 0.00000000, 291.99060059, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1301.89428711, -283.79577637, 29.35937500, 0.00000000, 0.00000000, 219.98913574, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1301.89428711, -283.79577637, 29.35937500, 0.00000000, 0.00000000, 219.98913574, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1370.17968750, -228.46548462, 18.06584167, 0.00000000, 0.00000000, 135.97924805, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1370.17968750, -228.46548462, 18.06584167, 0.00000000, 0.00000000, 135.97924805, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1281.50769043, -186.51466370, 23.14062500, 0.00000000, 0.00000000, 133.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1214.33715820, -115.90894318, 23.13615417, 0.00000000, 0.00000000, 133.98925781, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1454.43457031, -189.17382812, 23.14062500, 0.00000000, 0.00000000, 73.98925781, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1587.68652344, -51.00488281, 22.94360352, 0.00000000, 0.00000000, 287.97912598, 1, -1, -1, 250.0);
- CreateDynamicObject(18883, -944.31542969, 281.38574219, 59.75061798, 0.00000000, 0.00000000, 45.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(19001, -1269.69104004, -111.97781372, 22.73705864, 0.00000000, 0.00000000, 314.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1360.36889648, 146.83792114, 15.63509560, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18854, -1157.69726562, 304.41015625, 85.27660370, 49.41650391, 137.63122559, 214.87609863, 1, -1, -1, 250.0);
- CreateDynamicObject(19280, -1318.12500000, 178.71875000, 13.14843750, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(19280, -1377.88671875, -253.80468750, 13.14843750, 0.00000000, 0.00000000, 7.99804688, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1268.34375000, 206.91809082, 16.12090302, 0.00000000, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(18851, -1043.94335938, 377.42773438, 19.51086807, 0.00000000, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(18985, -830.52539062, 169.08789062, 18.56834030, 359.00024414, 3.99902344, 44.05517578, 1, -1, -1, 250.0);
- CreateDynamicObject(18985, -830.52539062, 169.08789062, 18.56834030, 359.00024414, 3.99902344, 44.05517578, 1, -1, -1, 250.0);
- CreateDynamicObject(18984, -843.75415039, 382.91717529, 17.81826973, 0.00000000, 0.00000000, 314.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18982, -780.07257080, 444.44674683, 17.63769150, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 250.0);
- CreateDynamicObject(18982, -732.25494385, 490.58273315, 17.52691269, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 250.0);
- CreateDynamicObject(18982, -682.52142334, 538.54705811, 17.44925880, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 250.0);
- CreateDynamicObject(18982, -633.81738281, 585.42089844, 17.28548813, 0.00000000, 0.00000000, 313.98925781, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -1153.20898438, -438.09375000, 93.89518738, 0.00000000, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1030.47680664, -400.20639038, 93.14501953, 11.00000000, 0.00000000, 286.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1029.45642090, -404.16390991, 93.14501953, 10.99731445, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1027.29248047, -399.17706299, 97.18093872, 30.99987793, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1025.06530762, -402.53826904, 103.12242126, 69.99938965, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1026.23754883, -402.86450195, 97.15281677, 30.99792480, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1025.98132324, -398.82861328, 103.16699982, 69.99938965, 0.00000000, 285.99609375, 1, -1, -1, 250.0);
- CreateDynamicObject(18449, -1069.08203125, -372.80664062, 58.26478577, 0.00000000, 0.00000000, 11.99157715, 1, -1, -1, 250.0);
- CreateDynamicObject(5152, -1116.05761719, -318.62597656, 12.07802391, 0.00000000, 0.00000000, 187.99804688, 1, -1, -1, 250.0);
- CreateDynamicObject(5152, -1115.77148438, -320.38476562, 12.07802773, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
- CreateDynamicObject(5152, -1115.41552734, -322.34240723, 12.07802582, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
- CreateDynamicObject(5152, -1111.79199219, -321.95312500, 10.44444752, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
- CreateDynamicObject(5152, -1112.40136719, -319.86718750, 10.62080956, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
- CreateDynamicObject(5152, -1112.59082031, -317.98632812, 10.59474659, 0.00000000, 0.00000000, 187.99255371, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1366.36767578, -253.39495850, 44.06782532, 0.00000000, 43.99475098, 45.97778320, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1358.93249512, -245.43994141, 77.08634186, 0.00000000, 105.99853516, 45.97778320, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1343.76245117, -248.08828735, 18.07031250, 0.00000000, 0.00000000, 135.97778320, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1343.76245117, -248.08828735, 18.07031250, 0.00000000, 0.00000000, 135.97778320, 1, -1, -1, 250.0);
- CreateDynamicObject(18808, -1029.19531250, -262.91015625, 60.26262665, 0.00000000, 245.99487305, 7.99804688, 1, -1, -1, 250.0);
- CreateDynamicObject(18811, -1527.92480469, -397.81445312, 59.45127869, 0.00000000, 115.99914551, 71.99890137, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1256.57128906, 33.63378906, 14.86718750, 13.99108887, 0.00000000, 313.98376465, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1255.12426758, 35.55209351, 18.65319061, 49.94952393, 356.89086914, 316.36462402, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1465.15307617, -186.12583923, 23.14062500, 0.00000000, 0.00000000, 73.98742676, 1, -1, -1, 250.0);
- CreateDynamicObject(18449, -1483.72351074, -274.41534424, 45.84572601, 0.00000000, 0.00000000, 73.99707031, 1, -1, -1, 250.0);
- CreateDynamicObject(18449, -1497.91540527, -269.55847168, 45.84572601, 0.00000000, 0.00000000, 73.99291992, 1, -1, -1, 250.0);
- CreateDynamicObject(18449, -1511.74511719, -345.28613281, 45.75353622, 0.00000000, 0.00000000, 73.98742676, 1, -1, -1, 250.0);
- CreateDynamicObject(18822, -1535.86425781, -435.58593750, 84.53608704, 317.62023926, 199.11071777, 209.14672852, 1, -1, -1, 250.0);
- CreateDynamicObject(18822, -1535.86425781, -435.58593750, 84.53608704, 317.62023926, 199.11071777, 209.14672852, 1, -1, -1, 250.0);
- CreateDynamicObject(18824, -1525.07519531, -471.20410156, 111.32769775, 0.00000000, 77.99743652, 291.99462891, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1514.41406250, -492.97656250, 107.67788696, 0.00000000, 0.00000000, 201.99462891, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1518.09277344, -494.49121094, 107.67788696, 0.00000000, 0.00000000, 201.98913574, 1, -1, -1, 250.0);
- CreateDynamicObject(18858, -1238.27404785, -311.10147095, 30.05397797, 0.00000000, 0.00000000, 295.99975586, 1, -1, -1, 250.0);
- CreateDynamicObject(18800, -1090.66503906, -404.32812500, 22.78746796, 0.00000000, 1.99707031, 357.98950195, 1, -1, -1, 250.0);
- CreateDynamicObject(18800, -1132.52502441, -403.08569336, 51.53746796, 0.00000000, 347.99597168, 177.99353027, 1, -1, -1, 250.0);
- CreateDynamicObject(18853, -1429.69860840, 144.19978333, 32.22656631, 0.00000000, 297.99993896, 289.99453735, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1019.04687500, -355.87695312, 67.80233765, 0.00000000, 0.00000000, 191.98059082, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1004.59490967, -352.83352661, 87.30233765, 0.00000000, 42.00000000, 191.98059082, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1004.59472656, -352.83300781, 105.80233765, 0.00000000, 77.99526978, 191.97509766, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1233.10351562, -488.84277344, 58.03685760, 0.00000000, 353.99047852, 107.97363281, 1, -1, -1, 250.0);
- CreateDynamicObject(18449, -1051.66796875, -369.92459106, 96.16477966, 0.00000000, 0.00000000, 191.99707031, 1, -1, -1, 250.0);
- CreateDynamicObject(18449, -1051.66796875, -369.92459106, 96.16477966, 0.00000000, 0.00000000, 191.99707031, 1, -1, -1, 250.0);
- CreateDynamicObject(18449, -1126.26892090, -385.81326294, 96.16477966, 0.00000000, 0.00000000, 191.99707031, 1, -1, -1, 250.0);
- CreateDynamicObject(18449, -1126.26892090, -385.81326294, 96.16477966, 0.00000000, 0.00000000, 191.99707031, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1167.29638672, -394.43090820, 104.00852966, 0.00000000, 21.99951172, 9.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18801, -1615.03906250, -122.44921875, 35.50605774, 2.03796387, 0.00000000, 238.03527832, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -910.60302734, -257.91079712, 139.67608643, 323.79248047, 347.57214355, 91.43652344, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1226.53222656, -300.64550781, 17.59983635, 0.00000000, 0.00000000, 19.97314453, 1, -1, -1, 250.0);
- CreateDynamicObject(18858, -1242.80273438, -300.33593750, 30.48917580, 0.00000000, 0.00000000, 293.99414062, 1, -1, -1, 250.0);
- CreateDynamicObject(18843, -1472.63671875, 256.49902344, 110.57738495, 0.00000000, 283.99658203, 293.99414062, 1, -1, -1, 250.0);
- CreateDynamicObject(18836, -1447.05139160, 194.23545837, 79.20486450, 47.12796021, 5.88479614, 16.95925903, 1, -1, -1, 250.0);
- CreateDynamicObject(18822, -1164.55664062, -669.02343750, 79.31476593, 77.21740723, 38.97949219, 7.71240234, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1297.21777344, -351.67749023, 17.59983444, 0.00000000, 0.00000000, 283.98413086, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1286.59765625, -348.87158203, 17.59983444, 0.00000000, 4.00000000, 283.97460938, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1289.35192871, -337.32739258, 34.84983444, 0.00000000, 45.99478149, 283.97460938, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1300.42712402, -338.86871338, 34.84983444, 0.00000000, 45.98925781, 283.96911621, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1289.84814453, -337.76397705, 51.84983444, 0.00000000, 90.00000000, 283.96899414, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1300.20581055, -339.33111572, 51.84983444, 0.00000000, 88.00000000, 283.97463989, 1, -1, -1, 250.0);
- CreateDynamicObject(18789, -1262.93103027, -420.16659546, 50.44444656, 0.00000000, 0.00000000, 107.99011230, 1, -1, -1, 250.0);
- CreateDynamicObject(18789, -1204.34655762, -585.76275635, 69.64444733, 0.00000000, 0.00000000, 109.99011230, 1, -1, -1, 250.0);
- CreateDynamicObject(18822, -1122.89843750, -680.49224854, 84.81476593, 81.06036377, 63.59106445, 36.67962646, 1, -1, -1, 250.0);
- CreateDynamicObject(18822, -1122.89843750, -680.49224854, 84.81476593, 81.06036377, 63.59106445, 36.67962646, 1, -1, -1, 250.0);
- CreateDynamicObject(18825, -1101.46704102, -656.30145264, 88.20033264, 81.05712891, 63.58886719, 150.67785645, 1, -1, -1, 250.0);
- CreateDynamicObject(18825, -1101.46704102, -656.30145264, 88.20033264, 81.05712891, 63.58886719, 150.67785645, 1, -1, -1, 250.0);
- CreateDynamicObject(18832, -1119.94238281, -614.31701660, 86.29750824, 79.23855591, 291.60943604, 94.02673340, 1, -1, -1, 250.0);
- CreateDynamicObject(18832, -1119.94238281, -614.31701660, 86.29750824, 79.23855591, 291.60943604, 94.02673340, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1185.95678711, -494.89572144, 15.81397629, 0.00000000, 1.99951172, 137.97094727, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1176.46948242, -503.22460938, 22.81397629, 0.00000000, 25.99951172, 137.96630859, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1169.80920410, -509.03866577, 32.81397629, 0.00000000, 43.99914551, 137.96081543, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1167.35205078, -510.83215332, 42.31397629, 0.00000000, 69.99475098, 137.96081543, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1168.19140625, -509.90597534, 56.56397629, 0.00000000, 91.99996948, 137.96081543, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1171.25659180, -507.74554443, 62.56397629, 0.00000000, 111.99951172, 137.96084595, 1, -1, -1, 250.0);
- CreateDynamicObject(18750, -1638.22912598, -773.21728516, 89.88240814, 87.17102051, 314.97253418, 206.98059082, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1305.83544922, -566.89178467, 21.79863167, 0.00000000, 27.99462891, 23.98413086, 1, -1, -1, 250.0);
- CreateDynamicObject(18784, -1415.17675781, -114.08300781, 21.64396667, 1.69189453, 327.97485352, 251.05957031, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1446.81860352, -558.51989746, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18825, -1308.58190918, -469.58474731, 66.70321655, 1.96957397, 169.99414062, 30.33419800, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1380.25573730, -598.71276855, 15.64843750, 0.00000000, 3.98803711, 201.98913574, 1, -1, -1, 250.0);
- CreateDynamicObject(18851, -1339.99731445, -488.55654907, 82.29850006, 0.00000000, 0.00000000, 209.99792480, 1, -1, -1, 250.0);
- CreateDynamicObject(18851, -1339.99731445, -488.55654907, 82.29850006, 0.00000000, 0.00000000, 209.99792480, 1, -1, -1, 250.0);
- CreateDynamicObject(18851, -1415.09863281, -537.97729492, 88.47952271, 0.00000000, 0.00000000, 213.99267578, 1, -1, -1, 250.0);
- CreateDynamicObject(18851, -1415.09863281, -537.97729492, 88.47952271, 0.00000000, 0.00000000, 213.99267578, 1, -1, -1, 250.0);
- CreateDynamicObject(18819, -1374.90100098, -510.83203125, 83.54574585, 278.24584961, 165.88018799, 110.00704956, 1, -1, -1, 250.0);
- CreateDynamicObject(18819, -1374.90100098, -510.83203125, 83.54574585, 278.24584961, 165.88018799, 110.00704956, 1, -1, -1, 250.0);
- CreateDynamicObject(18829, -1401.49218750, -469.97177124, 85.23211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
- CreateDynamicObject(18829, -1401.49218750, -469.97177124, 85.23211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
- CreateDynamicObject(18829, -1427.46679688, -428.44177246, 86.98211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
- CreateDynamicObject(18829, -1427.46679688, -428.44177246, 86.98211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
- CreateDynamicObject(18829, -1453.38134766, -386.83666992, 88.73211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
- CreateDynamicObject(18829, -1453.38134766, -386.83666992, 88.73211670, 0.00000000, 267.99499512, 121.98672485, 1, -1, -1, 250.0);
- CreateDynamicObject(18829, -1476.60681152, -349.78652954, 90.23211670, 0.00000000, 267.99499512, 121.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18829, -1476.60681152, -349.78652954, 90.23211670, 0.00000000, 267.99499512, 121.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1483.29394531, -581.02832031, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1522.52905273, -605.65319824, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1547.34765625, -621.15142822, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1588.43432617, -646.90954590, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1630.01721191, -672.67889404, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1670.83642578, -698.36029053, 86.44288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -1700.77221680, -717.30474854, 100.77101135, 0.00241089, 351.99993896, 31.98455811, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -1700.77221680, -717.30474854, 100.77101135, 0.00241089, 351.99993896, 31.98455811, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1672.80200195, -700.24896240, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1672.80200195, -700.24896240, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1631.56701660, -674.38684082, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1631.56701660, -674.38684082, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1590.42553711, -648.77368164, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1590.42553711, -648.77368164, 117.94288635, 0.00000000, 270.00000000, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, -1272.13085938, -620.49121094, 79.45681000, 87.17102051, 314.97253418, 166.97021484, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, -1272.13085938, -620.49121094, 79.45681000, 87.17102051, 314.97253418, 166.97021484, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -1280.25524902, -576.65106201, 81.83418274, 87.17102051, 314.97802734, 344.97070312, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -1280.25524902, -576.65106201, 81.83418274, 87.17102051, 314.97802734, 344.97070312, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1300.49011230, -350.10644531, 18.07031250, 0.00000000, 0.00000000, 27.98547363, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1300.49011230, -350.10644531, 18.07031250, 0.00000000, 0.00000000, 27.98547363, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1272.20910645, -345.16412354, 18.07031250, 0.00000000, 0.00000000, 5.98217773, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1272.20910645, -345.16412354, 18.07031250, 0.00000000, 0.00000000, 5.98217773, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1194.76721191, -122.97599792, 30.69172287, 0.00000000, 0.00000000, 309.98120117, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1194.76721191, -122.97599792, 30.69172287, 0.00000000, 0.00000000, 309.98120117, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1339.94824219, -428.24954224, 17.90200615, 0.00000000, 0.00000000, 95.97570801, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1339.94824219, -428.24954224, 17.90200615, 0.00000000, 0.00000000, 95.97570801, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1343.17871094, -99.57812500, 24.89843750, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1336.24658203, -92.85594177, 24.89843750, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1241.25866699, -175.89036560, 24.14843750, 0.00000000, 0.00000000, 137.99377441, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1351.63732910, 138.43815613, 15.63509560, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1343.16333008, 130.27175903, 15.63509560, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1351.18884277, 156.26707458, 24.63509560, 18.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1342.28515625, 147.68041992, 24.63509560, 17.99560547, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1333.90710449, 139.68431091, 24.63509560, 17.99560547, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1328.33825684, 144.84477234, 33.13509369, 31.99560547, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1336.80786133, 153.18148804, 33.13509369, 31.99218750, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1345.71093750, 161.76684570, 33.13509369, 31.99218750, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18985, -1530.53027344, -611.21105957, 118.37825775, 359.00024414, 3.99902344, 122.05517578, 1, -1, -1, 250.0);
- CreateDynamicObject(18985, -1530.53027344, -611.21105957, 118.37825775, 359.00024414, 3.99902344, 122.05517578, 1, -1, -1, 250.0);
- CreateDynamicObject(18985, -1480.70837402, -580.09210205, 119.37825775, 358.99475098, 3.99353027, 122.05261230, 1, -1, -1, 250.0);
- CreateDynamicObject(18985, -1480.70837402, -580.09210205, 119.37825775, 358.99475098, 3.99353027, 122.05261230, 1, -1, -1, 250.0);
- CreateDynamicObject(18781, -1378.14160156, -170.60839844, 23.67826843, 0.00000000, 0.00000000, 65.98937988, 1, -1, -1, 250.0);
- CreateDynamicObject(18789, -1491.00000000, -123.41601562, 40.19444656, 0.00000000, 0.00000000, 157.98889160, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -1589.23852539, -82.49005127, 51.50519562, 356.00000000, 0.00000000, 247.99609375, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -1024.28161621, -144.27127075, 58.13439941, 339.99047852, 0.00000000, 115.99438477, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -1795.53247070, 0.96421748, 66.81519318, 355.99548340, 0.00000000, 247.99438477, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1921.55541992, 51.83615112, 75.68353271, 0.00000000, 0.00000000, 67.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1935.24230957, 57.47824860, 84.18353271, 14.00000000, 0.00000000, 67.98889160, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1945.58874512, 61.96181488, 96.43353271, 33.99658203, 0.00000000, 67.98889160, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1952.49829102, 64.87590027, 115.18353271, 53.99169922, 0.00000000, 67.98889160, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1953.47656250, 65.19904327, 134.43353271, 71.98681641, 0.00000000, 67.98889160, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1950.11865234, 63.95849228, 147.18353271, 84.01980591, 180.00000000, 247.98889160, 1, -1, -1, 250.0);
- CreateDynamicObject(18649, -1397.60974121, 72.79566193, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1276.85437012, 215.08377075, 16.12090302, 0.00000000, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1285.75305176, 223.56320190, 16.12090302, 0.00000000, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1298.46850586, 210.42852783, 27.50148392, 15.99609375, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1289.86791992, 202.10229492, 27.50148392, 15.99060059, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1281.23803711, 193.72827148, 27.50148392, 15.99060059, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1288.78112793, 186.05474854, 38.50148392, 27.99316406, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1297.44226074, 194.46286011, 38.50148392, 27.99316406, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -1306.07775879, 202.84268188, 38.50148392, 27.99316406, 0.00000000, 135.99426270, 1, -1, -1, 250.0);
- CreateDynamicObject(18649, -1383.35656738, 87.08313751, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18649, -1400.26452637, 93.05411530, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18649, -1422.89685059, 70.36574554, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18649, -1445.47204590, 47.70878983, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18649, -1455.85949707, 15.12551117, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18649, -1496.89599609, -4.16026306, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18649, -1384.63391113, 130.23144531, 13.17187500, 0.00000000, 0.00000000, 315.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1550.24462891, -176.05238342, 24.89396667, 0.00000000, 0.00000000, 223.98876953, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1543.95898438, -182.51074219, 24.89396667, 0.00000000, 0.00000000, 223.98376465, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1651.81396484, -287.57513428, 24.89396667, 0.00000000, 0.00000000, 41.98376465, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1657.77282715, -280.78961182, 24.89396667, 0.00000000, 0.00000000, 41.97875977, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1825.01062012, -461.34741211, -0.75000000, 0.00000000, 0.00000000, 147.98645020, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1825.01062012, -461.34741211, -0.75000000, 0.00000000, 0.00000000, 147.98645020, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1795.19042969, -385.69628906, -0.75000000, 0.00000000, 0.00000000, 117.97875977, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1795.19042969, -385.69628906, -0.75000000, 0.00000000, 0.00000000, 117.97875977, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1737.76318359, -299.12298584, -0.75000000, 0.00000000, 0.00000000, 137.98278809, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1737.76318359, -299.12298584, -0.75000000, 0.00000000, 0.00000000, 137.98278809, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1731.00390625, -820.77734375, -0.50000000, 0.00000000, 0.00000000, 147.98583984, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1731.00390625, -820.77734375, -0.50000000, 0.00000000, 0.00000000, 147.98583984, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1477.54785156, -870.65527344, -0.50000000, 0.00000000, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1477.54785156, -870.65527344, -0.50000000, 0.00000000, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1271.33496094, -861.85058594, -0.50000000, 0.00000000, 0.00000000, 183.97705078, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1271.33496094, -861.85058594, -0.50000000, 0.00000000, 0.00000000, 183.97705078, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1114.67077637, -617.48431396, -0.50000000, 0.00000000, 0.00000000, 299.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(10819, -1114.67077637, -617.48431396, -0.50000000, 0.00000000, 0.00000000, 299.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, -1096.68457031, -324.02441406, 23.68115044, 316.83471680, 99.51416016, 191.74987793, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, -1096.68457031, -324.02441406, 23.68115044, 316.83471680, 99.51416016, 191.74987793, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, -1053.15393066, -311.07583618, 22.18115044, 318.10864258, 75.09042358, 198.24420166, 1, -1, -1, 250.0);
- CreateDynamicObject(18833, -1053.15393066, -311.07583618, 22.18115044, 318.10864258, 75.09042358, 198.24420166, 1, -1, -1, 250.0);
- CreateDynamicObject(18834, -1033.18847656, -276.01556396, 10.44923401, 312.34802246, 240.77001953, 96.85659790, 1, -1, -1, 250.0);
- CreateDynamicObject(18834, -1033.18847656, -276.01556396, 10.44923401, 312.34802246, 240.77001953, 96.85659790, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1069.36145020, -283.80133057, 35.25551605, 0.00000000, 293.99996948, 31.98672485, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1108.90380859, -308.37710571, 51.32551575, 0.00000000, 283.99963379, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1146.31616211, -331.83184814, 62.32551575, 0.00000000, 283.99658203, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1184.73828125, -355.91796875, 73.57551575, 0.00000000, 283.99658203, 31.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -1013.45477295, -172.69305420, 57.97374725, 339.98840332, 0.00000000, 109.99359131, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -819.14300537, -44.36500931, 141.17623901, 339.98840332, 0.00000000, 115.99362183, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -652.22839355, 36.91828537, 208.76651001, 339.98840332, 0.00000000, 115.99365234, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -444.29830933, 138.37698364, 292.97689819, 339.98840332, 0.00000000, 115.99362183, 1, -1, -1, 250.0);
- CreateDynamicObject(974, -341.08435059, 190.51252747, 335.20364380, 339.98840332, 0.00000000, 115.99362183, 1, -1, -1, 250.0);
- CreateDynamicObject(974, -339.45190430, 187.56842041, 335.26809692, 339.98840332, 0.00000000, 115.99365234, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1139.87695312, -206.35345459, 17.59983635, 0.00000000, 0.00000000, 23.97766113, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -800.46478271, -95.22404480, 140.51374817, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -582.73370361, -15.78168106, 224.89418030, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -372.85842896, 60.88378143, 306.24456787, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(974, -266.19131470, 101.50260925, 347.92642212, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(974, -265.24771118, 97.95956421, 347.80825806, 339.98840332, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(18784, -1142.91357422, -220.49822998, 15.64396572, 0.00000000, 353.99597168, 205.99389648, 1, -1, -1, 250.0);
- CreateDynamicObject(18784, -1148.55151367, -222.96446228, 18.22396851, 0.00000000, 325.99597168, 205.99362183, 1, -1, -1, 250.0);
- CreateDynamicObject(18844, -1127.42480469, 366.75878906, 90.20124817, 1.99401855, 183.99353027, 63.83056641, 1, -1, -1, 250.0);
- CreateDynamicObject(18844, -1127.42480469, 366.75878906, 90.20124817, 1.99401855, 183.99353027, 63.83056641, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1151.19213867, 343.05984497, 13.14583969, 0.00000000, 0.00000000, 45.98364258, 1, -1, -1, 250.0);
- CreateDynamicObject(18845, -1593.63012695, -507.10739136, 60.39492035, 0.00000000, 0.00000000, 312.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(1660, -1586.80395508, -514.14923096, 18.09375000, 0.00000000, 0.00000000, 43.99523926, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1589.92773438, -517.26147461, 21.11718750, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1583.81127930, -514.52996826, 21.11718750, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1577.23559570, -521.11621094, 21.10763550, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1582.73132324, -526.07257080, 21.11718750, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1572.78186035, -536.15960693, 20.69807053, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1567.95654297, -530.53466797, 20.71486855, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1521.04235840, -577.18383789, 13.17187500, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1526.19616699, -582.45953369, 13.17187500, 0.00000000, 0.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1309.23791504, -567.35937500, 13.17187500, 0.00000000, 0.00000000, 109.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1315.63891602, -549.05316162, 13.17187500, 0.00000000, 0.00000000, 109.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1310.38500977, -472.01141357, 13.18894196, 0.00000000, 0.00000000, 127.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1312.71789551, -468.95962524, 13.18024826, 0.00000000, 0.00000000, 117.98522949, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1338.73254395, -414.04565430, 13.17187500, 0.00000000, 0.00000000, 79.98217773, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1336.99865723, -404.24786377, 13.07051468, 0.00000000, 0.00000000, 79.98046875, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1122.06494141, -217.59446716, 13.17187500, 0.00000000, 0.00000000, 109.98046875, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1131.98681641, -191.05862427, 13.16740322, 0.00000000, 0.00000000, 115.97863770, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1150.85156250, 350.43557739, 13.27343750, 0.00000000, 0.00000000, 137.97717285, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1158.46594238, 341.83850098, 13.27343750, 0.00000000, 0.00000000, 137.97180176, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1143.64025879, 343.97479248, 13.27343750, 0.00000000, 0.00000000, 133.97180176, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1151.36450195, 336.27676392, 13.27343750, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1165.43298340, 334.59274292, 13.27343750, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1159.07910156, 326.89202881, 13.27343750, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1192.09814453, 300.94406128, 13.17187500, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1234.00354004, 258.51928711, 13.17187500, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1363.91906738, 128.37840271, 13.16432571, 0.00000000, 0.00000000, 133.96728516, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1358.63952637, -64.37520599, 13.16963005, 0.00000000, 0.00000000, 225.96728516, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1372.27514648, -78.28967285, 13.17187500, 0.00000000, 0.00000000, 225.96679688, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1228.15380859, -207.22709656, 13.16740322, 0.00000000, 0.00000000, 225.96679688, 1, -1, -1, 250.0);
- CreateDynamicObject(18647, -1215.59204102, -192.78872681, 13.17187500, 0.00000000, 0.00000000, 225.96679688, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1199.08544922, -65.59642029, 40.52127457, 316.83471680, 99.51419067, 143.74987793, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1199.08544922, -65.59642029, 40.52127457, 316.83471680, 99.51419067, 143.74987793, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1215.74841309, -382.95443726, 86.13982391, 358.01095581, 6.00363159, 34.18225098, 1, -1, -1, 250.0);
- CreateDynamicObject(18818, -1168.87792969, -93.37617493, 44.78562164, 274.00524902, 0.01174927, 227.99121094, 1, -1, -1, 250.0);
- CreateDynamicObject(18818, -1168.87792969, -93.37617493, 44.78562164, 274.00524902, 0.01174927, 227.99121094, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1128.95874023, -64.75939941, 47.57688141, 316.83471680, 99.51419067, 227.74511719, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1128.95874023, -64.75939941, 47.57688141, 316.83471680, 99.51419067, 227.74511719, 1, -1, -1, 250.0);
- CreateDynamicObject(18824, -1088.39208984, -43.37009048, 49.41281891, 283.39514160, 116.16491699, 26.77099609, 1, -1, -1, 250.0);
- CreateDynamicObject(18824, -1088.39208984, -43.37009048, 49.41281891, 283.39514160, 116.16491699, 26.77099609, 1, -1, -1, 250.0);
- CreateDynamicObject(18824, -1057.16027832, -68.11392975, 44.91281891, 283.39233398, 116.16394043, 306.76818848, 1, -1, -1, 250.0);
- CreateDynamicObject(18824, -1057.16027832, -68.11392975, 44.91281891, 283.39233398, 116.16394043, 306.76818848, 1, -1, -1, 250.0);
- CreateDynamicObject(18824, -1020.34790039, -145.13264465, 34.67282104, 283.38684082, 116.16394043, 256.76574707, 1, -1, -1, 250.0);
- CreateDynamicObject(18824, -1020.34790039, -145.13264465, 34.67282104, 283.38684082, 116.16394043, 256.76574707, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1075.89855957, -105.94364929, 40.57014084, 61.94729614, 273.36614990, 217.95996094, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1075.89855957, -105.94364929, 40.57014084, 61.94729614, 273.36614990, 217.95996094, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1113.84948730, -138.79463196, 39.07014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1113.84948730, -138.79463196, 39.07014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1151.57043457, -171.63104248, 37.57014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1151.57043457, -171.63104248, 37.57014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1189.51782227, -203.92825317, 36.07014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1189.51782227, -203.92825317, 36.07014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1226.82287598, -236.48599243, 34.82014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1226.82287598, -236.48599243, 34.82014084, 61.94641113, 273.36181641, 217.95776367, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1265.99877930, -268.68286133, 30.89014053, 61.02023315, 284.30047607, 205.52038574, 1, -1, -1, 250.0);
- CreateDynamicObject(18809, -1265.99877930, -268.68286133, 30.89014053, 61.02023315, 284.30047607, 205.52038574, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1267.30187988, -209.78088379, 56.44854736, 356.29705811, 208.06378174, 309.74511719, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1267.30187988, -209.78088379, 56.44854736, 356.29705811, 208.06378174, 309.74511719, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1239.79516602, -239.74876404, 81.95854187, 359.85321045, 268.00061035, 311.96624756, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1239.79516602, -239.74876404, 81.95854187, 359.85321045, 268.00061035, 311.96624756, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1211.31811523, -271.58743286, 83.45854187, 359.85168457, 268.00048828, 311.96228027, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1211.31811523, -271.58743286, 83.45854187, 359.85168457, 268.00048828, 311.96228027, 1, -1, -1, 250.0);
- CreateDynamicObject(18789, -1351.03479004, -18.31754684, 50.46585464, 0.00000000, 0.00000000, 223.98889160, 1, -1, -1, 250.0);
- CreateDynamicObject(18784, -1295.82373047, 37.44159698, 15.64843750, 0.00000000, 0.00000000, 44.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18784, -1289.41967773, 43.44236755, 22.38843536, 0.00000000, 326.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18784, -1284.54223633, 48.21295929, 36.63843536, 0.00000000, 295.99996948, 43.98922729, 1, -1, -1, 250.0);
- CreateDynamicObject(18784, -1283.72534180, 48.79548645, 47.88843536, 0.00000000, 281.99996948, 43.98370361, 1, -1, -1, 250.0);
- CreateDynamicObject(18784, -1285.63500977, 47.18260193, 59.63843536, 0.00000000, 264.00000000, 43.97827148, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1429.97265625, -95.02275085, 55.64669800, 0.00000000, 270.00000000, 44.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1493.09741211, -155.97154236, 55.64669800, 0.00000000, 270.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1518.07409668, -180.25057983, 55.64669800, 0.00000000, 270.00000000, 43.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1554.88757324, -215.96212769, 52.02216339, 3.99755859, 357.99511719, 132.12353516, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1558.93115234, -219.69012451, 56.27216339, 19.98327637, 357.87167358, 132.70953369, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1158.43395996, -675.70800781, 96.59208679, 0.00000000, 100.00000000, 34.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -1321.81665039, -451.87707520, 15.64843750, 0.00000000, 0.00000000, 302.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -1331.77856445, -457.63775635, 20.14843750, 342.00000000, 0.00000000, 298.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -1346.52355957, -465.48086548, 30.52843475, 341.99890137, 0.00000000, 297.99865723, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -1363.54260254, -474.52667236, 36.27843475, 11.99890137, 0.00000000, 297.99871826, 1, -1, -1, 250.0);
- CreateDynamicObject(18805, -1137.04089355, -457.73672485, 17.46572876, 0.00000000, 335.99993896, 348.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18805, -1014.08422852, -486.42324829, 58.05572510, 0.00000000, 349.99493408, 345.99743652, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, -909.97943115, -474.99789429, 73.46741486, 85.86038208, 255.08843994, 279.88183594, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, -909.97943115, -474.99789429, 73.46741486, 85.86038208, 255.08843994, 279.88183594, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -963.79907227, -306.02691650, 72.82263947, 0.00000000, 268.00000000, 348.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -945.11798096, -424.50366211, 76.49057007, 81.90936279, 98.55737305, 258.14624023, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -922.13537598, -395.07843018, 76.49057007, 81.90856934, 98.55288696, 72.14575195, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -935.78363037, -360.92211914, 76.49057007, 81.90856934, 98.55288696, 252.14172363, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -911.13763428, -334.05377197, 76.49057007, 81.90856934, 98.55285645, 66.13623047, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1058.73242188, -285.84478760, 69.32263947, 0.00000000, 267.99499512, 347.99743652, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1058.73242188, -285.84478760, 69.32263947, 0.00000000, 267.99499512, 347.99743652, 1, -1, -1, 250.0);
- CreateDynamicObject(16401, -1104.54394531, -275.78808594, 62.75580978, 0.00000000, 0.00000000, 165.99792480, 1, -1, -1, 250.0);
- CreateDynamicObject(18822, -1222.82934570, -709.99713135, 104.56476593, 85.52740479, 63.45394897, 36.60681152, 1, -1, -1, 250.0);
- CreateDynamicObject(18822, -1222.82934570, -709.99713135, 104.56476593, 85.52740479, 63.45394897, 36.60681152, 1, -1, -1, 250.0);
- CreateDynamicObject(18853, -1295.70397949, -699.14788818, 102.34586334, 85.52307129, 63.45153809, 0.60644531, 1, -1, -1, 250.0);
- CreateDynamicObject(18853, -1295.70397949, -699.14788818, 102.34586334, 85.52307129, 63.45153809, 0.60644531, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1340.59082031, -567.92089844, 81.16615295, 87.17102051, 314.97253418, 254.97070312, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1340.59082031, -567.92089844, 81.16615295, 87.17102051, 314.97253418, 254.97070312, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -1246.13183594, -536.42297363, 63.54665375, 87.17102051, 314.97253418, 308.97021484, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -1246.13183594, -536.42297363, 63.54665375, 87.17102051, 314.97253418, 308.97021484, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -1284.69470215, -602.29400635, 97.83418274, 3.98999023, 355.98950195, 110.26330566, 1, -1, -1, 250.0);
- CreateDynamicObject(18841, -1284.69470215, -602.29400635, 97.83418274, 3.98999023, 355.98950195, 110.26330566, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1305.30664062, -547.30480957, 116.03614807, 87.17102051, 314.97253418, 246.97070312, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1305.30664062, -547.30480957, 116.03614807, 87.17102051, 314.97253418, 246.97070312, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1328.26611328, -490.49081421, 118.28614807, 87.17102051, 314.97253418, 246.96716309, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1328.26611328, -490.49081421, 118.28614807, 87.17102051, 314.97253418, 246.96716309, 1, -1, -1, 250.0);
- CreateDynamicObject(18844, -1361.78259277, -397.88842773, 124.97569275, 0.20867920, 264.00360107, 107.98181152, 1, -1, -1, 250.0);
- CreateDynamicObject(18844, -1361.78259277, -397.88842773, 124.97569275, 0.20867920, 264.00360107, 107.98181152, 1, -1, -1, 250.0);
- CreateDynamicObject(18843, -1510.61816406, -287.17300415, 103.89883423, 0.00000000, 285.99658203, 297.99414062, 1, -1, -1, 250.0);
- CreateDynamicObject(18821, -1283.03918457, -290.99884033, 46.81027603, 0.00000000, 301.99572754, 107.99710083, 1, -1, -1, 250.0);
- CreateDynamicObject(18821, -1283.03918457, -290.99884033, 46.81027603, 0.00000000, 301.99572754, 107.99710083, 1, -1, -1, 250.0);
- CreateDynamicObject(18994, -794.53326416, 130.96403503, 14.00226212, 358.99777222, 359.99844360, 125.98513794, 1, -1, -1, 250.0);
- CreateDynamicObject(18994, -794.53326416, 130.96403503, 14.00226212, 358.99777222, 359.99844360, 125.98513794, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -602.03417969, 615.08789062, 9.35534286, 0.00000000, 0.00000000, 335.99487305, 1, -1, -1, 250.0);
- CreateDynamicObject(19005, -594.32324219, 632.75439453, 9.35534286, 0.00000000, 0.00000000, 155.99487305, 1, -1, -1, 250.0);
- CreateDynamicObject(18789, -1280.70239258, -258.19812012, 47.66661835, 0.00000000, 0.00000000, 43.98925781, 1, -1, -1, 250.0);
- CreateDynamicObject(18825, -1331.89929199, -307.18368530, 68.74201202, 0.00000000, 0.00000000, 44.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1290.26770020, -264.34921265, 88.08591461, 0.00000000, 85.99993896, 45.98059082, 1, -1, -1, 250.0);
- CreateDynamicObject(18824, -1249.63220215, -206.39904785, 93.89344788, 276.30261230, 180.00012207, 358.30261230, 1, -1, -1, 250.0);
- CreateDynamicObject(18825, -1261.70275879, -176.14985657, 112.25396729, 0.00000000, 0.00000000, 313.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1223.15490723, -220.96829224, 131.41590881, 0.00000000, 85.99548340, 309.97778320, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1223.15490723, -220.96829224, 131.41590881, 0.00000000, 85.99548340, 309.97778320, 1, -1, -1, 250.0);
- CreateDynamicObject(18824, -1186.07360840, -281.91903687, 132.43344116, 276.30065918, 180.00000000, 358.29711914, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1210.03674316, -321.59832764, 126.68518066, 0.00000000, 262.00000000, 43.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(18842, -1210.03674316, -321.59832764, 126.68518066, 0.00000000, 262.00000000, 43.98669434, 1, -1, -1, 250.0);
- CreateDynamicObject(16401, -1226.88415527, -337.59442139, 119.01322174, 0.00000000, 0.00000000, 223.99792480, 1, -1, -1, 250.0);
- CreateDynamicObject(16401, -1226.88415527, -337.59442139, 119.01322174, 0.00000000, 0.00000000, 223.99792480, 1, -1, -1, 250.0);
- CreateDynamicObject(18772, -1485.16357422, -527.94976807, 65.16519165, 0.00000000, 0.00000000, 293.99609375, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -1720.40954590, -686.72241211, 16.68750000, 0.00000000, 0.00000000, 330.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(3080, -1598.65686035, -580.54870605, 63.96530533, 4.00000000, 0.00000000, 113.99996948, 1, -1, -1, 250.0);
- CreateDynamicObject(3080, -1600.22912598, -577.14392090, 63.96530533, 3.99902344, 0.00000000, 113.99963379, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1722.22399902, -660.73986816, 14.40625000, 6.00000000, 0.00000000, 100.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1458.25708008, -622.43408203, 14.86718750, 5.99853516, 0.00000000, 175.99548340, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1736.28869629, -660.98944092, 14.05413628, 0.00000000, 0.00000000, 9.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1739.71789551, -642.85943604, 14.05413628, 0.00000000, 0.00000000, 9.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18825, -1748.39099121, -737.05889893, 40.03654480, 0.00000000, 0.00000000, 60.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1740.64904785, -719.32409668, 16.70863152, 0.00000000, 0.00000000, 329.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -1717.29736328, -681.25402832, 15.18302727, 0.00000000, 0.00000000, 329.99633789, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1730.41442871, -703.92700195, 16.70863152, 0.00000000, 0.00000000, 329.99633789, 1, -1, -1, 250.0);
- CreateDynamicObject(18836, -1728.69067383, -707.84649658, 55.76342010, 0.00000000, 0.00000000, 143.99996948, 1, -1, -1, 250.0);
- CreateDynamicObject(18836, -1728.69067383, -707.84649658, 55.76342010, 0.00000000, 0.00000000, 143.99996948, 1, -1, -1, 250.0);
- CreateDynamicObject(18836, -1700.14453125, -668.46759033, 55.76342010, 0.00000000, 0.00000000, 143.99780273, 1, -1, -1, 250.0);
- CreateDynamicObject(18836, -1700.14453125, -668.46759033, 55.76342010, 0.00000000, 0.00000000, 143.99780273, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1659.07714844, -609.09027100, 55.62300873, 0.00000000, 270.00000000, 55.99926758, 1, -1, -1, 250.0);
- CreateDynamicObject(18838, -1627.56188965, -561.17926025, 63.42290115, 0.00000000, 0.00000000, 240.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18838, -1627.56188965, -561.17926025, 63.42290115, 0.00000000, 0.00000000, 240.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18852, -1659.28173828, -608.94616699, 71.37300873, 0.00000000, 270.00000000, 55.99731445, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, -1684.86462402, -693.30328369, 71.51496887, 87.17102051, 314.97253418, 90.97021484, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, -1684.86462402, -693.30328369, 71.51496887, 87.17102051, 314.97253418, 90.97021484, 1, -1, -1, 250.0);
- CreateDynamicObject(1634, -1638.10400391, -691.37829590, 69.73274231, 4.00000000, 0.00000000, 306.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1724.83105469, -645.75756836, 14.40625000, 5.99853516, 0.00000000, 99.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1726.14880371, -638.20214844, 14.40625000, 5.99853516, 0.00000000, 99.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18780, -1600.44555664, -746.97558594, 25.23524094, 0.00000000, 0.00000000, 250.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1458.56152344, -626.46099854, 18.36718750, 35.99853516, 0.00000000, 175.98999023, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1458.65881348, -628.36242676, 22.61718750, 53.99670410, 0.00000000, 175.98999023, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, -1566.67773438, -475.01229858, 32.52497864, 79.80477905, 78.80187988, 145.34735107, 1, -1, -1, 250.0);
- CreateDynamicObject(18855, -1566.67773438, -475.01229858, 32.52497864, 79.80477905, 78.80187988, 145.34735107, 1, -1, -1, 250.0);
- CreateDynamicObject(3080, -1613.20568848, -475.51800537, 21.17234421, 0.00000000, 0.00000000, 310.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(3080, -1584.49182129, -537.57037354, 21.13273621, 0.00000000, 0.00000000, 140.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(3080, -1581.66076660, -540.04339600, 21.13273621, 0.00000000, 0.00000000, 139.99877930, 1, -1, -1, 250.0);
- CreateDynamicObject(3080, -1584.12145996, -543.03942871, 23.38273621, 16.00000000, 0.00000000, 139.99877930, 1, -1, -1, 250.0);
- CreateDynamicObject(3080, -1586.95410156, -540.51953125, 23.38273621, 15.99609375, 0.00000000, 139.99877930, 1, -1, -1, 250.0);
- CreateDynamicObject(18781, -1637.75891113, -747.06982422, 23.91406250, 0.00000000, 0.00000000, 153.98937988, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1644.54162598, -761.15466309, 39.76772690, 270.00000000, 180.00000000, 153.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1613.28100586, -779.87060547, 60.67772293, 270.00000000, 179.99450684, 159.99487305, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1314.47375488, -685.37481689, 24.56250000, 0.00000000, 0.00000000, 1.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1361.62133789, -687.01470947, 24.56250000, 0.00000000, 0.00000000, 1.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1409.72387695, -688.67010498, 24.56250000, 0.00000000, 0.00000000, 1.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1458.24755859, -691.41979980, 24.56250000, 0.00000000, 0.00000000, 3.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1361.53430176, -696.24884033, 59.43155670, 85.99597168, 0.00000000, 1.98852539, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1361.53430176, -696.24884033, 59.43155670, 85.99597168, 0.00000000, 1.98852539, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1313.84436035, -694.56414795, 59.43155670, 85.99548340, 0.00000000, 1.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1313.84436035, -694.56414795, 59.43155670, 85.99548340, 0.00000000, 1.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1409.63928223, -698.02398682, 59.43155670, 85.99548340, 0.00000000, 1.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1409.63928223, -698.02398682, 59.43155670, 85.99548340, 0.00000000, 1.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1457.54345703, -700.67437744, 59.43155670, 85.99548340, 0.00000000, 3.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1457.54345703, -700.67437744, 59.43155670, 85.99548340, 0.00000000, 3.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1505.54870605, -694.78778076, 24.56250000, 0.00000000, 0.00000000, 3.99353027, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1505.09509277, -704.15570068, 59.43155670, 85.99548340, 0.00000000, 3.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1505.09509277, -704.15570068, 59.43155670, 85.99548340, 0.00000000, 3.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1313.06250000, -726.45837402, 24.56250000, 0.00000000, 0.00000000, 181.99401855, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1313.06250000, -726.45837402, 24.56250000, 0.00000000, 0.00000000, 181.99401855, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1313.23791504, -717.08325195, 59.43155670, 85.99548340, 0.00000000, 181.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1313.23791504, -717.08325195, 59.43155670, 85.99548340, 0.00000000, 181.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1360.82006836, -728.44250488, 24.56250000, 0.00000000, 0.00000000, 181.99401855, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1360.82006836, -728.44250488, 24.56250000, 0.00000000, 0.00000000, 181.99401855, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1360.64465332, -719.06518555, 59.43155670, 85.99548340, 0.00000000, 181.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1360.64465332, -719.06518555, 59.43155670, 85.99548340, 0.00000000, 181.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1409.13049316, -731.02178955, 24.56250000, 0.00000000, 0.00000000, 183.98852539, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1409.13049316, -731.02178955, 24.56250000, 0.00000000, 0.00000000, 183.98852539, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1409.03662109, -721.61401367, 59.43155670, 85.99548340, 0.00000000, 183.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1409.03662109, -721.61401367, 59.43155670, 85.99548340, 0.00000000, 183.98303223, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1457.43774414, -734.58441162, 24.56250000, 0.00000000, 0.00000000, 183.98803711, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1457.43774414, -734.58441162, 24.56250000, 0.00000000, 0.00000000, 183.98803711, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1457.52746582, -725.23370361, 59.43155670, 85.99548340, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1457.52746582, -725.23370361, 59.43155670, 85.99548340, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1502.20996094, -737.82501221, 24.56250000, 0.00000000, 0.00000000, 183.98803711, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1502.20996094, -737.82501221, 24.56250000, 0.00000000, 0.00000000, 183.98803711, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1503.39477539, -728.57641602, 59.43155670, 85.99548340, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(18859, -1503.39477539, -728.57641602, 59.43155670, 85.99548340, 0.00000000, 183.98254395, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1282.67004395, -704.45275879, 11.42968750, 0.00000000, 0.00000000, 7.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1534.80212402, -718.30297852, 11.42968750, 0.00000000, 0.00000000, 7.99255371, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -1554.62109375, -720.99816895, 11.43750000, 0.00000000, 0.00000000, 97.99633789, 1, -1, -1, 250.0);
- CreateDynamicObject(18785, -1262.90466309, -701.75305176, 11.43750000, 0.00000000, 0.00000000, 277.99255371, 1, -1, -1, 250.0);
- CreateDynamicObject(18850, -1334.64135742, -578.99945068, 24.99453163, 0.00000000, 0.00000000, 22.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1310.54101562, -568.85229492, 27.54863167, 0.00000000, 43.99316406, 23.98315430, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1370.23449707, -594.42419434, 21.79863167, 0.00000000, 27.99316406, 203.98315430, 1, -1, -1, 250.0);
- CreateDynamicObject(18786, -1364.92480469, -592.16705322, 27.54863167, 0.00000000, 43.98925781, 203.97766113, 1, -1, -1, 250.0);
- CreateDynamicObject(18857, -1340.40820312, -427.76443481, 23.44759750, 0.00000000, 270.00000000, 190.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18857, -1340.40820312, -427.76443481, 23.44759750, 0.00000000, 270.00000000, 190.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18857, -1339.98925781, -387.85064697, 23.44759750, 0.00000000, 270.00000000, 171.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18857, -1339.98925781, -387.85064697, 23.44759750, 0.00000000, 270.00000000, 171.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1339.48352051, -387.36431885, 17.94213104, 0.00000000, 0.00000000, 77.97106934, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1339.48352051, -387.36431885, 17.94213104, 0.00000000, 0.00000000, 77.97106934, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1641.03112793, -771.19702148, 66.66762543, 0.00000000, 0.00000000, 157.97924805, 1, -1, -1, 250.0);
- CreateDynamicObject(18846, -1641.03112793, -771.19702148, 66.66762543, 0.00000000, 0.00000000, 157.97924805, 1, -1, -1, 250.0);
- CreateDynamicObject(18862, -1262.77136230, -502.86059570, 18.19984436, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1643.17041016, -593.14074707, 14.86718750, 5.99853516, 0.00000000, 19.98999023, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1644.33630371, -589.57647705, 17.86718750, 29.99853516, 0.00000000, 19.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1629.10009766, -587.93310547, 14.86718750, 5.99853516, 0.00000000, 19.98962402, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1629.94494629, -584.31127930, 17.86718750, 29.99816895, 0.00000000, 19.98413086, 1, -1, -1, 250.0);
- CreateDynamicObject(10828, -1667.07958984, -118.39147186, 10.27123451, 0.00000000, 0.00000000, 314.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(6959, -1752.85815430, -554.02703857, 12.76294899, 0.00000000, 0.00000000, 0.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18801, -1754.78137207, -308.64135742, 35.50605774, 2.03796387, 0.00000000, 278.03527832, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1767.91748047, -546.60125732, 13.45044899, 3.99902344, 0.00000000, 179.99951172, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1765.76306152, -560.63092041, 12.97388649, 0.00000000, 0.00000000, 359.99755859, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1752.36621094, -546.64147949, 13.45044899, 3.99353027, 0.00000000, 179.99450684, 1, -1, -1, 250.0);
- CreateDynamicObject(18783, -1754.38098145, -560.50103760, 12.97388649, 0.00000000, 0.00000000, 359.99450684, 1, -1, -1, 250.0);
- CreateDynamicObject(18779, -1764.63305664, -172.73101807, 22.92968750, 0.00000000, 0.00000000, 282.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18788, -1775.03576660, -118.83811951, 7.63706589, 0.00000000, 346.00000000, 354.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(18788, -1736.33508301, -122.83140564, 12.38706589, 0.00000000, 359.99792480, 353.99597168, 1, -1, -1, 250.0);
- CreateDynamicObject(18778, -1712.52050781, -124.71417236, 11.65625000, 0.00000000, 0.00000000, 84.00000000, 1, -1, -1, 250.0);
- CreateDynamicObject(10828, -1687.97973633, -97.16738129, 10.27123451, 0.00000000, 0.00000000, 313.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(10828, -1667.07910156, -118.39062500, -2.97876549, 0.00000000, 0.00000000, 313.99475098, 1, -1, -1, 250.0);
- CreateDynamicObject(10828, -1667.07910156, -118.39062500, -18.22876549, 0.00000000, 0.00000000, 313.99475098, 1, -1, -1, 250.0);
- //Police station LS Int
- // 9592 = 19379 (Wall027)
- // 18462 = 19450 (Wall090)
- // 18621 = 19435 (Wall075)
- // 9601 = 19388 (Wall036)
- // 9571 = 19358 (Wall006)
- // 18625 = 19431 (Wall071)
- // 18469 = 19355 (Wall003)
- // 9598 = 19385 (Wall033)
- // 18465 = 19447 (Wall087)
- // 9583 = 19370 (Wall018)
- // 9617 = 19404 (Wall052)
- CreateObject(19379,1469.39941406,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (1)
- CreateObject(19379,1479.00000000,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (2)
- CreateObject(1536,1475.69995117,-1748.86303711,3284.30004883,0.00000000,0.00000000,180.00000000); //object(gen_doorext15) (1)
- CreateObject(1536,1472.69921875,-1748.89941406,3284.30004883,0.00000000,0.00000000,0.00000000); //object(gen_doorext15) (2)
- CreateObject(19450,1464.50000000,-1753.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
- CreateObject(19450,1483.79980469,-1753.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(18070,1474.19921875,-1755.89941406,3284.80004883,0.00000000,0.00000000,179.99450684); //object(gap_counter) (1)
- CreateObject(19379,1479.00000000,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (3)
- CreateObject(19379,1469.39941406,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (4)
- CreateObject(18070,1474.19995117,-1755.80004883,3287.10009766,0.00000000,179.99450684,179.99450684); //object(gap_counter) (3)
- CreateObject(19435,1477.80102539,-1756.59960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (1)
- CreateObject(19435,1477.80078125,-1755.09960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (3)
- CreateObject(19435,1476.13903809,-1753.40002441,3284.60009766,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (4)
- CreateObject(19435,1472.69995117,-1753.40002441,3284.60009766,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (5)
- CreateObject(19435,1472.26074219,-1753.40039062,3284.60009766,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (6)
- CreateObject(19435,1470.59960938,-1755.09960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (7)
- CreateObject(19435,1470.59960938,-1756.59960938,3284.60009766,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (8)
- CreateObject(19379,1479.00000000,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1469.40002441,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (6)
- CreateObject(19435,1477.80102539,-1756.59960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (9)
- CreateObject(19435,1477.79980469,-1755.09960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (10)
- CreateObject(19435,1476.09960938,-1753.39941406,3287.30004883,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (11)
- CreateObject(19435,1472.69921875,-1753.39941406,3287.30004883,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (12)
- CreateObject(19435,1472.30004883,-1753.40100098,3287.30004883,90.00000000,90.00000000,0.00000000); //object(cs_landbit_58_a) (13)
- CreateObject(19435,1470.59960938,-1755.09960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (14)
- CreateObject(19435,1470.60095215,-1756.59960938,3287.30004883,90.00000000,0.00000000,0.00000000); //object(cs_landbit_58_a) (15)
- CreateObject(19379,1459.79980469,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (7)
- CreateObject(19379,1488.59960938,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19388,1483.79980469,-1763.19921875,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (1)
- CreateObject(19358,1464.50000000,-1760.00000000,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (1)
- CreateObject(19431,1465.39941406,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_landbit_48_a) (3)
- CreateObject(19388,1467.80004883,-1758.30004883,3286.00000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (2)
- CreateObject(19358,1471.00000000,-1758.30004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (2)
- CreateObject(19358,1477.39941406,-1758.29980469,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(19388,1480.59960938,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (3)
- CreateObject(19358,1483.79980469,-1766.39941406,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (4)
- CreateObject(19358,1483.79980469,-1760.00000000,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (5)
- CreateObject(19388,1464.50000000,-1763.19921875,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (4)
- CreateObject(19358,1464.50000000,-1766.39941406,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (6)
- CreateObject(19431,1483.00000000,-1768.00000000,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_landbit_48_a) (4)
- CreateObject(19358,1479.00000000,-1769.51562500,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1477.39941406,-1768.00000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (8)
- CreateObject(14416,1474.09960938,-1771.00000000,3284.50000000,0.00000000,0.00000000,179.99450684); //object(carter-stairs07) (1)
- CreateObject(19450,1475.79980469,-1772.72900391,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
- CreateObject(19450,1472.50000000,-1772.72851562,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
- CreateObject(19379,1479.00000000,-1762.79980469,3287.70092773,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1469.39941406,-1762.79980469,3287.70092773,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1477.29980469,-1778.29980469,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19450,1467.77197266,-1773.00000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1477.30004883,-1768.00000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1480.52697754,-1773.00000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1485.30004883,-1777.90002441,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19450,1463.00000000,-1777.90002441,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19379,1480.50000000,-1777.89941406,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1470.90002441,-1777.90002441,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1461.29980469,-1777.89941406,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1470.90002441,-1767.40002441,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19450,1472.50000000,-1768.09960938,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19450,1475.80004883,-1768.09997559,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19379,1467.69921875,-1778.29980469,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19379,1486.90002441,-1778.30004883,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19450,1467.80004883,-1782.69995117,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1480.50000000,-1782.69995117,3289.50000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19388,1474.09997559,-1782.69995117,3289.50000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (5)
- CreateObject(19379,1474.09960938,-1788.79980469,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19450,1478.79980469,-1787.59960938,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19450,1469.39941406,-1787.59960938,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (4)
- CreateObject(19379,1474.09960938,-1788.39941406,3291.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (5)
- CreateObject(19431,1483.00000000,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_landbit_48_a) (6)
- CreateObject(19431,1474.09997559,-1786.40002441,3289.50000000,0.00000000,0.00000000,180.00000000); //object(cs_landbit_48_a) (7)
- CreateObject(19431,1474.81298828,-1785.59997559,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (8)
- CreateObject(19388,1477.19995117,-1785.59997559,3289.50000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (6)
- CreateObject(19431,1474.09960938,-1791.19921875,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (9)
- CreateObject(19358,1474.09960938,-1788.79980469,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (19)
- CreateObject(19431,1478.80004883,-1793.19995117,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (11)
- CreateObject(19388,1474.19921875,-1758.29980469,3286.00000000,0.00000000,0.00000000,270.00000000); //object(road_sfw15) (3)
- CreateObject(19358,1485.40002441,-1768.00000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1485.40002441,-1759.30004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1487.00000000,-1766.40002441,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (4)
- CreateObject(19388,1487.00000000,-1763.19995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (1)
- CreateObject(19358,1487.00000000,-1760.00000000,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (5)
- CreateObject(19379,1498.19995117,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1507.80004883,-1764.50000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1488.59997559,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1498.19995117,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1507.80004883,-1754.00000000,3284.19995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19447,1487.09997559,-1756.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (1)
- CreateObject(19385,1487.09997559,-1763.19995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(sfw_boxwest02) (1)
- CreateObject(19447,1492.00000000,-1769.69921875,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (2)
- CreateObject(19355,1488.79980469,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_12) (1)
- CreateObject(19355,1488.80004883,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_12) (2)
- CreateObject(19385,1492.00000000,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (2)
- CreateObject(19447,1490.39941406,-1756.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (3)
- CreateObject(19385,1495.19921875,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (6)
- CreateObject(19385,1498.39941406,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (7)
- CreateObject(19385,1501.59997559,-1761.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (8)
- CreateObject(19447,1493.59997559,-1756.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (4)
- CreateObject(19447,1496.80004883,-1756.59997559,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (5)
- CreateObject(19447,1500.09997559,-1756.59997559,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (6)
- CreateObject(19447,1503.30004883,-1756.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (7)
- CreateObject(19447,1503.29980469,-1766.29980469,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (8)
- CreateObject(19385,1492.00000000,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (9)
- CreateObject(19385,1495.19921875,-1764.89941406,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (10)
- CreateObject(19385,1498.40002441,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (11)
- CreateObject(19385,1501.59997559,-1764.90002441,3286.00000000,0.00000000,0.00000000,90.00000000); //object(sfw_boxwest02) (12)
- CreateObject(19447,1487.09960938,-1769.59960938,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (9)
- CreateObject(19447,1501.59997559,-1769.69995117,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (10)
- CreateObject(19447,1490.40002441,-1769.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (11)
- CreateObject(19447,1493.59997559,-1769.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (12)
- CreateObject(19447,1496.79980469,-1769.79980469,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (13)
- CreateObject(19447,1500.00000000,-1769.80004883,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok13) (14)
- CreateObject(19447,1492.00000000,-1757.09997559,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (15)
- CreateObject(19447,1501.59960938,-1757.09960938,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok13) (16)
- CreateObject(19379,1488.59960938,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1498.19995117,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1507.79980469,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1507.80004883,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1498.19995117,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19379,1488.59997559,-1754.00000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (8)
- CreateObject(19450,1459.59997559,-1759.19995117,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1459.69921875,-1768.00000000,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(19450,1454.90002441,-1763.19995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(cs_detrok10) (3)
- CreateObject(19379,1459.80004883,-1764.50000000,3287.69995117,0.00000000,90.00000000,90.00000000); //object(sfw_boxwest12) (7)
- CreateObject(2008,1474.69995117,-1754.30004883,3284.48999023,0.00000000,0.00000000,0.00000000); //object(officedesk1) (1)
- CreateObject(2008,1472.59997559,-1754.30004883,3284.48999023,0.00000000,0.00000000,0.00000000); //object(officedesk1) (2)
- CreateObject(2607,1471.40002441,-1755.90002441,3284.89990234,0.00000000,0.00000000,270.00000000); //object(polce_desk2) (1)
- CreateObject(2007,1486.40002441,-1759.90002441,3284.30004883,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (1)
- CreateObject(2007,1485.40002441,-1759.90002441,3284.30004883,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (2)
- CreateObject(2007,1484.39941406,-1759.89941406,3284.30004883,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2162,1471.81005859,-1758.09997559,3284.38500977,0.00000000,0.00000000,180.00000000); //object(med_office_unit_1) (1)
- CreateObject(2606,1473.19995117,-1754.40002441,3287.00000000,6.50000000,0.00000000,0.00000000); //object(cj_police_counter2) (1)
- CreateObject(2606,1475.19995117,-1754.40002441,3287.00000000,6.49841309,0.00000000,0.00000000); //object(cj_police_counter2) (3)
- CreateObject(2162,1476.69995117,-1754.19995117,3284.38500977,0.00000000,0.00000000,312.74450684); //object(med_office_unit_1) (2)
- CreateObject(1811,1483.19995117,-1752.40002441,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (1)
- CreateObject(1811,1483.19921875,-1753.19921875,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (2)
- CreateObject(1811,1483.19995117,-1754.00000000,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (3)
- CreateObject(1811,1483.19995117,-1754.80004883,3284.89990234,0.00000000,0.00000000,0.00000000); //object(med_din_chair_5) (4)
- CreateObject(1892,1472.90002441,-1749.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(security_gatsh) (1)
- CreateObject(1892,1474.50000000,-1749.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(security_gatsh) (2)
- CreateObject(2111,1482.69995117,-1750.90002441,3284.69995117,0.00000000,0.00000000,0.00000000); //object(low_dinning_5) (1)
- CreateObject(2816,1482.59997559,-1751.19995117,3285.11010742,0.00000000,0.00000000,0.00000000); //object(gb_bedmags01) (1)
- CreateObject(14401,1453.30004883,-1747.40002441,3284.60009766,0.00000000,0.00000000,180.00000000); //object(bench1) (1)
- CreateObject(14401,1443.09960938,-1773.59960938,3284.60009766,0.00000000,0.00000000,269.99450684); //object(bench1) (2)
- CreateObject(1502,1464.43945312,-1762.41503906,3284.23999023,0.00000000,0.00000000,270.00000000); //object(gen_doorint04) (1)
- CreateObject(14782,1461.30004883,-1759.69995117,3285.30004883,0.00000000,0.00000000,0.00000000); //object(int3int_boxing30) (1)
- CreateObject(14782,1455.69995117,-1760.00000000,3285.30004883,0.00000000,0.00000000,90.00000000); //object(int3int_boxing30) (4)
- CreateObject(2846,1456.09997559,-1760.59997559,3284.30004883,0.00000000,0.00000000,0.00000000); //object(gb_bedclothes05) (1)
- CreateObject(2614,1474.15002441,-1768.12500000,3289.50000000,0.00000000,0.00000000,0.00000000); //object(cj_us_flag) (1)
- CreateObject(2007,1463.00000000,-1767.40002441,3284.30004883,0.00000000,0.00000000,180.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1462.00000000,-1767.40002441,3284.30004883,0.00000000,0.00000000,179.99450684); //object(filing_cab_nu01) (3)
- CreateObject(2007,1461.00000000,-1767.40002441,3284.30004883,0.00000000,0.00000000,179.99450684); //object(filing_cab_nu01) (3)
- CreateObject(2400,1464.40002441,-1764.59997559,3284.39990234,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall01) (1)
- CreateObject(2689,1464.00000000,-1765.09997559,3285.69995117,0.00000000,0.00000000,270.00000000); //object(cj_hoodie_2) (1)
- CreateObject(2704,1464.09997559,-1765.69995117,3285.69995117,0.00000000,0.00000000,270.00000000); //object(cj_hoodie_3) (1)
- CreateObject(19358,1482.19995117,-1769.51599121,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(14416,1480.59997559,-1772.80004883,3281.10009766,0.00000000,0.00000000,359.99450684); //object(carter-stairs07) (1)
- CreateObject(19358,1482.19995117,-1769.59997559,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1482.19995117,-1772.80004883,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1482.19995117,-1772.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1769.59997559,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1772.80004883,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1772.69995117,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(14416,1480.50000000,-1779.09997559,3277.60009766,0.00000000,0.00000000,359.98901367); //object(carter-stairs07) (1)
- CreateObject(19358,1482.19995117,-1776.00000000,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1776.00000000,3282.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1482.19995117,-1775.90002441,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1479.00000000,-1775.90002441,3286.00000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1480.59960938,-1777.50000000,3282.50000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
- CreateObject(19358,1480.59997559,-1777.50000000,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (7)
- CreateObject(19370,1480.50000000,-1769.59960938,3287.69995117,0.00000000,90.00000000,0.00000000); //object(freight_sfw15) (1)
- CreateObject(19370,1480.50000000,-1772.79980469,3287.69799805,0.00000000,90.00000000,0.00000000); //object(freight_sfw15) (2)
- CreateObject(19370,1480.59960938,-1776.00000000,3287.69799805,0.00000000,90.00000000,0.00000000); //object(freight_sfw15) (3)
- CreateObject(14416,1480.50000000,-1780.30004883,3277.60009766,0.00000000,0.00000000,359.98901367); //object(carter-stairs07) (1)
- CreateObject(1536,1479.09997559,-1777.43701172,3280.80004883,0.00000000,0.00000000,0.00000000); //object(gen_doorext15) (2)
- CreateObject(1536,1482.09997559,-1777.40002441,3280.80004883,0.00000000,0.00000000,180.00000000); //object(gen_doorext15) (2)
- CreateObject(1811,1464.00000000,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (5)
- CreateObject(1811,1464.90002441,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (6)
- CreateObject(1811,1465.80004883,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (7)
- CreateObject(1811,1466.69995117,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (9)
- CreateObject(1811,1467.59997559,-1777.80004883,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (10)
- CreateObject(1811,1467.59997559,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (11)
- CreateObject(1811,1466.69995117,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (12)
- CreateObject(1811,1465.80004883,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (13)
- CreateObject(1811,1464.90002441,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (14)
- CreateObject(1811,1464.00000000,-1776.09997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (15)
- CreateObject(1811,1467.59997559,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (16)
- CreateObject(1811,1466.69995117,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (17)
- CreateObject(1811,1465.90002441,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (18)
- CreateObject(1811,1465.00000000,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (19)
- CreateObject(1811,1464.09997559,-1774.59997559,3288.39990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (20)
- CreateObject(3077,1466.80004883,-1781.80004883,3287.80004883,0.00000000,0.00000000,0.00000000); //object(nf_blackboard) (1)
- CreateObject(14532,1464.09960938,-1781.19921875,3288.80004883,0.00000000,0.00000000,349.99694824); //object(tv_stand_driv) (1)
- CreateObject(19358,1470.50000000,-1774.69995117,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(19388,1470.50000000,-1777.90002441,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw15) (1)
- CreateObject(19358,1470.50000000,-1781.09997559,3289.50000000,0.00000000,0.00000000,0.00000000); //object(road_sfw12) (7)
- CreateObject(2357,1471.59960938,-1787.69921875,3288.19995117,0.00000000,0.00000000,270.00000000); //object(dunc_dinning) (1)
- CreateObject(1714,1513.09997559,-1837.50000000,3216.69995117,0.00000000,0.00000000,0.00000000); //object(kb_swivelchair1) (1)
- CreateObject(1714,1471.59997559,-1790.69995117,3287.80004883,0.00000000,0.00000000,180.00000000); //object(kb_swivelchair1) (2)
- CreateObject(1671,1470.40002441,-1788.90002441,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (1)
- CreateObject(1671,1470.40002441,-1787.69995117,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (2)
- CreateObject(1671,1470.40002441,-1786.50000000,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (4)
- CreateObject(1671,1472.90002441,-1788.90002441,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (5)
- CreateObject(1671,1472.90002441,-1787.69995117,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (7)
- CreateObject(1671,1472.90002441,-1786.50000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (9)
- CreateObject(14532,1470.09960938,-1791.59960938,3288.80004883,0.00000000,0.00000000,337.99438477); //object(tv_stand_driv) (1)
- CreateObject(1671,1475.19995117,-1790.40002441,3288.19995117,0.00000000,0.00000000,180.00000000); //object(swivelchair_a) (10)
- CreateObject(2165,1478.19995117,-1790.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (1)
- CreateObject(2166,1477.19995117,-1788.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_2) (1)
- CreateObject(2173,1474.69995117,-1789.50000000,3287.80004883,0.00000000,0.00000000,0.00000000); //object(med_office_desk_3) (1)
- CreateObject(1671,1477.29980469,-1790.69921875,3288.19995117,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (11)
- CreateObject(1671,1475.09997559,-1788.50000000,3288.19995117,0.00000000,0.00000000,358.24450684); //object(swivelchair_a) (12)
- CreateObject(2186,1476.59997559,-1773.59997559,3287.80004883,0.00000000,0.00000000,0.00000000); //object(photocopier_1) (1)
- CreateObject(2612,1474.22302246,-1790.40002441,3289.60009766,0.00000000,0.00000000,90.00000000); //object(police_nb2) (1)
- CreateObject(2611,1474.22399902,-1787.80004883,3289.62011719,0.00000000,0.00000000,90.00000000); //object(police_nb1) (1)
- CreateObject(1502,1476.45996094,-1785.61999512,3287.73510742,0.00000000,0.00000000,0.00000000); //object(gen_doorint04) (1)
- CreateObject(2165,1479.19995117,-1775.59997559,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (2)
- CreateObject(2165,1479.30004883,-1778.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (3)
- CreateObject(2165,1479.40002441,-1781.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (4)
- CreateObject(2165,1482.30004883,-1775.59997559,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (5)
- CreateObject(2165,1482.40002441,-1778.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (6)
- CreateObject(2165,1482.50000000,-1781.50000000,3287.80004883,0.00000000,0.00000000,90.00000000); //object(med_office_desk_1) (7)
- CreateObject(1671,1483.19995117,-1775.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (13)
- CreateObject(1671,1480.19995117,-1775.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (14)
- CreateObject(1671,1483.30004883,-1778.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (15)
- CreateObject(1671,1483.50000000,-1781.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (16)
- CreateObject(1671,1480.40002441,-1781.09997559,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (17)
- CreateObject(1671,1480.19995117,-1778.00000000,3288.19995117,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (18)
- CreateObject(2186,1474.79980469,-1786.19921875,3287.80004883,0.00000000,0.00000000,0.00000000); //object(photocopier_1) (2)
- CreateObject(2007,1471.19995117,-1773.69995117,3287.80004883,0.00000000,0.00000000,90.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1471.19995117,-1774.69995117,3287.80004883,0.00000000,0.00000000,90.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1471.19995117,-1775.69995117,3287.80004883,0.00000000,0.00000000,90.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2166,1471.90002441,-1779.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_2) (2)
- CreateObject(2165,1472.90002441,-1781.09997559,3287.80004883,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (8)
- CreateObject(1714,1471.69995117,-1781.69995117,3287.80004883,0.00000000,0.00000000,89.99450684); //object(kb_swivelchair1) (3)
- CreateObject(1800,1492.69995117,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (1)
- CreateObject(1800,1495.90002441,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (2)
- CreateObject(1800,1499.19995117,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (3)
- CreateObject(1800,1502.40002441,-1760.80004883,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (4)
- CreateObject(1800,1491.00000000,-1770.59997559,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (5)
- CreateObject(1800,1494.19995117,-1770.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (6)
- CreateObject(1800,1497.40002441,-1770.50000000,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (7)
- CreateObject(1800,1500.59997559,-1770.59997559,3284.30004883,0.00000000,0.00000000,0.00000000); //object(low_bed_1) (8)
- CreateObject(2738,1500.59997559,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (1)
- CreateObject(2738,1497.30004883,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (2)
- CreateObject(2738,1494.09997559,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (3)
- CreateObject(2738,1490.90002441,-1766.09997559,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (4)
- CreateObject(2738,1491.00000000,-1759.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (5)
- CreateObject(2738,1494.09997559,-1760.00000000,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (6)
- CreateObject(2738,1497.30004883,-1760.00000000,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (7)
- CreateObject(2738,1500.59997559,-1759.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(cj_toilet_bs) (8)
- CreateObject(2524,1500.69995117,-1758.59997559,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (1)
- CreateObject(2524,1497.40002441,-1758.69995117,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (2)
- CreateObject(2524,1494.19995117,-1758.80004883,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (3)
- CreateObject(2524,1491.00000000,-1758.90002441,3284.30004883,0.00000000,0.00000000,90.00000000); //object(cj_b_sink4) (4)
- CreateObject(2524,1493.00000000,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (5)
- CreateObject(2524,1496.19995117,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (6)
- CreateObject(2524,1499.40002441,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (7)
- CreateObject(2524,1502.69995117,-1767.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(cj_b_sink4) (8)
- CreateObject(2007,1493.00000000,-1760.59997559,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1496.19995117,-1760.50000000,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1499.50000000,-1760.40002441,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1502.69995117,-1760.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1502.69995117,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1499.40002441,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1496.19995117,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(2007,1493.00000000,-1766.30004883,3284.30004883,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu01) (3)
- CreateObject(19450,1467.59997559,-1768.00097656,3286.00000000,0.00000000,0.00000000,270.00000000); //object(cs_detrok10) (1)
- CreateObject(1811,1472.30004883,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
- CreateObject(1811,1471.50000000,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
- CreateObject(1811,1470.69995117,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
- CreateObject(1811,1469.90002441,-1758.90002441,3284.89990234,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
- CreateObject(18608,1473.50000000,-1763.19995117,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (1)
- CreateObject(18608,1452.09997559,-1763.80004883,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (2)
- CreateObject(18608,1474.80004883,-1756.40002441,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (3)
- CreateObject(18608,1470.90002441,-1750.90002441,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (4)
- CreateObject(18608,1474.69995117,-1777.80004883,3292.19995117,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (5)
- CreateObject(18608,1464.09997559,-1786.69995117,3292.19995117,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (6)
- CreateObject(18608,1483.89941406,-1788.89941406,3292.19995117,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (7)
- CreateObject(18608,1492.80004883,-1763.19995117,3288.50000000,0.00000000,0.00000000,270.00000000); //object(counts_lights01) (8)
- CreateObject(1886,1465.09997559,-1757.59997559,3287.69995117,8.49990845,0.25277710,139.71264648); //object(shop_sec_cam) (1)
- CreateObject(1886,1483.40002441,-1757.80004883,3287.50000000,8.49792480,0.25268555,219.70764160); //object(shop_sec_cam) (2)
- CreateObject(1886,1502.69995117,-1764.40002441,3287.80004883,12.49789429,0.25598145,243.68652344); //object(shop_sec_cam) (3)
- CreateObject(1886,1465.19921875,-1767.50000000,3287.80004883,8.49792480,0.25268555,123.70056152); //object(shop_sec_cam) (4)
- CreateObject(19431,1469.40002441,-1793.19995117,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (11)
- CreateObject(19431,1474.09960938,-1792.79980469,3289.50000000,0.00000000,0.00000000,179.99450684); //object(cs_landbit_48_a) (11)
- CreateObject(19404,1471.69995117,-1793.50000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (1)
- CreateObject(19431,1474.09997559,-1793.50000000,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (11)
- CreateObject(19431,1469.30004883,-1793.50000000,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (11)
- CreateObject(19404,1476.50000000,-1793.50000000,3289.50000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (2)
- CreateObject(19431,1478.90002441,-1793.50000000,3289.50000000,0.00000000,0.00000000,90.00000000); //object(cs_landbit_48_a) (11)
- CreateObject(4108,1480.50000000,-1805.90002441,3287.89990234,0.00000000,0.00000000,270.00000000); //object(roads01b_lan) (1)
- CreateObject(717,1477.09997559,-1805.90002441,3284.10009766,0.00000000,0.00000000,92.00000000); //object(sm_bevhiltreepv) (1)
- CreateObject(717,1486.59997559,-1805.80004883,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (2)
- CreateObject(717,1496.59997559,-1805.69995117,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (3)
- CreateObject(717,1508.80004883,-1805.59997559,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (4)
- CreateObject(717,1520.59997559,-1805.50000000,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (5)
- CreateObject(717,1467.80004883,-1805.90002441,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (6)
- CreateObject(717,1457.09997559,-1805.59997559,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (7)
- CreateObject(717,1445.30004883,-1805.19995117,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (8)
- CreateObject(717,1434.90002441,-1805.30004883,3284.10009766,0.00000000,0.00000000,91.99951172); //object(sm_bevhiltreepv) (9)
- CreateObject(717,1421.90002441,-1805.69995117,3284.10009766,0.00000000,0.00000000,92.00000000); //object(sm_bevhiltreepv) (10)
- CreateObject(6199,1450.69995117,-1831.09997559,3295.89990234,0.00000000,0.00000000,4.75000000); //object(gaz27_law) (1)
- CreateObject(6199,1500.59997559,-1831.30004883,3295.89990234,0.00000000,0.00000000,4.74609375); //object(gaz27_law) (2)
- CreateObject(6364,1551.59997559,-1819.50000000,3308.19995117,0.00000000,0.00000000,68.00000000); //object(sunset07_law2) (1)
- CreateObject(6364,1568.69995117,-1845.80004883,3308.19995117,0.00000000,0.00000000,82.99987793); //object(sunset07_law2) (2)
- CreateObject(6391,1403.59997559,-1822.80004883,3327.60009766,0.00000000,0.00000000,97.00000000); //object(sanclifft05_law2) (1)
- CreateObject(3858,1474.50000000,-1793.50000000,3290.69995117,0.00000000,0.00000000,225.00000000); //object(ottosmash1) (1)
- CreateObject(3858,1474.50000000,-1793.50000000,3290.69995117,0.00000000,0.00000000,44.50000000); //object(ottosmash1) (2)
- CreateObject(2559,1468.90002441,-1749.30004883,3285.50000000,0.00000000,0.00000000,0.00000000); //object(curtain_1_open) (1)
- CreateObject(2559,1477.00000000,-1793.00000000,3289.00000000,0.00000000,0.00000000,179.99450684); //object(curtain_1_open) (2)
- CreateObject(4150,1484.90002441,-1741.19995117,3284.19995117,0.00000000,0.00000000,270.00000000); //object(roads14_lan) (1)
- CreateObject(19358,1482.19995117,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(19404,1479.00000000,-1748.80004883,3286.00000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (3)
- CreateObject(19358,1475.80004883,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(19358,1472.59997559,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(19404,1469.40002441,-1748.80004883,3286.00000000,0.00000000,0.00000000,270.00000000); //object(boigagr_sfw) (4)
- CreateObject(19358,1466.19995117,-1748.80004883,3286.00000000,0.00000000,0.00000000,90.00000000); //object(road_sfw12) (3)
- CreateObject(3858,1474.19995117,-1748.80004883,3285.30004883,0.00000000,0.00000000,44.99462891); //object(ottosmash1) (3)
- CreateObject(3858,1474.19995117,-1748.80004883,3285.30004883,0.00000000,0.00000000,224.99450684); //object(ottosmash1) (4)
- CreateObject(2559,1472.19921875,-1793.00000000,3289.00000000,0.00000000,0.00000000,179.99450684); //object(curtain_1_open) (3)
- CreateObject(2559,1478.50000000,-1749.30004883,3285.50000000,0.00000000,0.00000000,0.00000000); //object(curtain_1_open) (4)
- CreateObject(4186,1454.90002441,-1689.09997559,3291.30004883,0.00000000,0.00000000,270.00000000); //object(pershingsq2_lan) (1)
- CreateObject(3985,1516.50000000,-1689.09997559,3283.80004883,0.00000000,0.00000000,270.00000000); //object(pershingsq1_lan) (1)
- CreateObject(713,1441.19995117,-1707.30004883,3281.10009766,0.00000000,0.00000000,0.00000000); //object(veg_bevtree1) (1)
- CreateObject(713,1527.69995117,-1710.80004883,3281.80004883,0.00000000,0.00000000,0.00000000); //object(veg_bevtree1) (2)
- CreateObject(713,1482.80004883,-1693.69995117,3285.30004883,0.00000000,0.00000000,0.00000000); //object(veg_bevtree1) (3)
- CreateObject(4016,1585.30004883,-1717.90002441,3292.10009766,0.00000000,0.00000000,270.00000000); //object(fighotbase_lan) (1)
- CreateObject(4006,1490.50000000,-1642.59997559,3304.50000000,0.00000000,0.00000000,270.00000000); //object(eastcolumb1_lan) (1)
- CreateObject(4008,1558.19995117,-1651.80004883,3292.00000000,0.00000000,0.00000000,272.00000000); //object(decoblok1_lan) (1)
- CreateObject(4005,1433.40002441,-1656.80004883,3297.80004883,0.00000000,0.00000000,270.00000000); //object(decoblok2_lan) (1)
- CreateObject(3980,1370.80004883,-1719.80004883,3294.00000000,0.00000000,0.00000000,270.00000000); //object(lacityhall1_lan) (1)
- CreateObject(4163,1415.80004883,-1678.50000000,3284.30004883,0.00000000,0.00000000,270.00000000); //object(roads24_lan) (1)
- CreateObject(4002,1360.50000000,-1717.69995117,3326.60009766,0.00000000,0.00000000,270.00000000); //object(lacityhall2_lan) (1)
- CreateObject(713,1422.19995117,-1669.09997559,3255.60009766,28.00000000,0.00000000,114.00000000); //object(veg_bevtree1) (4)
- //Doors
- door0 = CreateObject(1495,1487.00000000,-1762.42504883,3284.23608398,0.00000000,0.00000000,270.00000000); //object(gen_doorext01) (1)
- door1 = CreateObject(1495,1483.79003906,-1762.42504883,3284.23608398,0.00000000,0.00000000,270.00000000); //object(gen_doorext01) (2)
- door2 = CreateObject(1495,1479.85998535,-1758.31994629,3284.23388672,0.00000000,0.00000000,0.00000000); //object(gen_doorext01) (2)
- door3 = CreateObject(1495,1467.06701660,-1758.31994629,3284.23388672,0.00000000,0.00000000,0.00000000); //object(gen_doorext01) (2)
- //Celldoors
- cell0 = CreateObject(1567,1491.21484375,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (2)
- cell1 = CreateObject(1567,1494.41210938,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (3)
- cell2 = CreateObject(1567,1497.61132812,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (4)
- cell3 = CreateObject(1567,1500.81445312,-1764.90002441,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (6)
- cell4 = CreateObject(1567,1500.81994629,-1761.51000977,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (7)
- cell5 = CreateObject(1567,1491.22094727,-1761.50000000,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (8)
- cell6 = CreateObject(1567,1494.41894531,-1761.51000977,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (9)
- cell7 = CreateObject(1567,1497.61999512,-1761.51000977,3284.25048828,0.00000000,0.00000000,0.00000000); //object(gen_wardrobe) (10)
- return 1;
- }
- public OnGameModeExit()
- {
- //vehicle system
- SaveDealershipVehicles();
- db_close(DealerVehicleDatabase);
- foreach(Player, i)
- {
- VehicleDisconnect(i);
- }
- //destorying text draws
- TextDrawDestroy(startgame);
- TextDrawDestroy(options);
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- sworld = sworld+1;
- SetPlayerVirtualWorld(playerid,sworld);
- SetSpawnInfo(playerid, 0, 0, 1974.1549,-1157.0748,3285.2859, 90, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- VehicleConnect(playerid);
- new randMusic = random(sizeof(RandomMusic)); //calculates the size of RandomMSG (which is 3)
- SendClientMessage(playerid,COLOR_GREEN,"Random Song Loading Pleasse Wait /stopmusic to stop the song.");
- StuntAccountInfo[playerid][pHasSpawned] = 0;
- StuntAccountInfo[playerid][pPskin] = 0;
- PlayAudioStreamForPlayer(playerid, RandomMusic[randMusic]);//This function will play our desired radio. So we have to put the url between its brackets.
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- VehicleDisconnect(playerid);
- StuntAccountInfo[playerid][pCash] = GetPlayerMoney(playerid);
- new name[MAX_PLAYER_NAME], sfile[256], rfile[256], dfile[256];
- GetPlayerName(playerid, name, sizeof(name));
- StuntAccountInfo[playerid][pHasSpawned] = 0;
- StuntAccountInfo[playerid][pPskin] = 0;
- format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
- format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
- if(gPlayerLogged[playerid] == 1 && WorldInfo[playerid][pWorld] == 2)
- {
- dini_IntSet(dfile, "AdminLevel", WorldInfo[playerid][AdminLevel]);
- dini_IntSet(dfile, "Donator", WorldInfo[playerid][pDonator]);
- dini_IntSet(sfile, "Score", StuntAccountInfo[playerid][pScore]);
- dini_IntSet(sfile, "Money", StuntAccountInfo[playerid][pCash]);
- dini_IntSet(sfile,"Color",GetPlayerColor(playerid));
- dini_IntSet(sfile,"Job",StuntAccountInfo[playerid][pJob]);
- dini_IntSet(sfile,"Vw",GetPlayerVirtualWorld(playerid));
- dini_IntSet(sfile,"Int",GetPlayerInterior(playerid));
- dini_IntSet(sfile,"Warns",StuntAccountInfo[playerid][pWarns]);
- dini_IntSet(sfile,"Skin",GetPlayerSkin(playerid));
- dini_IntSet(sfile,"Faction",StuntAccountInfo[playerid][pFaction]);
- dini_IntSet(sfile,"FactionRank",StuntAccountInfo[playerid][pFactionRank]);
- dini_IntSet(sfile,"Cheques",StuntAccountInfo[playerid][pCheck]);
- }
- format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
- if(gPlayerLogged[playerid] == 1 && WorldInfo[playerid][pWorld] == 1)
- {
- dini_IntSet(dfile, "AdminLevel", WorldInfo[playerid][AdminLevel]);
- dini_IntSet(dfile, "Donator", WorldInfo[playerid][pDonator]);
- dini_IntSet(rfile,"Score", RPAccountInfo[playerid][rScore]);
- dini_IntSet(rfile,"Money", RPAccountInfo[playerid][rCash]);
- dini_IntSet(rfile,"Color",GetPlayerColor(playerid));
- dini_IntSet(rfile,"Job",RPAccountInfo[playerid][rJob]);
- dini_IntSet(rfile,"Vw",GetPlayerVirtualWorld(playerid));
- dini_IntSet(rfile,"Int",GetPlayerInterior(playerid));
- dini_IntSet(rfile,"Warns",RPAccountInfo[playerid][rWarns]);
- dini_IntSet(rfile,"Skin",GetPlayerSkin(playerid));
- dini_IntSet(rfile,"Faction",RPAccountInfo[playerid][rFaction]);
- dini_IntSet(rfile,"FactionRank",RPAccountInfo[playerid][rFactionRank]);
- dini_IntSet(rfile,"Cheques",RPAccountInfo[playerid][rCheck]);
- }
- gPlayerLogged[playerid] = 0;
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- if(StuntAccountInfo[playerid][pHasSpawned] == 0 && StuntAccountInfo[playerid][pCSW] == 0 && RPAccountInfo[playerid][rHasSpawned] == 0)
- {
- SetPlayerCameraPos(playerid, 1474.2645,-1764.3451,3285.2859);
- SetPlayerCameraLookAt(playerid, 1474.1599,-1757.0748,3285.2859);
- SetPlayerInterior(playerid, 5);
- TextDrawShowForPlayer(playerid, startgame); // Show the SF option
- TextDrawShowForPlayer(playerid, options); // Show the LV option
- TogglePlayerControllable(playerid, 0);
- }
- if(RPAccountInfo[playerid][rHasSpawned] == 1 && RPAccountInfo[playerid][rCSW] == 0)
- {
- if(RPAccountInfo[playerid][rSSkin] == 0)
- {
- TextDrawShowForPlayer(playerid, nextskin); // Show the SF option
- TextDrawShowForPlayer(playerid, backskin); // Show the LV option
- TextDrawShowForPlayer(playerid, doneskin); // Show the LV option
- SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
- SetPlayerCameraPos(playerid, 1474.2645,-1764.3451,3285.2859);
- SetPlayerCameraLookAt(playerid, 1474.1599,-1757.0748,3285.2859);
- SetPlayerPos(playerid, 1474.1599,-1757.0748,3285.2859);
- SetPlayerVirtualWorld(playerid, sworld);
- SetPlayerFacingAngle(playerid,180);
- }
- if(WorldInfo[playerid][pWorld] == 1 && RPAccountInfo[playerid][rSSkin] >= 1)
- {
- new string2[256];
- SetPlayerPos(playerid,-1861.8086,70.8870,1055.1296);
- SetPlayerVirtualWorld(playerid,0);
- SetPlayerInterior(playerid,14);
- TogglePlayerControllable(playerid, 0);
- SetPlayerSkin(playerid, RPAccountInfo[playerid][rSSkin]);
- SetPlayerMoney(playerid, RPAccountInfo[playerid][rCash]);
- SetPlayerHealth(playerid, 100);
- freezet[playerid] = SetTimer("move",5000,false);
- format(string2, sizeof(string2), "Hi %s we are now loading the objects", GetName(playerid));
- GameTextForPlayer(playerid, string2, 3000, 1);
- TogglePlayerControllable(playerid, 0);
- }
- }
- if(StuntAccountInfo[playerid][pHasSpawned] == 1 && StuntAccountInfo[playerid][pCSW] == 0)
- {
- if(StuntAccountInfo[playerid][pPskin] == 0)
- {
- TextDrawShowForPlayer(playerid, nextskin); // Show the SF option
- TextDrawShowForPlayer(playerid, backskin); // Show the LV option
- TextDrawShowForPlayer(playerid, doneskin); // Show the LV option
- SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
- SetPlayerCameraPos(playerid, 1474.2645,-1764.3451,3285.2859);
- SetPlayerCameraLookAt(playerid, 1474.1599,-1757.0748,3285.2859);
- SetPlayerPos(playerid, 1474.1599,-1757.0748,3285.2859);
- SetPlayerVirtualWorld(playerid, sworld);
- SetPlayerFacingAngle(playerid,180);
- }
- if(WorldInfo[playerid][pWorld] == 2 && StuntAccountInfo[playerid][pPskin] >= 1)
- {
- SetPlayerPos(playerid, -1340.3514,-264.3646,14.1484);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1);
- TogglePlayerControllable(playerid, 1);
- SetPlayerSkin(playerid, StuntAccountInfo[playerid][pSkin]);
- SetPlayerMoney(playerid, StuntAccountInfo[playerid][pCash]);
- GivePlayerWeapon(playerid, 24, 12000);
- GivePlayerWeapon(playerid, 31, 12000);
- GivePlayerWeapon(playerid, 32, 12000);
- GivePlayerWeapon(playerid, 0, 0);
- WorldInfo[playerid][pAllowedUzi] = 1;
- WorldInfo[playerid][pAllowedMachinegun] = 1;
- WorldInfo[playerid][pAllowedPistol] = 1;
- SetPlayerHealth(playerid, 1000000);
- TogglePlayerControllable(playerid, 1);
- }
- }
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- if(WorldInfo[playerid][pWorld] == 1)
- {
- new
- message[128];
- format(message, sizeof(message), "[RP]%s says: %s", GetName(playerid), text);
- ProxDetector(30.0, playerid, message, -1);
- return 0;
- }
- if(WorldInfo[playerid][asa] == 1)
- {
- new
- message[128];
- format(message, sizeof(message), "Admin %s: says: %s", GetName(playerid), text);
- SendClientMessageToAll(COLOR_ORANGE, message);
- return 0;
- }
- if(WorldInfo[playerid][pWorld] == 2)
- {
- new
- message[128];
- format(message, sizeof(message), "[Stunt]%s: %s", GetName(playerid), text);
- SendMessageToStunt(COLOR_PINK, message);
- return 0;
- }
- return 0;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/mycommand", cmdtext, true, 10) == 0)
- {
- // Do something here
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- new string[256];
- if (newstate == PLAYER_STATE_DRIVER && DealershipVehicles[GetPlayerVehicleID(playerid)][vForSale])
- {
- if (GetVehicleModel(GetPlayerVehicleID(playerid)) == DealershipVehicles[GetPlayerVehicleID(playerid)][vModel])
- {
- format(string, sizeof(string), "{D5DEB3}This vehicle is FOR SALE!\n\nVehicle: {FFFFFF}%s{F5DEB3}\nCost: {FFFFFF}$%d{F5DEB3}\n\nWould you like to purchase this vehicle?", GetVehicleName(GetPlayerVehicleID(playerid)), DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice]);
- ShowPlayerDialog(playerid, 9, DIALOG_STYLE_MSGBOX, "Vehicle Dealership", string, "Yes", "No");
- TogglePlayerControllable(playerid, 0);
- }
- }
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpDynamicPickup(playerid, pickupid)
- {
- if(GetHouseID(playerid) != -255) GetHouseStats(playerid, GetHouseID(playerid));
- new string2[128];
- if(pickupid == apenter)
- {
- SetPlayerPos(playerid,-1891.4326,58.5032,1055.1296);
- SetPlayerVirtualWorld(playerid,0);
- SetPlayerInterior(playerid,14);
- TogglePlayerControllable(playerid, 0);
- freezet[playerid] = SetTimer("move",5000,false);
- format(string2, sizeof(string2), "Hi %s we are now loading the objects", GetName(playerid));
- GameTextForPlayer(playerid, string2, 3000, 1);
- SendClientMessage(playerid, COLOR_CYAN,"Please Wait 5 second's befor you can move");
- }
- if(pickupid == apexit)
- {
- SetPlayerPos(playerid,1685.7963,-2329.8406,13.5469);
- SetPlayerVirtualWorld(playerid,0);
- SetPlayerInterior(playerid,0);
- }
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- foreach(Player, i)
- {
- for (new j = 1; j < MAX_PLAYER_CARS + 1; j += 1)
- {
- if (PlayerVehicles[i][j][pCarSpawned] && PlayerVehicles[i][j][pCarID] == vehicleid)
- {
- switch (ReturnComponentSlot(componentid))
- {
- case 1: PlayerVehicles[i][j][pCarMod1] = componentid;
- case 2: PlayerVehicles[i][j][pCarMod2] = componentid;
- case 3: PlayerVehicles[i][j][pCarMod3] = componentid;
- case 4: PlayerVehicles[i][j][pCarMod4] = componentid;
- case 5: PlayerVehicles[i][j][pCarMod5] = componentid;
- case 6: PlayerVehicles[i][j][pCarMod6] = componentid;
- case 7: PlayerVehicles[i][j][pCarMod7] = componentid;
- case 8: PlayerVehicles[i][j][pCarMod8] = componentid;
- case 9: PlayerVehicles[i][j][pCarMod9] = componentid;
- case 10: PlayerVehicles[i][j][pCarMod10] = componentid;
- case 11: PlayerVehicles[i][j][pCarMod11] = componentid;
- case 12: PlayerVehicles[i][j][pCarMod12] = componentid;
- case 13: PlayerVehicles[i][j][pCarMod13] = componentid;
- case 14: PlayerVehicles[i][j][pCarMod14] = componentid;
- case 15: PlayerVehicles[i][j][pCarMod15] = componentid;
- case 16: PlayerVehicles[i][j][pCarMod16] = componentid;
- case 17: PlayerVehicles[i][j][pCarMod17] = componentid;
- }
- break;
- }
- }
- }
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- foreach(Player, i)
- {
- for (new j = 1; j < MAX_PLAYER_CARS + 1; j += 1)
- {
- if (PlayerVehicles[i][j][pCarSpawned] && PlayerVehicles[i][j][pCarID] == vehicleid)
- {
- PlayerVehicles[i][j][pCarPaintjob] = paintjobid;
- break;
- }
- }
- }
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- foreach(Player, i)
- {
- for (new j = 1; j < MAX_PLAYER_CARS + 1; j += 1)
- {
- if (PlayerVehicles[i][j][pCarSpawned] && PlayerVehicles[i][j][pCarID] == vehicleid)
- {
- PlayerVehicles[i][j][pCarColor1] = color1;
- PlayerVehicles[i][j][pCarColor2] = color2;
- break;
- }
- }
- }
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid,pname,sizeof(pname));
- //jetpack hack
- if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK && RPAccountInfo[playerid][rAdminLevel] == 0 && WorldInfo[playerid][AdminLevel] == 0)
- {
- new string2[256];
- GetPlayerName(playerid, pname, sizeof(pname));
- SendClientMessage(playerid,COLOR_RED,"You have been banned for having a jetpack.");
- format(string2, 128, "AdmWarn: %s was banned for having a jetpack.", pname);
- SendClientMessageToAll(COLOR_RED,string2);
- BanEx(playerid,"Jetpack Hack");
- return 0;
- }
- //money hack detect
- if(GetPlayerMoney(playerid) > StuntAccountInfo[playerid][pCash] && WorldInfo[playerid][pWorld] == 2)
- {
- new string2[256];
- SetPlayerMoney(playerid, StuntAccountInfo[playerid][pCash]);
- format(string2, 256, "Server:%s Is attempting to money hack, I have reset his Money. It is now upto you.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be trying to money hack, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerMoney(playerid) > RPAccountInfo[playerid][rCash] && WorldInfo[playerid][pWorld] == 1)
- {
- new string2[256];
- SetPlayerMoney(playerid, RPAccountInfo[playerid][rCash]);
- format(string2, 256, "Server:%s Is attempting to money hack, I have reset his Money. It is now upto you.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be trying to money hack, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- //weapon hack
- if(GetPlayerWeapon(playerid) == 16 && WorldInfo[playerid][pAllowedBomb] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked Grenade's, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 17 && WorldInfo[playerid][pAllowedBomb] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked Tear Gas, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 18 && WorldInfo[playerid][pAllowedBomb] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Molotov Cocktail's, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 22 && WorldInfo[playerid][pAllowedPistol] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a 9mm, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 23 && WorldInfo[playerid][pAllowedPistol] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Silenced Pistol, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 24 && WorldInfo[playerid][pAllowedPistol] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Desert Eagle, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 25 && WorldInfo[playerid][pAllowedShotgun] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Shotgun, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 26 && WorldInfo[playerid][pAllowedShotgun] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Sawnoff Shotgun, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 27 && WorldInfo[playerid][pAllowedShotgun] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Combat Shotgun, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 28 && WorldInfo[playerid][pAllowedUzi] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Micro SMG/Uzi, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 29 && WorldInfo[playerid][pAllowedUzi] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a MP5, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 30 && WorldInfo[playerid][pAllowedMachinegun] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Ak47, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 31 && WorldInfo[playerid][pAllowedMachinegun] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a M4, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 32 && WorldInfo[playerid][pAllowedUzi] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Tec-9, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 33 && WorldInfo[playerid][pAllowedSniper] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Country Rifle, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 34 && WorldInfo[playerid][pAllowedSniper] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Sniper Rifle, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 35 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a RPG, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 36 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a HS Rocket, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 37 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a FlameThrower, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 38 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a minigun, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 39 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Satchel Charge, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 40 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked a Detonator, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 44 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked Night Vision Thermal Goggles, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetPlayerWeapon(playerid) == 45 && WorldInfo[playerid][AdminLevel] == 0 && RPAccountInfo[playerid][rAdminLevel] == 0)
- {
- new string2[256];
- ResetPlayerWeapons(playerid);
- format(string2, 256, "Server:%s appears to have hacked Thermal Goggles, I have reset his weapons. It is now up to you what to do with him.", pname);
- SendMessageToStuntAdmins(COLOR_ORANGE, string2);
- SendMessageToRPAdmins(COLOR_ORANGE, string2);
- SendClientMessage(playerid,0x42F3F198, "Server:You appear to be weapon hacking, I have sent a message to the admins, It is now upto them what happens to you."); //Ban if they have a minigun
- }
- if(GetTickCount() - armedbody_pTick[playerid] > 113){ //prefix check itter
- new
- weaponid[13],weaponammo[13],pArmedWeapon;
- pArmedWeapon = GetPlayerWeapon(playerid);
- GetPlayerWeaponData(playerid,1,weaponid[1],weaponammo[1]);
- GetPlayerWeaponData(playerid,2,weaponid[2],weaponammo[2]);
- GetPlayerWeaponData(playerid,4,weaponid[4],weaponammo[4]);
- GetPlayerWeaponData(playerid,5,weaponid[5],weaponammo[5]);
- #if ARMEDBODY_USE_HEAVY_WEAPON
- GetPlayerWeaponData(playerid,7,weaponid[7],weaponammo[7]);
- #endif
- if(weaponid[1] && weaponammo[1] > 0){
- if(pArmedWeapon != weaponid[1]){
- if(!IsPlayerAttachedObjectSlotUsed(playerid,0)){
- SetPlayerAttachedObject(playerid,0,GetWeaponModel(weaponid[1]),1, 0.199999, -0.139999, 0.030000, 0.500007, -115.000000, 0.000000, 1.000000, 1.000000, 1.000000);
- }
- }
- else {
- if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
- RemovePlayerAttachedObject(playerid,0);
- }
- }
- }
- else if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
- RemovePlayerAttachedObject(playerid,0);
- }
- if(weaponid[2] && weaponammo[2] > 0){
- if(pArmedWeapon != weaponid[2]){
- if(!IsPlayerAttachedObjectSlotUsed(playerid,1)){
- SetPlayerAttachedObject(playerid,1,GetWeaponModel(weaponid[2]),8, -0.079999, -0.039999, 0.109999, -90.100006, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000);
- }
- }
- else {
- if(IsPlayerAttachedObjectSlotUsed(playerid,1)){
- RemovePlayerAttachedObject(playerid,1);
- }
- }
- }
- else if(IsPlayerAttachedObjectSlotUsed(playerid,1)){
- RemovePlayerAttachedObject(playerid,1);
- }
- if(weaponid[4] && weaponammo[4] > 0){
- if(pArmedWeapon != weaponid[4]){
- if(!IsPlayerAttachedObjectSlotUsed(playerid,2)){
- SetPlayerAttachedObject(playerid,2,GetWeaponModel(weaponid[4]),7, 0.000000, -0.100000, -0.080000, -95.000000, -10.000000, 0.000000, 1.000000, 1.000000, 1.000000);
- }
- }
- else {
- if(IsPlayerAttachedObjectSlotUsed(playerid,2)){
- RemovePlayerAttachedObject(playerid,2);
- }
- }
- }
- else if(IsPlayerAttachedObjectSlotUsed(playerid,2)){
- RemovePlayerAttachedObject(playerid,2);
- }
- if(weaponid[5] && weaponammo[5] > 0){
- if(pArmedWeapon != weaponid[5]){
- if(!IsPlayerAttachedObjectSlotUsed(playerid,3)){
- SetPlayerAttachedObject(playerid,3,GetWeaponModel(weaponid[5]),1, 0.200000, -0.119999, -0.059999, 0.000000, 206.000000, 0.000000, 1.000000, 1.000000, 1.000000);
- }
- }
- else {
- if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
- RemovePlayerAttachedObject(playerid,3);
- }
- }
- }
- else if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
- RemovePlayerAttachedObject(playerid,3);
- }
- #if ARMEDBODY_USE_HEAVY_WEAPON
- if(weaponid[7] && weaponammo[7] > 0){
- if(pArmedWeapon != weaponid[7]){
- if(!IsPlayerAttachedObjectSlotUsed(playerid,4)){
- SetPlayerAttachedObject(playerid,4,GetWeaponModel(weaponid[7]),1,-0.100000, 0.000000, -0.100000, 84.399932, 112.000000, 10.000000, 1.099999, 1.000000, 1.000000);
- }
- }
- else {
- if(IsPlayerAttachedObjectSlotUsed(playerid,4)){
- RemovePlayerAttachedObject(playerid,4);
- }
- }
- }
- else if(IsPlayerAttachedObjectSlotUsed(playerid,4)){
- RemovePlayerAttachedObject(playerid,4);
- }
- #endif
- armedbody_pTick[playerid] = GetTickCount();
- }
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- if (VehicleLocked[vehicleid]) SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 1);
- else SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 0);
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- new vehid = GetPlayerVehicleID(playerid);
- new vehmd = GetVehicleModel(GetPlayerVehicleID(playerid));
- if (dialogid == 1)
- {
- new name[MAX_PLAYER_NAME], sfile[256], dfile[256], string[131];
- GetPlayerName(playerid, name, sizeof(name));
- format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
- format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
- if(!response) return Kick(playerid);
- if (!strlen(inputtext)) return
- ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "{CC0000}Regestring.....", "ServerName:: <YOURS>\t\t\t\tIP::~~~~~\nIt seems like you are not registered, type your password to continue.", "Register", "Cancel");
- dini_Create(sfile);
- dini_IntSet(sfile, "Password", udb_hash(inputtext));
- dini_IntSet(sfile, "Money",StuntAccountInfo[playerid][pCash] = 50000);
- dini_IntSet(sfile, "Score",StuntAccountInfo[playerid][pScore] = 0);
- dini_IntSet(sfile, "Job",StuntAccountInfo[playerid][pJob] = 0);
- dini_IntSet(sfile, "Color",StuntAccountInfo[playerid][pColor] = 0);
- dini_IntSet(sfile, "Vw",StuntAccountInfo[playerid][pVw] = 0);
- dini_IntSet(sfile, "Int",StuntAccountInfo[playerid][pInt] = 0);
- dini_IntSet(sfile, "Warns",StuntAccountInfo[playerid][pWarns] = 0);
- dini_IntSet(sfile, "Skin",StuntAccountInfo[playerid][pSkin] = 0);
- dini_IntSet(sfile, "Faction",StuntAccountInfo[playerid][pFaction] = 0);
- dini_IntSet(sfile, "FactionRank",StuntAccountInfo[playerid][pFactionRank] = 0);
- dini_IntSet(sfile, "Cheques",StuntAccountInfo[playerid][pCheck] = 0);
- dini_Create(dfile);
- dini_IntSet(dfile, "AdminLevel",WorldInfo[playerid][AdminLevel] = 0);
- dini_IntSet(dfile, "Donator",WorldInfo[playerid][pDonator] = 0);
- format(string, 131, "You succesfully registered the name %s with password %s, you have been auto logged in.", name, inputtext);
- SendClientMessage(playerid, COLOR_WHITE, string);
- new string1[256];
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- new string2[256];
- format(string1, 256, "%s Has Just Created a stunt world Account [Registered].", pname);
- format(string2, 256, " %s password is %s.", name, inputtext);
- SendMessageToStunt(0x42F3F198, string1);
- SendMessageToStuntOwner(0x42F3F198, string2);
- SendMessageToRPOwner(0x42F3F198, string2);
- gPlayerLogged[playerid] = 1;
- SendClientMessage(playerid,COLOR_RED,"We are sorry, You are not able to go back skin at this time.");
- SendClientMessage(playerid,COLOR_RED,"When we attempt to allow you to go back a skin the skin system glitches.");
- StuntAccountInfo[playerid][pHasSpawned] = 1;
- WorldInfo[playerid][pWorld] = 2;
- //skin select
- StuntAccountInfo[playerid][pPskin] = 0;
- SetPlayerPos(playerid, 1474.1599,-1757.0748,3285.2859);
- SetSpawnInfo(playerid, 0, 0, 1474.1599,-1757.0748,3285.2859, 90, 0, 0, 0, 0, 0, 0);
- CancelSelectTextDraw(playerid);
- TogglePlayerControllable(playerid, 1);
- SpawnPlayer(playerid);
- }
- if (dialogid == 2)
- {
- new name[MAX_PLAYER_NAME], sfile[256], dfile[256];
- GetPlayerName(playerid, name, sizeof(name));
- format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
- format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
- if(!response) return Kick(playerid);
- if (!strlen(inputtext)) return ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{CC0000}Logging......", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered thanks for joining us , type your password to continue.", "Login", "Cancel");
- new tmp;
- tmp = dini_Int(sfile, "Password");
- if(udb_hash(inputtext) != tmp) {
- SendClientMessage(playerid, COLOR_RED, "Wrong Password, try again.");
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{CC0000}Logging......", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\n{CC0000}WRONG PASSWORD\n{CC0000}Type in your password correctly to continue.", "Login", "Cancel");
- }
- else
- {
- gPlayerLogged[playerid] = 1;
- WorldInfo[playerid][AdminLevel] = dini_Int(dfile, "AdminLevel");
- WorldInfo[playerid][pDonator] = dini_Int(dfile, "Donator");
- StuntAccountInfo[playerid][pSkin] = dini_Int(sfile, "Skin");
- StuntAccountInfo[playerid][pCash] = dini_Int(sfile, "Money");
- StuntAccountInfo[playerid][pFaction] = dini_Int(sfile, "Faction");
- StuntAccountInfo[playerid][pFactionRank] = dini_Int(sfile, "FactionRank");
- StuntAccountInfo[playerid][pCheck] = dini_Int(sfile, "Cheques");
- StuntAccountInfo[playerid][pJob] = dini_Int(sfile, "Job");
- StuntAccountInfo[playerid][pPskin] = 1;
- SetPlayerScore(playerid, StuntAccountInfo[playerid][pScore]);
- SendClientMessage(playerid,COLOR_RED, "Successfully logged in now pick you'r world!");
- new string1[256];
- new string2[256];
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(string2, 256, "Stunt World %s password is %s.", pname, inputtext);
- SendMessageToStuntOwner(0x42F3F198, string2);
- SendMessageToRPOwner(0x42F3F198, string2);
- format(string1, 256, "%s Has just joined the Stunt World [logged in].", pname);
- SendMessageToStunt(0x42F3F198, string1);
- StuntAccountInfo[playerid][pHasSpawned] = 1;
- WorldInfo[playerid][pWorld] = 2;
- SetSpawnInfo(playerid, 0, 0, -1340.3514,-264.3646,14.1484, 90, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- sworld = sworld-1;
- }
- }
- //roleplay login system
- if (dialogid == 911)
- {
- SetPlayerName(playerid,(inputtext));
- if(!RPnamecheck(playerid)) {
- ShowPlayerDialog(playerid, 911, DIALOG_STYLE_INPUT, "{CC0000}Please Enter a suitable roleplay name roleplay name", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you do not have a roleplay name please pick one.(No Famous Names Got a good Anti-detect for that).", "Register", "Cancel");
- SendClientMessage(playerid,COLOR_RED,"HINT: Your name must be in Firstname_Lastname format, For example Jason_Brown.");
- }
- else
- {
- new name[MAX_PLAYER_NAME], rfile[256];
- GetPlayerName(playerid, name, sizeof(name));
- format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
- if (!dini_Exists(rfile)) {
- ShowPlayerDialog(playerid, 912, DIALOG_STYLE_INPUT, "{CC0000}Please Register", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you are not registered for the rp world, type your password to continue.", "Register", "Cancel");
- }
- if(fexist(rfile)) {
- ShowPlayerDialog(playerid, 913, DIALOG_STYLE_INPUT, "{CC0000}Please Login", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered, type your password to login and start roleplaying.", "Login", "Cancel");
- }
- }
- }
- if (dialogid == 912)
- {
- new name[MAX_PLAYER_NAME], rpfile[256], dfile[256], string[131];
- GetPlayerName(playerid, name, sizeof(name));
- format(rpfile, sizeof(rpfile), ROLEPLAY_USER_FILE, name);
- format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
- if(!response) return Kick(playerid);
- if (!strlen(inputtext)) return
- ShowPlayerDialog(playerid, 912, DIALOG_STYLE_INPUT, "{CC0000}Regestring.....", "Los Entertainment Multimod:: \t\t\t\tIP::~~~~~\nIt seems like you are not registered for the rp world, type your password to continue.", "Register", "Cancel");
- dini_Create(rpfile);
- dini_IntSet(rpfile, "Password", udb_hash(inputtext));
- dini_IntSet(rpfile, "AdminLevel",RPAccountInfo[playerid][rAdminLevel] = 0);
- dini_IntSet(rpfile, "Money",RPAccountInfo[playerid][rCash] = 50000);
- dini_IntSet(rpfile, "Score",RPAccountInfo[playerid][rScore] = 0);
- dini_IntSet(rpfile, "Job",RPAccountInfo[playerid][rJob] = 0);
- dini_IntSet(rpfile, "Color",RPAccountInfo[playerid][rColor] = 0);
- dini_IntSet(rpfile, "Vw",RPAccountInfo[playerid][rVw] = 0);
- dini_IntSet(rpfile, "Int",RPAccountInfo[playerid][rInt] = 0);
- dini_IntSet(rpfile, "Warns",RPAccountInfo[playerid][rWarns] = 0);
- dini_IntSet(rpfile, "Skin",RPAccountInfo[playerid][rSkin] = 0);
- dini_IntSet(rpfile, "Faction",RPAccountInfo[playerid][rFaction] = 0);
- dini_IntSet(rpfile, "FactionRank",RPAccountInfo[playerid][rFactionRank] = 0);
- dini_IntSet(rpfile, "Cheques",RPAccountInfo[playerid][rCheck] = 0);
- dini_Create(dfile);
- dini_IntSet(dfile, "AdminLevel",WorldInfo[playerid][AdminLevel] = 0);
- dini_IntSet(dfile, "Donator",WorldInfo[playerid][pDonator] = 0);
- format(string, 131, "You succesfully registered the name %s with password %s, you have been auto logged in.", name, inputtext);
- SendClientMessage(playerid, COLOR_WHITE, string);
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- new string2[256];
- format(string2, 256, " Roleplay world %s password is %s.", name, inputtext);
- SendMessageToRPOwner(0x42F3F198, string2);
- SendMessageToStuntOwner(0x42F3F198, string2);
- gPlayerLogged[playerid] = 1;
- SendClientMessage(playerid,COLOR_RED,"We are sorry, You are not able to go back skin at this time.");
- SendClientMessage(playerid,COLOR_RED,"When we attempt to allow you to go back a skin the skin system glitches.");
- RPAccountInfo[playerid][rHasSpawned] = 1;
- RPAccountInfo[playerid][rSSkin] = 0;
- WorldInfo[playerid][pWorld] = 1;
- //skin select
- SetPlayerPos(playerid, 1474.1599,-1757.0748,3285.2859);
- SetSpawnInfo(playerid, 0, 0, 1474.1599,-1757.0748,3285.2859, 90, 0, 0, 0, 0, 0, 0);
- StuntAccountInfo[playerid][pHasSpawned] = 0;
- WorldInfo[playerid][pAllowedPistol] = 0;
- WorldInfo[playerid][pAllowedUzi] = 0;
- WorldInfo[playerid][pAllowedShotgun] = 0;
- WorldInfo[playerid][pAllowedMachinegun] = 0;
- WorldInfo[playerid][pAllowedSniper] = 0;
- TogglePlayerControllable(playerid, 0);
- CancelSelectTextDraw(playerid);
- SpawnPlayer(playerid);
- }
- if (dialogid == 913)
- {
- new name[MAX_PLAYER_NAME], rfile[256], dfile[256];
- GetPlayerName(playerid, name, sizeof(name));
- format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
- format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
- if(!response) return Kick(playerid);
- if (!strlen(inputtext)) return ShowPlayerDialog(playerid, 913, DIALOG_STYLE_INPUT, "{CC0000}Logging......", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered thanks for joining us , type your password to continue.", "Login", "Cancel");
- new tmp;
- tmp = dini_Int(rfile, "Password");
- if(udb_hash(inputtext) != tmp) {
- SendClientMessage(playerid, COLOR_RED, "Wrong Password, try again.");
- ShowPlayerDialog(playerid, 913, DIALOG_STYLE_INPUT, "{CC0000}Logging......", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\n{CC0000}WRONG PASSWORD\n{CC0000}Type in your password correctly to continue.", "Login", "Cancel");
- }
- else
- {
- gPlayerLogged[playerid] = 1;
- WorldInfo[playerid][AdminLevel] = dini_Int(dfile, "AdminLevel");
- WorldInfo[playerid][pDonator] = dini_Int(dfile, "Donator");
- RPAccountInfo[playerid][rAdminLevel] = dini_Int(rfile, "AdminLevel");
- RPAccountInfo[playerid][rSkin] = dini_Int(rfile, "Skin");
- RPAccountInfo[playerid][rCash] = dini_Int(rfile, "Money");
- RPAccountInfo[playerid][rFaction] = dini_Int(rfile, "Faction");
- RPAccountInfo[playerid][rFactionRank] = dini_Int(rfile, "FactionRank");
- RPAccountInfo[playerid][rCheck] = dini_Int(rfile, "Cheques");
- RPAccountInfo[playerid][rJob] = dini_Int(rfile, "Job");
- RPAccountInfo[playerid][rSSkin] = 1;
- SetPlayerScore(playerid, RPAccountInfo[playerid][rScore]);
- new string2[256];
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(string2, 256, "Roleplay World %s password is %s.", pname, inputtext);
- SendMessageToStuntOwner(0x42F3F198, string2);
- SendMessageToRPOwner(0x42F3F198, string2);
- RPAccountInfo[playerid][rHasSpawned] = 1;
- WorldInfo[playerid][pWorld] = 1;
- SetSpawnInfo(playerid, 0, 0, -1340.3514,-264.3646,14.1484, 90, 0, 0, 0, 0, 0, 0);
- StuntAccountInfo[playerid][pHasSpawned] = 0;
- WorldInfo[playerid][pAllowedPistol] = 0;
- WorldInfo[playerid][pAllowedUzi] = 0;
- WorldInfo[playerid][pAllowedShotgun] = 0;
- WorldInfo[playerid][pAllowedMachinegun] = 0;
- WorldInfo[playerid][pAllowedSniper] = 0;
- TogglePlayerControllable(playerid, 0);
- SpawnPlayer(playerid);
- sworld = sworld-1;
- }
- }
- if (dialogid == 915)
- {
- SetPlayerName(playerid,(inputtext));
- new name[MAX_PLAYER_NAME], file[256];
- GetPlayerName(playerid, name, sizeof(name));
- format(file, sizeof(file), STUNT_USER_FILE, name);
- if (!dini_Exists(file))
- {
- ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "{CC0000}Please Register", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you are not registered, type your password to continue.", "Register", "Cancel");
- }
- if(fexist(file))
- {
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_INPUT, "{CC0000}Please Login", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered thanks for joining us , type your password to continue.", "Login", "Cancel");
- }
- }
- switch(dialogid)
- {
- case 350:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- ShowPlayerDialog(playerid, 351, DIALOG_STYLE_LIST, "Air Ports", "San Fierro Aiport 1\nAbandoned Aiport 1\nLos Santos Airport 1\nSan Fierro Airport 2", "Ok", "Cancel");
- }
- case 1:
- {
- ShowPlayerDialog(playerid, 352, DIALOG_STYLE_LIST, "Stunt Parks", "LV Sea Side\nStunt Factory\n", "Ok", "Cancel");
- }
- case 2:
- {
- SendClientMessage(playerid, red,"Error: This function is not made yet");
- }
- case 3:
- {
- ShowPlayerDialog(playerid, 354, DIALOG_STYLE_LIST, "Parkour", "Parkour City\nParkour\n", "Ok", "Cancel");
- }
- case 4:
- {
- SendClientMessage(playerid, red,"Error: This function is not made yet");
- }
- case 5:
- {
- SendClientMessage(playerid, red,"Error: This function is not made yet");
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 351:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- SetPlayerPos(playerid, -1340.3514,-264.3646,14.1484);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1);
- }
- case 1:
- {
- SetPlayerPos(playerid, 505.6489,2357.3975,30.0754);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1);
- }
- case 2:
- {
- SetPlayerPos(playerid, 1967.2657,-2643.3435,13.5469);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1);
- }
- case 3:
- {
- SendClientMessage(playerid, red,"Error: This function is not made yet");
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 352:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- SetPlayerPos(playerid, 2333.4570,580.9391,7.7813);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1);
- }
- case 1:
- {
- SetPlayerPos(playerid, -243.26,-227.32,5.72);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1);
- }
- case 2:
- {
- SendClientMessage(playerid, red,"Error: This function is not made yet");
- }
- case 3:
- {
- SendClientMessage(playerid, red,"Error: This function is not made yet");
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 354:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- SetPlayerPos(playerid, 2585.400146, -1352.296021, 231.907578);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1);
- }
- case 1:
- {
- SetPlayerPos(playerid,1544.9849,-1353.7681,329.4735);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1);
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 509:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- ShowPlayerDialog(playerid, 510, DIALOG_STYLE_LIST, "Furniture Chairs", "Chair1\nChair2\nChair3\nChair4", "Ok", "Cancel");
- }
- case 1:
- {
- ShowPlayerDialog(playerid, 511, DIALOG_STYLE_LIST, "Furniture Beds", "Bed1\nBed2\nBed3\nBed4", "Ok", "Cancel");
- }
- case 2:
- {
- ShowPlayerDialog(playerid, 512, DIALOG_STYLE_LIST, "Furniture Tables", "Table1\nTable2\nTable3", "Ok", "Cancel");
- }
- case 3:
- {
- ShowPlayerDialog(playerid, 513, DIALOG_STYLE_LIST, "Furniture T.V", "TV1\n TV2\n TV3", "Ok", "Cancel");
- }
- case 4:
- {
- ShowPlayerDialog(playerid, 514, DIALOG_STYLE_LIST, "Furniture Cabinet", "Cabinet 1", "Ok", "Cancel");
- }
- case 5:
- {
- ShowPlayerDialog(playerid, 515, DIALOG_STYLE_LIST, "Furniture Misc", "Basket Ball net\nClothes\nEaster Egg", "Ok", "Cancel");
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 510:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 1723;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(1723, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 1:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 1704;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(1704, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 2:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 11665;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(11665, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 3:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 1705;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(1705, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 511:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 1745;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(1745, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 1:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 1794;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(1794, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 2:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 1797;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(1797, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 3:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 2566;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(2566, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 512:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 1281;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(1281, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 1:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 2311;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(2311, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 2:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 1825;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(1825, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 513:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 2297;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(2297, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 1:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 2296;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(2296, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 2:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 2595;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(2595, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 514:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 2078;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(2078, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- switch(dialogid)
- {
- case 515:
- {
- if(!response)
- {
- SendClientMessage(playerid, 0x42F3F198, "You canceled the dialog.");
- return 1;
- }
- switch(listitem)
- {
- case 0:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 3496;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(3496, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 1:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 2844;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(2844, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- case 2:
- {
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ;
- GetPlayerPos(playerid, OX, OY, OZ);
- oModel = 19343;
- ORX = 0.0;
- ORY = 0.0;
- ORZ = 0.0;
- Object = CreateObject(19343, OX+2, OY, OZ, ORX, ORY, ORZ); //Object will render at its default distance.
- SendClientMessage(playerid, 0xD8D8D8FF, "Object spawned now move it");
- EditObject(playerid, Object);
- }
- //You can continue cases here but make sure you make a new line in the ShowPlayerDialog on /mp3 command \r\n4. 4th \r\n5. 5th channel etc..
- }
- }
- }
- new string[128];
- if (dialogid == 9)
- {
- if (!response)
- {
- TogglePlayerControllable(playerid, 1);
- return RemovePlayerFromVehicle(playerid);
- }
- else
- {
- if (!IsPlayerInAnyVehicle(playerid))
- {
- SendClientMessage(playerid, GREY, "You are not in a vehicle.");
- TogglePlayerControllable(playerid, 1);
- return RemovePlayerFromVehicle(playerid);
- }
- if (!DealershipVehicles[GetPlayerVehicleID(playerid)][vForSale])
- {
- SendClientMessage(playerid, GREY, "You are not in any vehicle that's for sale.");
- TogglePlayerControllable(playerid, 1);
- return RemovePlayerFromVehicle(playerid);
- }
- if (GetPlayerMoney(playerid) < DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice])
- {
- SendClientMessage(playerid, GREY, "You cannot afford the vehicle.");
- TogglePlayerControllable(playerid, 1);
- return RemovePlayerFromVehicle(playerid);
- }
- new
- iModel = DealershipVehicles[GetPlayerVehicleID(playerid)][vModel],
- Float:fAngle = DealershipVehicles[GetPlayerVehicleID(playerid)][vRot],
- Float:fX = DealershipVehicles[GetPlayerVehicleID(playerid)][vX],
- Float:fY = DealershipVehicles[GetPlayerVehicleID(playerid)][vY],
- Float:fZ = DealershipVehicles[GetPlayerVehicleID(playerid)][vZ];
- switch (iModel)
- {
- case 460, 464, 476, 511, 512, 513, 519, 520, 553, 577, 592, 593, 430, 446, 452, 453,
- 454, 472, 473, 484, 493, 595, 417, 425, 447, 465, 469, 487, 488, 497, 501, 548, 563:
- {
- fX = (fX + (24.0 * floatsin(-fAngle, degrees)));
- fY = (fY + (24.0 * floatcos(fAngle, degrees)));
- }
- default:
- {
- fX = (fX + (6.0 * floatsin(-fAngle, degrees)));
- fY = (fY + (6.0 * floatcos(fAngle, degrees)));
- }
- }
- switch (CreatePlayerVehicle(playerid, iModel, fX, fY, fZ, fAngle))
- {
- case -1:
- {
- SendClientMessage(playerid, GREY, "The vehicle could not be purchased.");
- TogglePlayerControllable(playerid, 1);
- return RemovePlayerFromVehicle(playerid);
- }
- case 0:
- {
- SendClientMessage(playerid, GREY, "You already own the maximum amount of vehicles.");
- TogglePlayerControllable(playerid, 1);
- return RemovePlayerFromVehicle(playerid);
- }
- case 1:
- {
- GivePlayerMoney(playerid, -DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice]);
- format(string, sizeof(string), "You have purchased a %s for $%d, for more help regarding your purchase, type /carhelp.", GetVehicleName(GetPlayerVehicleID(playerid)), DealershipVehicles[GetPlayerVehicleID(playerid)][vPrice]);
- SendClientMessage(playerid, YELLOW, string);
- RemovePlayerFromVehicle(playerid);
- TogglePlayerControllable(playerid, 1);
- return 1;
- }
- }
- }
- }
- if (dialogid == 10 && response)
- {
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (VehicleListitem[playerid][i] == listitem)
- {
- if (!PlayerVehicles[playerid][i][pCarOwned]) return SendClientMessage(playerid, GREY, "An error has occurred.");
- PlayerVehicles[playerid][i][pCarSpawned] = !PlayerVehicles[playerid][i][pCarSpawned];
- switch (PlayerVehicles[playerid][i][pCarSpawned])
- {
- case 0:
- {
- UnlockVehicle(PlayerVehicles[playerid][i][pCarID]);
- DestroyVehicle(PlayerVehicles[playerid][i][pCarID]);
- PlayerVehicles[playerid][i][pCarID] = 0;
- format(string, sizeof(string), "You have despawned your %s in slot #%d.", GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), i);
- SendClientMessage(playerid, WHITE, string);
- }
- case 1:
- {
- PlayerVehicles[playerid][i][pCarID] = CreateVehicle(PlayerVehicles[playerid][i][pCarModel], PlayerVehicles[playerid][i][pCarX], PlayerVehicles[playerid][i][pCarY], PlayerVehicles[playerid][i][pCarZ], PlayerVehicles[playerid][i][pCarRot], PlayerVehicles[playerid][i][pCarColor1], PlayerVehicles[playerid][i][pCarColor2], -1);
- ModifyVehicle(playerid, i);
- format(string, sizeof(string), "You have spawned your %s in slot #%d.", GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), i);
- SendClientMessage(playerid, WHITE, string);
- }
- }
- VehicleListitem[playerid][i] = -1;
- return 1;
- }
- }
- }
- if (dialogid == 11 && response)
- {
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (VehicleListitem[playerid][i] == listitem)
- {
- if (!PlayerVehicles[playerid][i][pCarOwned]) return SendClientMessage(playerid, GREY, "An error has occurred.");
- new iModel = PlayerVehicles[playerid][i][pCarModel];
- if (DeletePlayerVehicle(playerid, i))
- {
- format(string, sizeof(string), "You have deleted your %s in slot #%d.", GetVehicleNameByModel(iModel), i);
- SendClientMessage(playerid, WHITE, string);
- }
- VehicleListitem[playerid][i] = -1;
- return 1;
- }
- }
- }
- if (dialogid == 12 && response)
- {
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (VehicleListitem[playerid][i] == listitem)
- {
- if (!PlayerVehicles[playerid][i][pCarOwned]) return SendClientMessage(playerid, GREY, "An error has occurred.");
- SetPVarInt(playerid, "UpgradingVehicle", i);
- ShowPlayerDialog(playerid, 13, DIALOG_STYLE_LIST, "Vehicle Upgrades", "Vehicle Lock ("#LOCK_PRICE")", "Upgrade", "Cancel");
- VehicleListitem[playerid][i] = -1;
- return 1;
- }
- }
- }
- if (dialogid == 13)
- {
- if (response)
- {
- new slot = GetPVarInt(playerid, "UpgradingVehicle");
- if (!slot)
- return SendClientMessage(playerid, GREY, "You must select a vehicle first.");
- if (!PlayerVehicles[playerid][slot][pCarOwned]) return SendClientMessage(playerid, GREY, "An error has occurred."), DeletePVar(playerid, "UpgradingVehicle");
- if (PlayerVehicles[playerid][slot][pCarHasLock]) return SendClientMessage(playerid, GREY, "This vehicle already has a lock installed."), DeletePVar(playerid, "UpgradingVehicle");
- if (GetPlayerMoney(playerid) >= LOCK_PRICE)
- {
- GivePlayerMoney(playerid, -LOCK_PRICE);
- PlayerVehicles[playerid][slot][pCarHasLock] = 1;
- SendClientMessage(playerid, YELLOW, "You have purchased a lock for your vehicle. This costed you $"#LOCK_PRICE".");
- SendClientMessage(playerid, WHITE, "HINT: Type /lock to lock or unlock your vehicle.");
- DeletePVar(playerid, "UpgradingVehicle");
- return 1;
- }
- else
- {
- SendClientMessage(playerid, GREY, "You cannot afford the lock.");
- DeletePVar(playerid, "UpgradingVehicle");
- }
- }
- else return DeletePVar(playerid, "UpgradingVehicle");
- }
- //tune menu
- if(dialogid == 1111 && response)
- {
- switch(listitem)
- {
- case 0: AddVehicleComponent(vehid,1010),CarmodDialog(playerid), PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
- case 1: ShowPlayerDialog(playerid,1112,DIALOG_STYLE_LIST,"Choose primary color:","White\nBlack\nOrange\nLight Blue\nDark Blue\nPurple\nRed\nDark Red\nGrey","Ok","Cancle");
- case 2: ShowPlayerDialog(playerid,1113,DIALOG_STYLE_LIST,"Choose a wheel:","Shadow\nMega\nRimshine\nWires\nClassic\nTwist\nCutter\nSwitch\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAcces\n{FF0000}Back","Ok","Cancle");
- case 3: AddVehicleComponent(vehid, 1086), PlayerPlaySound(playerid,1133,0.0,0.0,0.0),CarmodDialog(playerid);
- case 4: AddVehicleComponent(vehid, 1087), PlayerPlaySound(playerid,1133,0.0,0.0,0.0),CarmodDialog(playerid);
- case 5:
- {
- if(vehmd == 562 || vehmd == 565 || vehmd == 559 || vehmd == 561 || vehmd == 560 || vehmd == 558)
- {
- ShowPlayerDialog(playerid,1114,DIALOG_STYLE_LIST,"Choose one","Paintjob\nAlien\nX-Flow\n{FF0000}Back","Select","Cancel");
- }
- else if(vehmd == 576 || vehmd == 575 || vehmd == 535)
- {
- ShowPlayerDialog(playerid,1001,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\n{FF0000}Back","Select","Cancel");
- }
- else if(vehmd == 567 || vehmd == 536)
- {
- ShowPlayerDialog(playerid,1002,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\nHardtop Roof\nSofttop Roof\n{FF0000}Back","Select","Cancel");
- }
- else if(vehmd == 534)
- {
- ShowPlayerDialog(playerid,1003,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\nFlame Sideskirt \nArches Sideskirt Roof\n{FF0000}Back","Select","Cancel");
- }
- else if(vehmd == 496 || vehmd == 505 || vehmd == 516 || vehmd == 517 || vehmd == 518 || vehmd == 527 || vehmd == 529 || vehmd == 540 || vehmd == 546 || vehmd == 547 || vehmd == 549 || vehmd == 550 || vehmd == 551 || vehmd == 580 || vehmd == 585 || vehmd == 587 || vehmd == 589 || vehmd == 600 || vehmd == 603 || vehmd == 401 || vehmd == 410 || vehmd == 415 || vehmd == 418 || vehmd == 420 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 489 || vehmd == 491 || vehmd == 492)
- {
- RegularCarDialog(playerid);
- }
- else
- {
- SendClientMessage(playerid,RED,"Your car cannot be tuned!");
- }
- }
- }
- }
- if(dialogid == 1112 && response)
- {
- new color1, color2;
- GetVehicleColor(vehid,color1,color2);
- new Carray[] = {1,0,6,2,79,149,151,3,34};
- ChangeVehicleColor(vehid,Carray[listitem],color2);
- return ShowPlayerDialog(playerid,1116,DIALOG_STYLE_LIST,"Choose second color:","White\nBlack\nOrange\nLight Blue\nDark Blue\nPurple\nRed\nDark Red\nGrey","Ok","Cancle");
- }
- if(dialogid == 1116 && response)
- {
- new color1, color2;
- GetVehicleColor(vehid,color1,color2);
- new Carray[] = {1,0,6,2,79,149,151,3,34};
- ChangeVehicleColor(vehid,color1,Carray[listitem]);
- return CarmodDialog(playerid);
- }
- if(dialogid == 1113 && response)
- {
- if(listitem == 16) return CarmodDialog(playerid);
- new Warray[] = {1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1098};
- AddVehicleComponent(vehid,Warray[listitem]);
- return CarmodDialog(playerid);
- }
- if(dialogid == 1114 && response)
- {
- switch(listitem)
- {
- case 0: ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose one:","Paintjob 1\nPaintjob 2\nPaintjob 3","Ok","Cancel");
- case 1:
- {
- if(vehmd == 560)//Sultan
- {
- AddVehicleComponent(vehid, 1026);
- AddVehicleComponent(vehid, 1027);
- AddVehicleComponent(vehid, 1028);
- AddVehicleComponent(vehid, 1032);
- AddVehicleComponent(vehid, 1138);
- AddVehicleComponent(vehid, 1141);
- AddVehicleComponent(vehid, 1169);
- }
- if(vehmd == 562)//Elegy
- {
- AddVehicleComponent(vehid, 1036);
- AddVehicleComponent(vehid, 1040);
- AddVehicleComponent(vehid, 1034);
- AddVehicleComponent(vehid, 1038);
- AddVehicleComponent(vehid, 1147);
- AddVehicleComponent(vehid, 1171);
- AddVehicleComponent(vehid, 1149);
- }
- if(vehmd == 565)//Flash
- {
- AddVehicleComponent(vehid, 1047);
- AddVehicleComponent(vehid, 1051);
- AddVehicleComponent(vehid, 1046);
- AddVehicleComponent(vehid, 1054);
- AddVehicleComponent(vehid, 1049);
- AddVehicleComponent(vehid, 1150);
- AddVehicleComponent(vehid, 1153);
- }
- if(vehmd == 559)//Jester
- {
- AddVehicleComponent(vehid, 1069);
- AddVehicleComponent(vehid, 1071);
- AddVehicleComponent(vehid, 1065);
- AddVehicleComponent(vehid, 1067);
- AddVehicleComponent(vehid, 1162);
- AddVehicleComponent(vehid, 1159);
- AddVehicleComponent(vehid, 1160);
- }
- if(vehmd == 561)//Stratum
- {
- AddVehicleComponent(vehid, 1056);
- AddVehicleComponent(vehid, 1062);
- AddVehicleComponent(vehid, 1064);
- AddVehicleComponent(vehid, 1055);
- AddVehicleComponent(vehid, 1058);
- AddVehicleComponent(vehid, 1154);
- AddVehicleComponent(vehid, 1155);
- }
- if(vehmd == 558)//Uranus
- {
- AddVehicleComponent(vehid, 1090);
- AddVehicleComponent(vehid, 1094);
- AddVehicleComponent(vehid, 1092);
- AddVehicleComponent(vehid, 1088);
- AddVehicleComponent(vehid, 1164);
- AddVehicleComponent(vehid, 1168);
- AddVehicleComponent(vehid, 1166);
- }
- }
- case 2:
- {
- if(vehmd == 560)//Sultan
- {
- AddVehicleComponent(vehid, 1031);
- AddVehicleComponent(vehid, 1030);
- AddVehicleComponent(vehid, 1029);
- AddVehicleComponent(vehid, 1033);
- AddVehicleComponent(vehid, 1139);
- AddVehicleComponent(vehid, 1140);
- AddVehicleComponent(vehid, 1170);
- }
- if(vehmd == 562)//Elegy
- {
- AddVehicleComponent(vehid, 1041);
- AddVehicleComponent(vehid, 1039);
- AddVehicleComponent(vehid, 1037);
- AddVehicleComponent(vehid, 1035);
- AddVehicleComponent(vehid, 1146);
- AddVehicleComponent(vehid, 1148);
- AddVehicleComponent(vehid, 1172);
- }
- if(vehmd == 565)//Flash
- {
- AddVehicleComponent(vehid, 1048);
- AddVehicleComponent(vehid, 1045);
- AddVehicleComponent(vehid, 1053);
- AddVehicleComponent(vehid, 1050);
- AddVehicleComponent(vehid, 1152);
- AddVehicleComponent(vehid, 1151);
- AddVehicleComponent(vehid, 1052);
- }
- if(vehmd == 559) //Jester
- {
- AddVehicleComponent(vehid, 1070);
- AddVehicleComponent(vehid, 1072);
- AddVehicleComponent(vehid, 1066);
- AddVehicleComponent(vehid, 1068);
- AddVehicleComponent(vehid, 1158);
- AddVehicleComponent(vehid, 1161);
- AddVehicleComponent(vehid, 1173);
- }
- if(vehmd == 561)//Stratum
- {
- AddVehicleComponent(vehid, 1057);
- AddVehicleComponent(vehid, 1063);
- AddVehicleComponent(vehid, 1059);
- AddVehicleComponent(vehid, 1061);
- AddVehicleComponent(vehid, 1060);
- AddVehicleComponent(vehid, 1154);
- AddVehicleComponent(vehid, 1157);
- }
- if(vehmd == 558) //Uranus
- {
- AddVehicleComponent(vehid, 1093);
- AddVehicleComponent(vehid, 1095);
- AddVehicleComponent(vehid, 1089);
- AddVehicleComponent(vehid, 1091);
- AddVehicleComponent(vehid, 1163);
- AddVehicleComponent(vehid, 1167);
- AddVehicleComponent(vehid, 1165);
- }
- }
- case 3: CarmodDialog(playerid);
- }
- }
- if(dialogid == 1001 && response)
- {
- switch(listitem)
- {
- case 0: ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose one:","Paintjob 1\nPaintjob 2\nPaintjob 3","Ok","Cancel");
- case 1:
- {
- if(vehmd == 576)//Tornado
- {
- AddVehicleComponent(vehid, 1134);
- AddVehicleComponent(vehid, 1136);
- AddVehicleComponent(vehid, 1137);
- AddVehicleComponent(vehid, 1191);
- AddVehicleComponent(vehid, 1192);
- }
- if(vehmd == 575)//Broadway
- {
- AddVehicleComponent(vehid, 1042);
- AddVehicleComponent(vehid, 1044);
- AddVehicleComponent(vehid, 1099);
- AddVehicleComponent(vehid, 1174);
- AddVehicleComponent(vehid, 1176);
- }
- if(vehmd == 535)//Slamvan
- {
- AddVehicleComponent(vehid, 1109);
- AddVehicleComponent(vehid, 1113);
- AddVehicleComponent(vehid, 1115);
- AddVehicleComponent(vehid, 1117);
- AddVehicleComponent(vehid, 1118);
- AddVehicleComponent(vehid, 1120);
- }
- }
- case 2:
- {
- if(vehmd == 576)//Tornado
- {
- AddVehicleComponent(vehid, 1135);
- AddVehicleComponent(vehid, 1190);
- AddVehicleComponent(vehid, 1193);
- }
- if(vehmd == 575)//Broadway
- {
- AddVehicleComponent(vehid, 1177);
- AddVehicleComponent(vehid, 1175);
- AddVehicleComponent(vehid, 1143);
- }
- if(vehmd == 535)//Slamvan
- {
- AddVehicleComponent(vehid, 1110);
- AddVehicleComponent(vehid, 1114);
- AddVehicleComponent(vehid, 1116);
- AddVehicleComponent(vehid, 1119);
- AddVehicleComponent(vehid, 1121);
- }
- }
- case 3: CarmodDialog(playerid);
- }
- }
- if(dialogid == 1002)
- {
- switch(listitem)
- {
- case 0: ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose one:","Paintjob 1\nPaintjob 2\nPaintjob 3","Ok","Cancel");
- case 1:
- {
- if(vehmd == 567)//Savanna
- {
- AddVehicleComponent(vehid, 1129);
- AddVehicleComponent(vehid, 1133);
- AddVehicleComponent(vehid, 1102);
- AddVehicleComponent(vehid, 1187);
- AddVehicleComponent(vehid, 1189);
- }
- if(vehmd == 536)//Blade
- {
- AddVehicleComponent(vehid, 1104);
- AddVehicleComponent(vehid, 1107);
- AddVehicleComponent(vehid, 1108);
- AddVehicleComponent(vehid, 1182);
- AddVehicleComponent(vehid, 1184);
- }
- }
- case 2:
- {
- if(vehmd == 567)//Savanna
- {
- AddVehicleComponent(vehid, 1188);
- AddVehicleComponent(vehid, 1186);
- AddVehicleComponent(vehid, 1132);
- }
- if(vehmd == 536)//Blade
- {
- AddVehicleComponent(vehid, 1105);
- AddVehicleComponent(vehid, 1183);
- AddVehicleComponent(vehid, 1181);
- }
- }
- case 3:
- {
- if(vehmd == 567)//Savanna
- {
- AddVehicleComponent(vehid, 1130);
- }
- if(vehmd == 536)//Blade
- {
- AddVehicleComponent(vehid, 1128);
- }
- }
- case 4:
- {
- if(vehmd == 567)//Savanna
- {
- AddVehicleComponent(vehid, 1131);
- }
- if(vehmd == 536)//Blade
- {
- AddVehicleComponent(vehid, 1103);
- }
- }
- case 5: CarmodDialog(playerid);
- }
- }
- if(dialogid == 1003)//Remington
- {
- switch(listitem)
- {
- case 0:ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose one:","Paintjob 1\nPaintjob 2\nPaintjob 3","Ok","Cancel");
- case 1:
- {
- AddVehicleComponent(vehid, 1100);
- AddVehicleComponent(vehid, 1122);
- AddVehicleComponent(vehid, 1123);
- AddVehicleComponent(vehid, 1125);
- AddVehicleComponent(vehid, 1126);
- AddVehicleComponent(vehid, 1179);
- AddVehicleComponent(vehid, 1180);
- }
- case 2:
- {
- AddVehicleComponent(vehid, 1185);
- AddVehicleComponent(vehid, 1178);
- AddVehicleComponent(vehid, 1127);
- }
- case 3: AddVehicleComponent(vehid, 1122),AddVehicleComponent(vehid, 1101);
- case 4: AddVehicleComponent(vehid, 1106),AddVehicleComponent(vehid, 1124);
- case 5: CarmodDialog(playerid);
- }
- }
- if(dialogid == 1004 && response)//regular cars
- {
- switch(listitem)
- {
- case 0:
- {
- ShowPlayerDialog(playerid,1010,DIALOG_STYLE_LIST,"Spoiler","Pro\nWin\nDrag\nAlpha\nChamp\nRace\nWorx\nFury\n{FF0000}Back","Select","Cancel");
- }
- case 1:
- {
- if(vehmd == 585 || vehmd == 603 || vehmd == 439 || vehmd == 458 || vehmd == 418 || vehmd == 527 || vehmd == 580)
- {
- AddVehicleComponent(vehid, 1006);
- return RegularCarDialog(playerid);
- }
- else if(vehmd == 439 || vehmd == 458 || vehmd == 491 || vehmd == 517 ||vehmd == 547)
- {ShowPlayerDialog(playerid,1040,DIALOG_STYLE_LIST,"Vents","Oval\nSquare\n{FF0000}Back","Select","Cancel");}
- else if(vehmd == 415)
- {
- AddVehicleComponent(vehid, 1007);
- AddVehicleComponent(vehid, 1071);
- return RegularCarDialog(playerid);
- }
- else ShowPlayerDialog(playerid,1020,DIALOG_STYLE_LIST,"Hood","Champ\nFury\nRace\nWorx\n{FF0000}Back","Select","Cancel");
- }
- case 2:
- {
- if(vehmd == 549 || vehmd == 585 || vehmd == 603)
- {ShowPlayerDialog(playerid,1040,DIALOG_STYLE_LIST,"Vents","Oval\nSquare\n{FF0000}Back","Select","Cancel");}
- else if(vehmd == 410 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 516 || vehmd == 491 || vehmd == 517 || vehmd == 418 || vehmd == 527 || vehmd == 580)
- {
- AddVehicleComponent(vehid, 1007);
- AddVehicleComponent(vehid, 1071);
- return RegularCarDialog(playerid);
- }
- else if(vehmd == 415 || vehmd == 547 || vehmd == 420 || vehmd == 587)
- {CarmodDialog(playerid);}
- else
- {
- AddVehicleComponent(vehid, 1006);
- return RegularCarDialog(playerid);
- }
- }
- case 3:
- {
- if(vehmd == 549 || vehmd == 585 || vehmd == 603 || vehmd == 551 || vehmd == 492 || vehmd == 529)
- {
- AddVehicleComponent(vehid, 1007);
- AddVehicleComponent(vehid, 1071);
- return RegularCarDialog(playerid);
- }
- else if(vehmd == 410 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 489 || vehmd == 505)
- {ShowPlayerDialog(playerid,1060,DIALOG_STYLE_LIST,"Lights","Round Fog\nSquare Fog\n{FF0000}Back","Select","Cancel");}
- else if(vehmd == 418 || vehmd == 527 || vehmd == 580 || vehmd == 491 || vehmd == 517 || vehmd == 516)
- {CarmodDialog(playerid);}
- else{ShowPlayerDialog(playerid,1040,DIALOG_STYLE_LIST,"Vents","Oval\nSquare\n{FF0000}Back","Select","Cancel");}
- }
- case 4:
- {
- if(vehmd == 549 || vehmd == 550 || vehmd == 585 || vehmd == 603)
- {ShowPlayerDialog(playerid,1060,DIALOG_STYLE_LIST,"Lights","Round Fog\nSquare Fog\n{FF0000}Back","Select","Cancel");}
- else if(vehmd == 489 || vehmd == 505 || vehmd == 551 || vehmd == 492 || vehmd == 529 || vehmd == 439 || vehmd == 458 || vehmd == 410 || vehmd == 436)
- {CarmodDialog(playerid);}
- else
- {
- AddVehicleComponent(vehid, 1007);
- AddVehicleComponent(vehid, 1071);
- return RegularCarDialog(playerid);
- }
- }
- case 5:
- {
- if(vehmd == 585 || vehmd == 603 || vehmd == 550 || vehmd == 549)
- {CarmodDialog(playerid);}
- else{ShowPlayerDialog(playerid,1060,DIALOG_STYLE_LIST,"Lights","Round Fog\nSquare Fog\n{FF0000}Back","Select","Cancel");}
- }
- case 6: CarmodDialog(playerid);
- }
- }
- if(dialogid == 1010 && response)
- {
- if(listitem == 8) return RegularCarDialog(playerid);
- new Xarray[] = {1000,1001,1002,1003,1014,1015,1016,1023};
- AddVehicleComponent(vehid, Xarray[listitem]);
- return RegularCarDialog(playerid);
- }
- if(dialogid == 1020 && response)
- {
- if(listitem == 4) return RegularCarDialog(playerid);
- new Xarray[] = {1004,1005,1011,1012};
- AddVehicleComponent(vehid, Xarray[listitem]);
- return RegularCarDialog(playerid);
- }
- if(dialogid == 1040 && response)
- {
- switch(listitem)
- {
- case 0:
- {
- AddVehicleComponent(vehid, 1142);
- AddVehicleComponent(vehid, 1143);
- return RegularCarDialog(playerid);
- }
- case 1:
- {
- AddVehicleComponent(vehid, 1144);
- AddVehicleComponent(vehid, 1145);
- return RegularCarDialog(playerid);
- }
- case 2: RegularCarDialog(playerid);
- }
- }
- if(dialogid == 1060 && response)
- {
- if(listitem == 2) return RegularCarDialog(playerid);
- new Xarray[] = {1013,1024};
- AddVehicleComponent(vehid, Xarray[listitem]);
- return RegularCarDialog(playerid);
- }
- if(dialogid == 1115 && response)
- {
- new Parray[] = {0,1,2};
- ChangeVehiclePaintjob(vehid, Parray[listitem]);
- return CarmodDialog(playerid);
- }
- return 1;
- }
- public OnPlayerClickTextDraw(playerid, Text:clickedid)
- {
- StuntAccountInfo[playerid][pSkin] = GetPlayerSkin(playerid);
- if(clickedid == startgame) // If the player clicked on the teleportLS textdraw, teleport him there!
- {
- TextDrawShowForPlayer(playerid, worldselect); // Show the SF option
- TextDrawShowForPlayer(playerid, worldrp); // Show the LV option
- TextDrawShowForPlayer(playerid, worldstunt); // Show the LV option
- TextDrawHideForPlayer(playerid, startgame);
- TextDrawHideForPlayer(playerid, options);
- }
- else if(clickedid == options) // Same as above, but for SF
- {
- new name[MAX_PLAYER_NAME], file[256];
- GetPlayerName(playerid, name, sizeof(name));
- format(file, sizeof(file), STUNT_USER_FILE, name);
- if (!dini_Exists(file))
- {
- SendClientMessage(playerid,COLOR_RED, "Error: Your Account Is not On are Data Base Please click start game and make one");
- }
- if(fexist(file))
- {
- SendClientMessage(playerid,COLOR_RED, "Error: This Feature Has not been made yet.");
- }
- }
- if(clickedid == nextskin) // If the player clicked on the teleportLS textdraw, teleport him there!
- {
- if(WorldInfo[playerid][pWorld] == 1)
- {
- SetPlayerSkin(playerid, RPAccountInfo[playerid][rSSkin]+1);
- RPAccountInfo[playerid][rSSkin] = GetPlayerSkin(playerid);
- }
- if(WorldInfo[playerid][pWorld] == 2)
- {
- SetPlayerSkin(playerid, StuntAccountInfo[playerid][pSkin]+1);
- StuntAccountInfo[playerid][pSkin] = GetPlayerSkin(playerid);
- }
- }
- if(clickedid == backskin) // If the player clicked on the teleportLS textdraw, teleport him there!
- {
- if(WorldInfo[playerid][pWorld] == 1)
- {
- SetPlayerSkin(playerid, RPAccountInfo[playerid][rSSkin]+1);
- RPAccountInfo[playerid][rSSkin] = GetPlayerSkin(playerid);
- }
- if(WorldInfo[playerid][pWorld] == 2)
- {
- SetPlayerSkin(playerid, StuntAccountInfo[playerid][pSkin]+1);
- StuntAccountInfo[playerid][pSkin] = GetPlayerSkin(playerid);
- }
- }
- if(clickedid == doneskin) // If the player clicked on the teleportLS textdraw, teleport him there!
- {
- if(WorldInfo[playerid][pWorld] == 1)
- {
- SpawnPlayer(playerid);
- SetPlayerPos(playerid, -1340.3514,-264.3646,14.1484);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 0);
- SetPlayerSkin(playerid, RPAccountInfo[playerid][rSSkin]);
- TextDrawHideForPlayer(playerid, nextskin);
- TextDrawHideForPlayer(playerid, backskin);
- TextDrawHideForPlayer(playerid, doneskin);
- TogglePlayerControllable(playerid, 1);
- CancelSelectTextDraw(playerid);
- WorldInfo[playerid][pWorld] = 1;
- RPAccountInfo[playerid][rHasSpawned] = 1;
- sworld = sworld -1;
- }
- if(WorldInfo[playerid][pWorld] == 2)
- {
- SpawnPlayer(playerid);
- SetPlayerPos(playerid, -1340.3514,-264.3646,14.1484);
- SetPlayerInterior(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1);
- SetPlayerSkin(playerid, StuntAccountInfo[playerid][pSkin]);
- TextDrawHideForPlayer(playerid, nextskin);
- TextDrawHideForPlayer(playerid, backskin);
- TextDrawHideForPlayer(playerid, doneskin);
- TogglePlayerControllable(playerid, 1);
- CancelSelectTextDraw(playerid);
- WorldInfo[playerid][pWorld] = 2;
- StuntAccountInfo[playerid][pHasSpawned] = 1;
- StuntAccountInfo[playerid][pPskin] = 1;
- sworld = sworld -1;
- }
- }
- if(clickedid == worldrp) // If the player clicked on the teleportLS textdraw, teleport him there!
- {
- if(!RPnamecheck(playerid)) {
- TextDrawHideForPlayer(playerid, worldselect);
- TextDrawHideForPlayer(playerid, worldrp);
- TextDrawHideForPlayer(playerid, worldstunt);
- CancelSelectTextDraw(playerid);
- ShowPlayerDialog(playerid, 911, DIALOG_STYLE_INPUT, "{CC0000}Please Pick a Roleplay name.", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you do not have a roleplay name please pick one.", "Done", "Cancel");
- SendClientMessage(playerid,COLOR_RED,"HINT: Your name must be in Firstname_Lastname format, For example Jason_Brown.");
- }
- else {
- new name[MAX_PLAYER_NAME], rfile[256];
- GetPlayerName(playerid, name, sizeof(name));
- format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
- if (!dini_Exists(rfile)) {
- TextDrawHideForPlayer(playerid, worldselect);
- TextDrawHideForPlayer(playerid, worldrp);
- TextDrawHideForPlayer(playerid, worldstunt);
- CancelSelectTextDraw(playerid);
- ShowPlayerDialog(playerid, 912, DIALOG_STYLE_INPUT, "{CC0000}Please Register", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nIt seems like you are not registered for the rp world, type your password to continue.", "Register", "Cancel");
- }
- if(fexist(rfile)) {
- TextDrawHideForPlayer(playerid, worldselect);
- TextDrawHideForPlayer(playerid, worldrp);
- TextDrawHideForPlayer(playerid, worldstunt);
- CancelSelectTextDraw(playerid);
- ShowPlayerDialog(playerid, 913, DIALOG_STYLE_INPUT, "{CC0000}Please Login", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nYou are registered, type your password to login and start roleplaying.", "Login", "Cancel");
- }
- }
- }
- if(clickedid == worldstunt) // If the player clicked on the teleportLS textdraw, teleport him there!
- {
- TextDrawHideForPlayer(playerid, worldselect);
- TextDrawHideForPlayer(playerid, worldrp);
- TextDrawHideForPlayer(playerid, worldstunt);
- CancelSelectTextDraw(playerid);
- ShowPlayerDialog(playerid, 915, DIALOG_STYLE_INPUT, "{CC0000}Please Pick A Stunt Name, Or enter your Old one.", "Los Entertainment Multimod\t\t\t\tIP::~~~~~\nWelcome, Please Choose your account name or enter an existing accounts name.", "Change Name", "Cancel");
- }
- return 1;
- }
- //admin chats command
- COMMAND:asa(playerid, params[])
- {
- if(WorldInfo[playerid][AdminLevel] < 1) return SendClientMessage(playerid, COLOR_YELLOW, "You are not an admin");
- {
- if(WorldInfo[playerid][asa] == 0)
- {
- WorldInfo[playerid][asa] = 1;
- }
- else {
- WorldInfo[playerid][asa] = 0;
- }
- }
- return 1;
- }
- CMD:shout(playerid, params[])
- {
- new
- string[128];
- if(isnull(params))
- {
- return SendClientMessage(playerid, -1, "USAGE: /(s)hout [message]");
- }
- else {
- format(string, sizeof(string), "%s shouts: %s!", GetName(playerid), params);
- ProxDetector(50.0, playerid, string, -1);
- }
- return 1;
- }
- CMD:stopmusic(playerid, params[])
- {
- StopAudioStreamForPlayer(playerid); // Stop the audio stream
- return 1;
- }
- CMD:b(playerid, params[])
- {
- new
- string[128];
- if(isnull(params))
- {
- return SendClientMessage(playerid, -1, "USAGE: /b [message]");
- }
- else {
- format(string, sizeof(string), "((%s: %s))", GetName(playerid), params);
- ProxDetector(50.0, playerid, string, -1);
- }
- return 1;
- }
- CMD:me(playerid, params[])
- {
- new
- string[128];
- if(isnull(params))
- {
- return SendClientMessage(playerid, -1, "USAGE: /me [action]");
- }
- else {
- format(string, sizeof(string), "* %s %s", GetName(playerid), params);
- ProxDetector(30, playerid, string, COLOR_PURPLE);
- }
- return 1;
- }
- COMMAND:flip(playerid,params[])
- {
- if(WorldInfo[playerid][pWorld] == 2)
- {
- new Float:x, Float:y, Float:z;
- // Use GetPlayerPos, passing the 3 float variables we just created
- GetPlayerPos(playerid, x, y, z);
- SetVehiclePos(playerid, x, y+1, z);
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You can only flip car's while in a stunt world.");
- return 1;
- }
- COMMAND:fix(playerid,params[])
- {
- if(WorldInfo[playerid][pWorld] == 2)
- {
- RepairVehicle(playerid);
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You can only fix car's while in a stunt world.");
- return 1;
- }
- //normal player commands
- //cop for cop's n robber's etc
- COMMAND:doorclose(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398) && StuntAccountInfo[playerid][pFaction] == 1) //Door 0
- {
- MoveObject(door0,1487.00000000,-1762.42504883,3284.23608398,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door0 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1483.79003906,-1762.42504883,3284.23608398) && StuntAccountInfo[playerid][pFaction] == 1) //Door 1
- {
- MoveObject(door1,1483.79003906,-1762.42504883,3284.23608398,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door1 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1479.85998535,-1758.31994629,3284.23388672) && StuntAccountInfo[playerid][pFaction] == 1) //Door 2
- {
- MoveObject(door2,1479.85998535,-1758.31994629,3284.23388672,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door2 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1467.06701660,-1758.31994629,3284.23388672) && StuntAccountInfo[playerid][pFaction] == 1) //Door 3
- {
- MoveObject(door3,1467.06701660,-1758.31994629,3284.23388672,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door3 has been closed.");
- }
- return 1;
- }
- COMMAND:dooropen(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1487.00000000,-1762.42504883,3284.23608398) && StuntAccountInfo[playerid][pFaction] == 1) //Door 0
- {
- MoveObject(door0,1487.00000000,-1762.42504883+1.25,3284.23608398,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door0 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1483.79003906,-1762.42504883,3284.23608398) && StuntAccountInfo[playerid][pFaction] == 1) //Door 1
- {
- MoveObject(door1,1483.79003906,-1762.42504883+1.25,3284.23608398,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door1 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1479.85998535,-1758.31994629,3284.23388672) && StuntAccountInfo[playerid][pFaction] == 1) //Door 2
- {
- MoveObject(door2,1479.85998535-1.25,-1758.31994629,3284.23388672,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door2 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1467.06701660,-1758.31994629,3284.23388672) && StuntAccountInfo[playerid][pFaction] == 1) //Door 3
- {
- MoveObject(door3,1467.06701660-1.25,-1758.31994629,3284.23388672,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Door3 has been opened.");
- }
- return 1;
- }
- COMMAND:cellopen(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.21484375,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell0
- {
- MoveObject(cell0,1491.21484375-1.25,-1764.90002441,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell0 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41210938,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell1
- {
- MoveObject(cell1,1494.41210938-1.25,-1764.90002441,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell1 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61132812,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell2
- {
- MoveObject(cell2,1497.61132812-1.25,-1764.90002441,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell2 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81445312,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell3
- {
- MoveObject(cell3,1500.81445312-1.25,-1764.90002441,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell3 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81994629,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell4
- {
- MoveObject(cell4,1500.81994629-1.25,-1761.51000977,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell4 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.22094727,-1761.50000000,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell5
- {
- MoveObject(cell5,1491.22094727-1.25,-1761.50000000,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell5 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41894531,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell6
- {
- MoveObject(cell6,1494.41894531-1.25,-1761.51000977,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell6 has been opened.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61999512,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell7
- {
- MoveObject(cell7,1497.61999512-1.25,-1761.51000977,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell7 has been opened.");
- }
- return 1;
- }
- COMMAND:cellclose(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.21484375,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell0
- {
- MoveObject(cell0,1491.21484375,-1764.90002441,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell0 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41210938,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell1
- {
- MoveObject(cell1,1494.41210938,-1764.90002441,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell1 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61132812,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell2
- {
- MoveObject(cell2,1497.61132812,-1764.90002441,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell2 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81445312,-1764.90002441,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell3
- {
- MoveObject(cell3,1500.81445312,-1764.90002441,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell3 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1500.81994629,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell4
- {
- MoveObject(cell4,1500.81994629,-1761.51000977,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell4 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1491.22094727,-1761.50000000,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell5
- {
- MoveObject(cell5,1491.22094727,-1761.50000000,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell5 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1494.41894531,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell6
- {
- MoveObject(cell6,1494.41894531,-1761.51000977,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell6 has been closed.");
- }
- if(IsPlayerInRangeOfPoint(playerid, 2.0,1497.61999512,-1761.51000977,3284.25048828) && StuntAccountInfo[playerid][pFaction] == 1) //Cell7
- {
- MoveObject(cell7,1497.61999512,-1761.51000977,3284.25048828,0.50);
- SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Cell7 has been closed.");
- }
- return 1;
- }
- //stunt world commands
- COMMAND:car(playerid, params[])
- {
- if(WorldInfo[playerid][pWorld] == 2)
- {
- new carid, carcolor1, carcolor2;
- if(!sscanf(params, "iii", carid, carcolor1, carcolor2))
- {
- if (carid == 432)
- return SendClientMessage(playerid, red, "Error: You Can not spawn a rhino / tank.");
- if (carid == 520)
- return SendClientMessage(playerid, red, "Error: You can not spawn a hydra.");
- if(carid >= 400 && carid <= 611)
- {
- if(carcolor1 >= 0 && carcolor1 <= 252)
- {
- if(carcolor2 >= 0 && carcolor2 <= 252)
- {
- new Float:XZ, Float:YZ, Float:ZZ;
- GetPlayerPos(playerid, XZ, YZ, ZZ);
- SetVehicleVirtualWorld( CreateVehicle(carid, XZ+4, YZ, ZZ, 10, carcolor1, carcolor2, 0), GetPlayerVirtualWorld(playerid));
- SendClientMessage(playerid, 0xD8D8D8FF, "Vehicle Spawned");
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 400 and 611 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /car [VehicleId] [Color 1][Color 2]");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
- }
- CMD:tunemenu(playerid, params[])
- {
- if(WorldInfo[playerid][pWorld] == 2)
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
- {
- CarmodDialog(playerid);
- return 1;
- }
- else SendClientMessage(playerid,COLOR_RED,"You must be in a vehicle to open this dialog!");
- }
- else SendClientMessage(playerid,COLOR_RED,"You are not in the stunt world.");
- return 1;
- }
- CMD:mainmenu(playerid, params[])
- {
- new name[MAX_PLAYER_NAME], sfile[256], rfile[256];
- RPAccountInfo[playerid][rHasSpawned] = 0;
- RPAccountInfo[playerid][rSSkin] = 0;
- StuntAccountInfo[playerid][pPskin] = 0;
- StuntAccountInfo[playerid][pHasSpawned] = 0;
- SetSpawnInfo(playerid, 0, 0, 1958.3783, 1343.1572, 15.3746, 90, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
- format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
- if(gPlayerLogged[playerid] == 1 && WorldInfo[playerid][pWorld] == 2)
- {
- dini_IntSet(sfile, "Score", StuntAccountInfo[playerid][pScore]);
- dini_IntSet(sfile, "Money", StuntAccountInfo[playerid][pCash]);
- dini_IntSet(sfile, "AdminLevel",WorldInfo[playerid][AdminLevel]);
- dini_IntSet(sfile,"Color",GetPlayerColor(playerid));
- dini_IntSet(sfile,"Job",StuntAccountInfo[playerid][pJob]);
- dini_IntSet(sfile,"Vw",GetPlayerVirtualWorld(playerid));
- dini_IntSet(sfile,"Int",GetPlayerInterior(playerid));
- dini_IntSet(sfile,"Warns",StuntAccountInfo[playerid][pWarns]);
- dini_IntSet(sfile,"Skin",GetPlayerSkin(playerid));
- dini_IntSet(sfile,"Faction",StuntAccountInfo[playerid][pFaction]);
- dini_IntSet(sfile,"FactionRank",StuntAccountInfo[playerid][pFactionRank]);
- dini_IntSet(sfile,"Cheques",StuntAccountInfo[playerid][pCheck]);
- WorldInfo[playerid][pWorld] = 0;
- }
- format(rfile, sizeof(rfile), ROLEPLAY_USER_FILE, name);
- if(gPlayerLogged[playerid] == 1 && WorldInfo[playerid][pWorld] == 1)
- {
- dini_IntSet(rfile, "Score", RPAccountInfo[playerid][rScore]);
- dini_IntSet(rfile, "Money", RPAccountInfo[playerid][rCash]);
- dini_IntSet(rfile, "AdminLevel",RPAccountInfo[playerid][rAdminLevel]);
- dini_IntSet(rfile,"Color",GetPlayerColor(playerid));
- dini_IntSet(rfile,"Job",RPAccountInfo[playerid][rJob]);
- dini_IntSet(rfile,"Vw",GetPlayerVirtualWorld(playerid));
- dini_IntSet(rfile,"Int",GetPlayerInterior(playerid));
- dini_IntSet(rfile,"Warns",RPAccountInfo[playerid][rWarns]);
- dini_IntSet(rfile,"Skin",GetPlayerSkin(playerid));
- dini_IntSet(rfile,"Faction",RPAccountInfo[playerid][rFaction]);
- dini_IntSet(rfile,"FactionRank",RPAccountInfo[playerid][rFactionRank]);
- dini_IntSet(rfile,"Cheques",RPAccountInfo[playerid][rCheck]);
- WorldInfo[playerid][pWorld] = 0;
- }
- gPlayerLogged[playerid] = 0;
- return 1;
- }
- CMD:commands(playerid, params[])
- {
- if(WorldInfo[playerid][pWorld] == 2)
- {
- SendClientMessage(playerid, COLOR_ORANGE, "Welcome to Los Entertainment's Multimod stunt world the commands are here");
- SendClientMessage(playerid, COLOR_ORANGE, "Teleports: /teleport");
- SendClientMessage(playerid, COLOR_ORANGE, "Vehicle: /car /flip /tunemenu /repair");
- SendClientMessage(playerid, COLOR_ORANGE, "Fun / misc: /mp3 /music /stopmusic /mainmenu");
- }
- return 1;
- }
- CMD:teleport(playerid, params[])
- {
- if(WorldInfo[playerid][pWorld] == 2)
- {
- ShowPlayerDialog(playerid, 350, DIALOG_STYLE_LIST, "Teleport Menu", "Airports\nStunt Parks\nBike Stunts\nParkour\nDeath Match\nRace\n", "Ok", "Cancel");
- }
- return 1;
- }
- COMMAND:music(playerid, params[])
- {
- new randMusic = random(sizeof(RandomMusic)); //calculates the size of RandomMSG (which is 3)
- SendClientMessage(playerid,COLOR_GREEN,"Random Song Loading Pleasse Wait /stopmusic to stop the song.");
- PlayAudioStreamForPlayer(playerid, RandomMusic[randMusic]);//This function will play our desired radio. So we have to put the url between its brackets.
- return 1;
- }
- COMMAND:admins(playerid, params[])
- {
- new adminname[MAX_PLAYER_NAME];
- new count=0;
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- GetPlayerName(playerid, adminname, sizeof(adminname));
- if(IsPlayerConnected(i))
- {
- if(WorldInfo[i][AdminLevel] == 12 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Owner: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 11 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Co-Owner: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 10 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Deputy Co-owner: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 9 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Stunt world Lead Administrator: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 8 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Roleplay world Lead Administrator: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 7 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Lead Administrator: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 6 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Lead Moderator: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 5 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 3 Administrator: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 4 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 2 Administrator: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 3 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 1 Administrator: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 2 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 2 Moderator: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 1 && WorldInfo[i][AdminDuty] == 0)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 1 Moderator: %s [ID %d]", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 12 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Owner: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, COLOR_PINK, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 11 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Co-Owner: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 10 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Deputy Co-owner: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 9 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Stunt world Lead Administrator: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 8 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Roleplay world Lead Administrator: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 7 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Lead Administrator: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 6 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Lead Moderator: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 5 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 3 Administrator: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 4 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 2 Administrator: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 3 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 1 Administrator: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 2 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 2 Moderator: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- if(WorldInfo[i][AdminLevel] == 1 && WorldInfo[i][AdminDuty] == 1)
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "Level 1 Moderator: %s [ID %d] On Duty", adminname,i);
- SendClientMessage(playerid, 0x42F3F198, string);
- count++;
- }
- }
- }
- //-----=[ rcon ]=------------------
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerAdmin(i))
- {
- new string[256];
- GetPlayerName(i, adminname, sizeof(adminname));
- format(string, 256, "%s [ID %d] [rcon admin]", adminname,i);
- if(WorldInfo[playerid][AdminLevel] >= 1) SendClientMessage(playerid, COLOR_WHITE, string);
- }
- }
- }
- if(count == 0) {
- SendClientMessage(playerid, blue, "There are currently No admins online."); }
- return 1;
- }
- //define's admin messages and commands
- //rangeban
- COMMAND:rangeban(playerid, params[])
- {
- new Target;
- new Reason[100];
- if(WorldInfo[playerid][AdminLevel] >=6)
- {
- if(!sscanf(params, "is", Target,Reason))
- {
- if(Target == INVALID_PLAYER_ID) return SendClientMessage(playerid,-1,"ERROR: Wrong player ID");
- if(Target == playerid) return SendClientMessage(playerid,-1,"ERROR: You cant ban yourself!");
- new tname[MAX_PLAYER_NAME];
- GetPlayerName(Target,tname,sizeof(tname));
- new pname[MAX_PLAYER_NAME];
- GetPlayerName(playerid,pname,sizeof(pname));
- new MyString[256];
- new TargetString[256];
- new rbandate[3];
- getdate(rbandate[0], rbandate[1], rbandate[2]);
- format(MyString,sizeof(MyString),"You have range banned %s(%d)! (Reason: %s)",tname, Target, Reason);
- format(TargetString,sizeof(TargetString),"{FF002B}Range banned by: {FFFFFF}%s\n\n{FF002B}Reason: {FFFFFF}%s\n\n{FF002B}Date: {FFFFFF}%02d/%02d/%04d\n\n{FFFFFF}Press F8 to take a screenshot and use this in unban appeal!", pname, Reason, rbandate[2], rbandate[1], rbandate[0]);
- ShowPlayerDialog(Target, 0, DIALOG_STYLE_MSGBOX, "{FF002B}RANGE BANNED!", TargetString, "OK", "");
- SendClientMessage(playerid,-1,MyString);
- new AllString[256];
- format(AllString,sizeof(AllString),"Administrator %s range banned player %s(%d)! (Reason: %s)",pname,tname,Target,Reason);
- SendClientMessageToAll(-1,AllString);
- new ip[50];
- GetPlayerIp(Target,ip,sizeof(ip));
- strdel(ip,strlen(ip)-4,strlen(ip));
- format(ip,sizeof(ip),"%s**.**",ip);
- format(ip,sizeof(ip),"banip %s",ip);
- SendRconCommand(ip);
- Kick(Target);
- }
- else SendClientMessage(playerid, -1, "USAGE: /rangeban <playerid> <reason>");
- }
- else SendClientMessage(playerid, -1, "Error: You are not an admin");
- return 1;
- }
- COMMAND:ahelp(playerid, params[])
- {
- if(WorldInfo[playerid][AdminLevel] >= 1)
- {
- SendClientMessage(playerid, 0xD8D8D8FF, "Level 1: /freeze /unfreeze");
- SendClientMessage(playerid, 0xD8D8D8FF, "Level 3: /acar /setmoney");
- SendClientMessage(playerid, 0xD8D8D8FF, "Level 6: /rangeban");
- SendClientMessage(playerid, 0xD8D8D8FF, "Level 7: /removestuntplayer /removeroleplayplayer /giveplayercar");
- }
- return 1;
- }
- COMMAND:unfreeze(playerid, params[])
- {
- if(WorldInfo[playerid][AdminLevel] >=1)
- {
- new id;
- if(!sscanf(params, "i", id))
- {
- if(IsPlayerConnected(id))
- {
- new Float:XZ, Float:YZ, Float:ZZ;
- GetPlayerPos(playerid, XZ,YZ,ZZ);
- if(WorldInfo[playerid][AdminLevel] >= 1)
- {
- new string[64];
- new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerName(id, PName, sizeof(PName));
- format(string, sizeof(string), "You Have Been UnFreezed By %s", name);
- SendClientMessage(id, 0xD8D8D8FF, string);
- format(string, sizeof(string), "You UnFreezed %s", PName);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- TogglePlayerControllable(id, 1);
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You Are Not Near The Player.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Player Is Not Conected.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /unfreeze [PlayerId/PartOfName]");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
- }
- //admin commands
- COMMAND:givepistol(playerid, params[])
- {
- new id;
- new weap;
- new ammo;
- if(WorldInfo[playerid][AdminLevel] >= 4)
- {
- if(IsPlayerConnected(id))
- {
- if(!sscanf(params, "iii", id, weap, ammo))
- {
- if(weap >= 22 && weap <= 24)
- {
- if(ammo >= 1 && ammo <= 5000)
- {
- WorldInfo[id][pAllowedPistol] = 1;
- new string[64];
- new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerName(id, PName, sizeof(PName));
- format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
- SendClientMessage(id, 0xD8D8D8FF, string);
- format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- GivePlayerWeapon(id, weap, ammo);
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /givepistol[PlayerId/PartOfName] [WeaponId] [Ammo]"),
- SendClientMessage(playerid, 0xD8D8D8FF, "22(Pistol) 23(SPistol) 24(Eagle)");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Player not connected!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
- }
- COMMAND:giveshotgun(playerid, params[])
- {
- new id;
- new weap;
- new ammo;
- if(WorldInfo[playerid][AdminLevel] >= 4)
- {
- if(IsPlayerConnected(id))
- {
- if(!sscanf(params, "iii", id, weap, ammo))
- {
- if(weap >= 25 && weap <= 27)
- {
- if(ammo >= 1 && ammo <= 5000)
- {
- WorldInfo[id][pAllowedShotgun] = 1;
- new string[64];
- new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerName(id, PName, sizeof(PName));
- format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
- SendClientMessage(id, 0xD8D8D8FF, string);
- format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- GivePlayerWeapon(id, weap, ammo);
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /giveshotgun[PlayerId/PartOfName] [WeaponId] [Ammo]"),
- SendClientMessage(playerid, 0xD8D8D8FF, "25(Shotgun) 26(Sawnoff) 27(Combat Shotgun)");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Player not connected!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
- }
- COMMAND:giveuzi(playerid, params[])
- {
- new id;
- new weap;
- new ammo;
- if(WorldInfo[playerid][AdminLevel] >= 4)
- {
- if(IsPlayerConnected(id))
- {
- if(!sscanf(params, "iii", id, weap, ammo))
- {
- if(weap >= 28 && weap <= 32)
- {
- if(ammo >= 1 && ammo <= 5000)
- {
- WorldInfo[id][pAllowedUzi] = 1;
- new string[64];
- new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerName(id, PName, sizeof(PName));
- format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
- SendClientMessage(id, 0xD8D8D8FF, string);
- format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- GivePlayerWeapon(id, weap, ammo);
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /giveuzi[PlayerId/PartOfName] [WeaponId] [Ammo]"),
- SendClientMessage(playerid, 0xD8D8D8FF, "28(Micro uzi) 29(MP5) 32(TEC-9)");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Player not connected!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
- }
- COMMAND:givemachinegun(playerid, params[])
- {
- new id;
- new weap;
- new ammo;
- if(WorldInfo[playerid][AdminLevel] >= 4)
- {
- if(IsPlayerConnected(id))
- {
- if(!sscanf(params, "iii", id, weap, ammo))
- {
- if(weap >= 30 && weap <= 31)
- {
- if(ammo >= 1 && ammo <= 5000)
- {
- WorldInfo[id][pAllowedMachinegun] = 1;
- new string[64];
- new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerName(id, PName, sizeof(PName));
- format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
- SendClientMessage(id, 0xD8D8D8FF, string);
- format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- GivePlayerWeapon(id, weap, ammo);
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /givemachinegun[PlayerId/PartOfName] [WeaponId] [Ammo]"),
- SendClientMessage(playerid, 0xD8D8D8FF, "30(Ak47) 31(M4)");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You Need Rcon Admin To Use This Command!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
- }
- COMMAND:givesniper(playerid, params[])
- {
- new id;
- new weap;
- new ammo;
- if(WorldInfo[playerid][AdminLevel] >= 4)
- {
- if(!sscanf(params, "iii", id, weap, ammo))
- {
- if(IsPlayerConnected(id))
- {
- if(weap >= 33 && weap <= 34)
- {
- if(ammo >= 1 && ammo <= 5000)
- {
- WorldInfo[id][pAllowedSniper] = 1;
- new string[64];
- new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerName(id, PName, sizeof(PName));
- format(string, sizeof(string), "%s has given You weapon %d with %d ammu.", name, weap, ammo);
- SendClientMessage(id, 0xD8D8D8FF, string);
- format(string, sizeof(string), "You gave weapon %d with %d ammu to %s .", weap, ammo, PName);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- GivePlayerWeapon(id, weap, ammo);
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Max. Ammo is 5000");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Invalid weapon id!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Player Is Not Connected");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /givesniper[PlayerId/PartOfName] [WeaponId] [Ammo]"),
- SendClientMessage(playerid, 0xD8D8D8FF, "33(Country rifle) 34(Sniper)");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You need level 4 admin to use this!");
- }
- COMMAND:makeadmin(playerid, params[])
- {
- new id;
- new AdminLevel2;
- if(!sscanf(params, "ii", id, AdminLevel2))
- {
- if(WorldInfo[playerid][AdminLevel] >= 10 || IsPlayerAdmin(playerid))
- {
- if(IsPlayerConnected(id))
- {
- if((AdminLevel2 >= 1 && AdminLevel2 <= 12) || AdminLevel2 == 0)
- {
- new string[64];
- new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerName(id, PName, sizeof(PName));
- format(string, sizeof(string), "%s Has Given You %d Admin Level.", name, AdminLevel2);
- SendClientMessage(id, 0xD8D8D8FF, string);
- format(string, sizeof(string), "You Gave %d Admin Level To %s .", AdminLevel2, PName);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- WorldInfo[id][AdminLevel] = AdminLevel2;
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Avaliable Levels: 1, 2, 3, 4 upto 9.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Player Is Not Connected");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You Need Rcon Admin To Use This Command!");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /makeadmin [PlayerId/PartOfName] [AdminLevel]");
- }
- COMMAND:setmoney(playerid, params[])
- {
- new id;
- new ammount;
- if(!sscanf(params, "ii", id, ammount))
- {
- if(WorldInfo[playerid][AdminLevel] >= 3)
- {
- if(IsPlayerConnected(id))
- {
- if(ammount <= 10000000000)
- {
- new string[64];
- new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerName(id, PName, sizeof(PName));
- format(string, sizeof(string), "%s Has Given You %d.", name, ammount);
- SendClientMessage(id, 0xD8D8D8FF, string);
- format(string, sizeof(string), "You Gave %d Money To %s .", ammount, PName);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- SetPlayerMoney(id, ammount);
- StuntAccountInfo[id][pCash] = ammount;
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You can't give so much");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Player is not connected.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not admin level 3");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /setmoney [PlayerId/PartOfName] [Ammount]");
- }
- COMMAND:givedonationpack1(playerid, params[])
- {
- new id;
- if(!sscanf(params, "i", id))
- {
- if(WorldInfo[playerid][AdminLevel] >= 10)
- {
- if(IsPlayerConnected(id))
- {
- WorldInfo[id][pDonator] = 1;
- SendClientMessage(id, COLOR_GREEN, "Congratz, You have been made a Donator.");
- SendClientMessage(id, COLOR_GREEN, "We Would like to say thank you for your support.");
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Player is not connected.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not admin level 3");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /money [PlayerId/PartOfName] [Ammount]");
- }
- COMMAND:aduty(playerid, params[])
- {
- if(WorldInfo[playerid][AdminLevel] >= 1)
- {
- if(WorldInfo[playerid][AdminDuty] == 0)
- {
- new string[128];
- WorldInfo[playerid][AdminDuty] = 1;
- format(string, sizeof(string), "Admin %s is now on duty", GetName(playerid));
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- else
- {
- new string[128];
- WorldInfo[playerid][AdminDuty] = 0;
- format(string, sizeof(string), "Admin %s is now off duty", GetName(playerid));
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not an admin");
- }
- COMMAND:acar(playerid, params[])
- {
- if(WorldInfo[playerid][AdminLevel] >= 3)
- {
- new carid, carcolor1, carcolor2;
- if(!sscanf(params, "iii", carid, carcolor1, carcolor2))
- {
- if(carid >= 400 && carid <= 611)
- {
- if(carcolor1 >= 0 && carcolor1 <= 252)
- {
- if(carcolor2 >= 0 && carcolor2 <= 252)
- {
- new Float:XZ, Float:YZ, Float:ZZ;
- GetPlayerPos(playerid, XZ, YZ, ZZ);
- SetVehicleVirtualWorld( CreateVehicle(carid, XZ+4, YZ, ZZ, 10, carcolor1, carcolor2, 0), GetPlayerVirtualWorld(playerid));
- SendClientMessage(playerid, 0xD8D8D8FF, "Vehicle Spawned");
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 400 and 611 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /acar [VehicleId] [Color 1][Color 2]");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
- }
- forward SendMessageToChatDutyAdmins(color,const string[]);
- public SendMessageToChatDutyAdmins(color,const string[]) //create the callback, including color and string
- {
- for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
- {
- if(IsPlayerConnected(i) == 1) //the admin gotta be connected
- if(WorldInfo[i][AdminLevel] >= 1) //and his level gotta be at least 1 (or higher)
- if(StuntAccountInfo[i][ChatDuty] == 1) //and his level gotta be at least 1 (or higher)
- SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
- }
- return 1;
- }
- forward SendMessageToHDutyAdmins(color,const string[]);
- public SendMessageToHDutyAdmins(color,const string[]) //create the callback, including color and string
- {
- for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
- {
- if(IsPlayerConnected(i) == 1) //the admin gotta be connected
- if(WorldInfo[i][AdminLevel] >= 1) //and his level gotta be at least 1 (or higher)
- if(StuntAccountInfo[i][HAdminDuty] == 1) //and his level gotta be at least 1 (or higher)
- SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
- }
- return 1;
- }
- forward SendMessageToStuntOwner(color,const string[]);
- public SendMessageToStuntOwner(color,const string[]) //create the callback, including color and string
- {
- for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
- {
- if(IsPlayerConnected(i) == 1) //the admin gotta be connected
- if(WorldInfo[i][AdminLevel] == 12) //and his level gotta be at least 1 (or higher)
- SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
- }
- return 1;
- }
- forward SendMessageToRPOwner(color,const string[]);
- public SendMessageToRPOwner(color,const string[]) //create the callback, including color and string
- {
- for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
- {
- if(IsPlayerConnected(i) == 1) //the admin gotta be connected
- if(RPAccountInfo[i][rAdminLevel] == 12) //and his level gotta be at least 1 (or higher)
- SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
- }
- return 1;
- }
- forward SendMessageToStunt(color,const string[]);
- public SendMessageToStunt(color,const string[]) //create the callback, including color and string
- {
- for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
- {
- if(IsPlayerConnected(i) == 1) //the admin gotta be connected
- if(WorldInfo[i][pWorld] == 2) //and his level gotta be at least 1 (or higher)
- SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
- }
- return 1;
- }
- //house system
- public rentfee()
- {
- new str[255],str2[255],pname[24];
- for(new houseid=0;houseid<MAX_HOUSES;houseid++)
- {
- format(str, sizeof(str), "Houses/houseid%d", houseid);
- if(strcmp(hInfo[houseid][Renter], "ForRent", true))
- {
- for(new ii=0;ii<MAX_PLAYERS;ii++)
- {
- if(IsPlayerConnected(ii))
- {
- GetPlayerName(ii, pname, 24);
- if(strcmp(hInfo[houseid][Renter], pname, true)==0)
- {
- format(str2, sizeof(str2), "You have to pay $%d for the hour you have rented the hous!", hInfo[houseid][Rentcost]);
- SendClientMessage(ii, c_y, str2);
- dini_IntSet(str, "RentGet", dini_Int(str, "RentGet")+hInfo[houseid][Rentcost]);
- dini_IntSet(str, "RentPay", dini_Int(str, "RentPay")+hInfo[houseid][Rentcost]);
- hInfo[houseid][Rentfee]=1;
- }
- }
- }
- if(hInfo[houseid][Rentfee]==0)
- {
- if(strcmp(hInfo[houseid][Renter],"ForRent"))
- {
- dini_IntSet(str, "RentGet", dini_Int(str, "RentGet")+hInfo[houseid][Rentcost]);
- dini_IntSet(str, "RentPay", dini_Int(str, "RentPay")+hInfo[houseid][Rentcost]);
- }
- }
- hInfo[houseid][Rentfee]=0;
- }
- }
- }
- stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
- {
- if(IsPlayerConnected(playerid))
- {
- new Float:oldposx, Float:oldposy, Float:oldposz;
- new Float:tempposx, Float:tempposy, Float:tempposz;
- GetPlayerPos(playerid, oldposx, oldposy, oldposz);
- tempposx = (oldposx -x);
- tempposy = (oldposy -y);
- tempposz = (oldposz -z);
- if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
- {
- return 1;
- }
- }
- return 0;
- }
- stock GetHouseID(playerid)
- {
- for(new i=0; i<MAX_HOUSES; i++)
- {
- if(PlayerToPoint(MAX_DISTANCE_TO_PROP, playerid, hInfo[i][iconx], hInfo[i][icony], hInfo[i][iconz]))
- {
- return i;
- }
- }
- return -255;
- }
- stock GetHouseStats(playerid, hid)
- {
- new str2[256];
- format(str2, sizeof(str2), "Owned by: %s", hInfo[hid][Name]);
- SendClientMessage(playerid, c_y, str2);
- if(strcmp(hInfo[hid][Renter],"ForRent",true))
- {
- format(str2, sizeof(str2), "Rented by: %s", hInfo[hid][Renter]);
- SendClientMessage(playerid, c_y, str2);
- }
- format(str2,sizeof(str2),"Cost: %i",hInfo[hid][Cost]);
- SendClientMessage(playerid, c_y, str2);
- }
- CMD:sell(playerid,params[])
- {
- #pragma unused params
- new str[255],str1[256],pname[24],housenumber;
- housenumber = GetHouseID(playerid);
- GetPlayerName(playerid, pname, 24);
- format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
- if (strcmp(hInfo[housenumber][Name],pname,false)) return SendClientMessage(playerid, c_r, "This house isn't yours!");
- SendClientMessage(playerid, c_y, "You have sold your house!");
- format(str, sizeof(str), "%s has sold houseid 0",pname);
- print(str);
- GivePlayerMoney(playerid, hInfo[housenumber][Sell]);
- dini_Set(str1, "Name", "ForSale");
- hInfo[housenumber][Locked] = dini_IntSet(str1,"Locked",1);
- format(hInfo[housenumber][Name],255,"ForSale");
- format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
- if (!dini_Exists(str1)) dini_Create(str1);
- dini_IntSet(str1, "Houseid", -255);
- DestroyDynamicPickup(HousePickup[housenumber]);
- HousePickup[housenumber] = CreateDynamicPickup(1273, 23, hInfo[housenumber][iconx], hInfo[housenumber][icony], hInfo[housenumber][iconz]);
- RemovePlayerMapIcon(playerid, housemapicon[playerid]);
- return 1;
- }
- CMD:buy(playerid,params[])
- {
- if(abuyh == 1) return SendClientMessage(playerid, COLOR_RED, "Error: You are not aloud to buy houses just now");
- #pragma unused params
- new str[255],str1[255],pname[24], housenumber;
- housenumber = GetHouseID(playerid);
- if(housenumber == -1) return SendClientMessage(playerid, c_r, "You are not in a house icon!");
- GetPlayerName(playerid, pname, 24);
- format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
- if(dini_Exists(str1))
- {
- if (dini_Int(str1, "Houseid")!=-255) return SendClientMessage(playerid, c_r, "You can only buy one house!");
- }
- format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
- if (strcmp(hInfo[housenumber][Name],"ForSale",true)) return SendClientMessage(playerid, c_r, "This house isn't for sale!");
- if(GetPlayerMoney(playerid)<hInfo[housenumber][Cost]) return SendClientMessage(playerid, c_r, "Not enough money!");
- SendClientMessage(playerid, c_y, "You have bought the house!");
- format(str, sizeof(str), "%s has bought houseid 0",pname);
- print(str);
- GivePlayerMoney(playerid, -hInfo[housenumber][Cost]);
- dini_Set(str1, "Name", pname);
- hInfo[housenumber][Name]=pname;
- hInfo[housenumber][Locked] = dini_IntSet(str1,"Locked",0);
- format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
- if (!dini_Exists(str1)) dini_Create(str1);
- new Float:sy, Float:sx, Float:sz;
- dini_IntSet(str1, "Houseid", housenumber);
- if(!dini_Isset(str1,"Rentid"))
- {
- dini_IntSet(str1, "Rentid", -255);
- }
- GetPlayerPos(playerid, sx,sy,sz);
- dini_FloatSet(str1, "SpawnX", sx);
- dini_FloatSet(str1, "SpawnY", sy);
- dini_FloatSet(str1, "SpawnZ", sz);
- dini_IntSet(str1, "SpawnInt", GetPlayerInterior(playerid));
- DestroyDynamicPickup(HousePickup[housenumber]);
- HousePickup[housenumber] = CreateDynamicPickup(1272, 23, hInfo[housenumber][iconx], hInfo[housenumber][icony], hInfo[housenumber][iconz]);
- return 1;
- }
- CMD:makehousesbuyable(playerid,params[])
- {
- abuyh = 0;
- SendClientMessageToAll(COLOR_ORANGE, "Admin Command: All the house's in the server are now buyable");
- return 1;
- }
- CMD:makehousesunbuyable(playerid,params[])
- {
- abuyh = 1;
- SendClientMessageToAll(COLOR_ORANGE, "Admin Command: The house's are now unbuyable, Player's are not allowed to buy them.");
- return 1;
- }
- CMD:hlock(playerid,params[])
- {
- #pragma unused params
- new str1[256],pname[24],housenumber;
- housenumber = GetHouseID(playerid);
- GetPlayerName(playerid, pname, 24);
- format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
- if(strcmp(hInfo[housenumber][Name],pname,true)==0)
- {
- SendClientMessage(playerid, c_y, "You have locked your house!");
- dini_IntSet(str1,"Locked",1);
- hInfo[housenumber][Locked] = 1;
- }
- else if(strcmp(hInfo[housenumber][Renter],pname,true)==0)
- {
- SendClientMessage(playerid, c_y, "You have locked your house!");
- dini_IntSet(str1,"Locked",1);
- hInfo[housenumber][Locked] = 1;
- }
- else
- {
- SendClientMessage(playerid, c_r, "This house isn't yours!");
- }
- return 1;
- }
- CMD:hunlock(playerid,params[])
- {
- #pragma unused params
- new str1[256],pname[24],housenumber;
- housenumber = GetHouseID(playerid);
- GetPlayerName(playerid, pname, 24);
- format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
- if(strcmp(hInfo[housenumber][Name],pname,true)==0)
- {
- SendClientMessage(playerid, c_y, "You have unlocked your house!");
- dini_IntSet(str1,"Locked",0);
- hInfo[housenumber][Locked] = 0;
- }
- else if(strcmp(hInfo[housenumber][Renter],pname,true)==0)
- {
- SendClientMessage(playerid, c_y, "You have unlocked your house!");
- dini_IntSet(str1,"Locked",0);
- hInfo[housenumber][Locked] = 0;
- }
- else
- {
- SendClientMessage(playerid, c_r, "This house isn't yours!");
- }
- return 1;
- }
- CMD:henter(playerid,params[])
- {
- #pragma unused params
- new str1[255],pname[24],housenumber;
- housenumber = GetHouseID(playerid);
- GetPlayerPos(playerid, housex, housey, housez);
- format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
- GetPlayerName(playerid, pname, 24);
- if(hInfo[housenumber][Locked]==1) return SendClientMessage(playerid, c_r, "This house is locked!");
- playerworld[playerid] = GetPlayerVirtualWorld(playerid);
- SendClientMessage(playerid, c_y, "You entered the house!");
- SetPlayerVirtualWorld(playerid, hInfo[housenumber][Virtualworld]);
- SetPlayerInterior(playerid, hInfo[housenumber][Interior]);
- SetPlayerPos(playerid, hInfo[housenumber][InteriorX], hInfo[housenumber][InteriorY], hInfo[housenumber][InteriorZ]);
- playerinterior[playerid] = hInfo[housenumber][Interior];
- return 1;
- }
- CMD:hexit(playerid,params[])
- {
- #pragma unused params
- if(GetPlayerInterior(playerid)==playerinterior[playerid])
- {
- SetPlayerPos(playerid, housex, housey, housez);
- SetPlayerInterior(playerid, playerworld[playerid]);
- }
- else
- {
- SendClientMessage(playerid, c_r, "You have not entered a house!");
- }
- return 1;
- }
- CMD:home(playerid,params[])
- {
- #pragma unused params
- new str1[256],pname[24];
- GetPlayerName(playerid, pname, 24);
- format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
- if(!dini_Exists(str1)) return SendClientMessage(playerid, c_r, "You don't own a house!");
- if(dini_Int(str1, "Houseid")!=-255)
- {
- housemapicon[playerid] = SetPlayerMapIcon(playerid,31,hInfo[dini_Int(str1, "Houseid")][iconx], hInfo[dini_Int(str1, "Houseid")][icony], hInfo[dini_Int(str1, "Houseid")][iconz],31,c_y);
- }
- else if (dini_Int(str1, "Rentid")!=-255)
- {
- housemapicon[playerid] = SetPlayerMapIcon(playerid,31,hInfo[dini_Int(str1, "Rentid")][iconx], hInfo[dini_Int(str1, "Rentid")][icony], hInfo[dini_Int(str1, "Rentid")][iconz],31,c_y);
- }
- else
- {
- SendClientMessage(playerid, c_r, "You don't own a house!");
- }
- return 1;
- }
- CMD:setrent(playerid,params[])
- {
- new str[256],str1[256],pname[24],housenumber;
- housenumber = GetHouseID(playerid);
- GetPlayerName(playerid, pname, 24);
- format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
- str = dini_Get(str1,"Name");
- if (strcmp(str,pname,true)) return SendClientMessage(playerid, c_r, "This house isn't yours!");
- new rentcost, rentable;
- if (sscanf(params, "dd", rentable, rentcost)) return SendClientMessage(playerid, c_r, "USAGE: /setrent [0/1] [Rentcost]");
- else if (rentcost<MIN_RENTCOST)
- {
- format(str, sizeof(str), "The minimum rentcost is $%i.", MIN_RENTCOST);
- SendClientMessage(playerid, c_r, str);
- return 1;
- }
- else if (rentcost>MAX_RENTCOST)
- {
- format(str, sizeof(str), "The maximum rentcost is $%i.", MAX_RENTCOST);
- SendClientMessage(playerid, c_r, str);
- return 1;
- }
- else if(rentable==1)
- {
- SendClientMessage(playerid, c_y, "Your house is now rentable!");
- hInfo[housenumber][Rentable] = 1;
- dini_IntSet(str1, "Rentable", 1);
- hInfo[housenumber][Rentcost] = rentcost;
- dini_IntSet(str1, "Rentcost", rentcost);
- return 1;
- }
- else if(rentable==0)
- {
- SendClientMessage(playerid, c_y, "Your house is now not rentable!");
- hInfo[housenumber][Rentable] = 0;
- dini_IntSet(str1, "Rentable", 0);
- hInfo[housenumber][Rentcost] = rentcost;
- dini_IntSet(str1, "Rentcost", rentcost);
- return 1;
- }
- return 1;
- }
- CMD:rent(playerid,params[])
- {
- #pragma unused params
- new str[255],str1[256],str5[255],pname[24],housenumber;
- housenumber = GetHouseID(playerid);
- GetPlayerName(playerid, pname, 24);
- format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
- format(str5, sizeof(str5), "Houses/Users/%s", udb_encode(pname));
- if(dini_Isset(str5, "Rentid"))
- {
- if (dini_Int(str5, "Rentid")!=-255) return SendClientMessage(playerid, c_r, "You can only rent one house at a time!");
- }
- format(str, sizeof(str), dini_Get(str1,"Name"));
- if (strcmp(str,"ForSale",true)==0) return SendClientMessage(playerid, c_r, "This house has no owner!");
- if(hInfo[housenumber][Rentable]==0 || strcmp(hInfo[housenumber][Renter], "ForRent", true)) return SendClientMessage(playerid, c_r, "This house is not rentable!");
- if(GetPlayerMoney(playerid)<hInfo[housenumber][Rentcost]) return SendClientMessage(playerid, c_r, "Not enough money!");
- dini_Set(str1, "Renter", udb_encode(pname));
- format(hInfo[housenumber][Renter], 24, udb_encode(pname));
- dini_IntSet(str5, "Rentid", housenumber);
- format(str1, sizeof(str1), "You have rented this house, it will cost you $%i an hour!", hInfo[housenumber][Rentcost]);
- SendClientMessage(playerid, c_y, str1);
- return 1;
- }
- CMD:unrent(playerid,params[])
- {
- #pragma unused params
- new str1[256],pname[24],housenumber;
- housenumber = GetHouseID(playerid);
- GetPlayerName(playerid, pname, 24);
- format(str1, sizeof(str1), "Houses/houseid%d", housenumber);
- if(strcmp(hInfo[housenumber][Renter], pname, true)) return SendClientMessage(playerid, c_r, "You aren't renting this house!");
- dini_Set(str1, "Renter", "ForRent");
- format(hInfo[housenumber][Renter], 24, "ForRent");
- format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
- dini_IntSet(str1, "Rentid", -255);
- SendClientMessage(playerid, c_y, "You have unrented this house!");
- return 1;
- }
- CMD:house(playerid,params[])
- {
- #pragma unused params
- SendClientMessage(playerid, c_y, "-------------");
- SendClientMessage(playerid, c_y, "House options");
- SendClientMessage(playerid, c_y, "-------------");
- SendClientMessage(playerid, c_y, "/setrent [0/1] [Cost] - House owner");
- SendClientMessage(playerid, c_y, "/ordercar [CarName] - House owner");
- SendClientMessage(playerid, c_y, "/getrent - House owner");
- SendClientMessage(playerid, c_y, "/lock - Renter/Owner");
- SendClientMessage(playerid, c_y, "/unlock - Renter/Owner");
- SendClientMessage(playerid, c_y, "/payrent - Renter");
- SendClientMessage(playerid, c_y, "/unrent - Renter");
- SendClientMessage(playerid, c_y, "/rent - Guest");
- SendClientMessage(playerid, c_y, "-------------");
- return 1;
- }
- CMD:housestats(playerid,params[])
- {
- #pragma unused params
- new str[256],housenumber;
- housenumber = GetHouseID(playerid);
- format(str, sizeof(str), "Owner: %s", hInfo[housenumber][Name]);
- SendClientMessage(playerid, c_y, str);
- format(str, sizeof(str), "Cost: $%d", hInfo[housenumber][Cost]);
- SendClientMessage(playerid, c_y, str);
- format(str, sizeof(str), "Renter: %s", hInfo[housenumber][Renter]);
- SendClientMessage(playerid, c_y, str);
- format(str, sizeof(str), "Rentcost: $%d / hour", hInfo[housenumber][Rentcost]);
- SendClientMessage(playerid, c_y, str);
- return 1;
- }
- CMD:getrent(playerid,params[])
- {
- #pragma unused params
- new pname[24],housenumber;
- housenumber = GetHouseID(playerid);
- GetPlayerName(playerid, pname, 24);
- if(strcmp(hInfo[housenumber][Name],pname,true)==0)
- {
- new str[255];
- SendClientMessage(playerid, c_y, "You collected the money of the renter!");
- format(str, sizeof(str), "Houses/houseid%d", housenumber);
- GivePlayerMoney(playerid, dini_Int(str, "RentGet"));
- dini_IntSet(str, "RentGet", 0);
- }
- else
- {
- SendClientMessage(playerid, c_r, "This house isn't yours!");
- }
- return 1;
- }
- CMD:payrent(playerid,params[])
- {
- #pragma unused params
- new pname[24],housenumber;
- housenumber = GetHouseID(playerid);
- GetPlayerName(playerid, pname, 24);
- if(strcmp(hInfo[housenumber][Renter],pname,true)==0)
- {
- new str[255];
- format(str, sizeof(str), "Houses/houseid%d", housenumber);
- if(GetPlayerMoney(playerid)<dini_Int(str, "RentPay")) return SendClientMessage(playerid, c_r, "You don't have enough money to pay the house owner!");
- SendClientMessage(playerid, c_y, "You have payed the money to the owner!");
- GivePlayerMoney(playerid, -dini_Int(str, "RentPay"));
- dini_IntSet(str, "RentPay", 0);
- }
- else
- {
- SendClientMessage(playerid, c_r, "You aren't renting this house!");
- }
- return 1;
- }
- AddHouse(houseid, Float:iconX, Float:iconY, Float:iconZ, Float:interiorX, Float:interiorY, Float:interiorZ, Costa, Sella, Interiora, virtualworld)
- {
- new house[256];
- format(house, sizeof(house), "Houses/houseid%d",houseid);
- if(!dini_Exists(house))
- {
- dini_Create(house);
- format(hInfo[houseid][Name], 24, "ForSale");
- dini_Set(house, "Name", "ForSale");
- format(hInfo[houseid][Renter], 24, "ForRent");
- dini_Set(house, "Renter", "ForRent");
- hInfo[houseid][Rentable] = 0;
- dini_IntSet(house, "Rentable", 0);
- hInfo[houseid][Rentcost] = 0;
- dini_IntSet(house, "Rentcost", 0);
- hInfo[houseid][Cost] = Costa;
- dini_IntSet(house, "Cost", Costa);
- hInfo[houseid][Sell] = Sella;
- dini_IntSet(house, "Sell", Sella);
- hInfo[houseid][Interior] = Interiora;
- dini_IntSet(house, "Interior", Interiora);
- dini_IntSet(house, "Virtualworld", virtualworld);
- hInfo[houseid][Virtualworld] = virtualworld;
- hInfo[houseid][Locked] = 1;
- dini_IntSet(house, "Locked", 1);
- hInfo[houseid][InteriorX] = interiorX;
- hInfo[houseid][InteriorY] = interiorY;
- hInfo[houseid][InteriorZ] = interiorZ;
- dini_FloatSet(house, "X", interiorX);
- dini_FloatSet(house, "Y", interiorY);
- dini_FloatSet(house, "Z", interiorZ);
- dini_IntSet(house, "RentPay", 0);
- dini_IntSet(house, "RentGet", 0);
- cInfo[houseid][HouseCar] = 429;
- dini_IntSet(house, "HouseCar", 0);
- cInfo[houseid][CarModel] = 429;
- dini_IntSet(house, "CarModel", 0);
- cInfo[houseid][CarX] = 0;
- cInfo[houseid][CarY] = 0;
- cInfo[houseid][CarZ] = 0;
- dini_FloatSet(house, "CarX", 0);
- dini_FloatSet(house, "CarY", 0);
- dini_FloatSet(house, "CarZ", 0);
- cInfo[houseid][CarColor1] = 0;
- cInfo[houseid][CarColor2] = 0;
- dini_IntSet(house, "CarColor1", 0);
- dini_IntSet(house, "CarColor2", 0);
- cInfo[houseid][GotCar] = 0;
- print("-");
- print("--------------House Created--------------");
- printf("- Houseid: %d", houseid);
- printf("- Buy Cost: %d", Costa);
- printf("- Sell Cost: %d", Sella);
- printf("- Interior: %d", Interiora);
- printf("- VirtualWorld: %d", virtualworld);
- print("-----------------------------------------");
- print("-");
- }
- else
- {
- format(hInfo[houseid][Name], 24, dini_Get(house, "Name"));
- format(hInfo[houseid][Renter], 24, dini_Get(house, "Renter"));
- hInfo[houseid][Rentable] = dini_Int(house, "Rentable");
- hInfo[houseid][Rentcost] = dini_Int(house, "Rentcost");
- hInfo[houseid][Cost] = dini_Int(house, "Cost");
- hInfo[houseid][Sell] = dini_Int(house, "Sell");
- hInfo[houseid][Interior] = dini_Int(house, "Interior");
- hInfo[houseid][Locked] = dini_Int(house, "Locked");
- hInfo[houseid][InteriorX] = dini_Float(house, "X");
- hInfo[houseid][InteriorY] = dini_Float(house, "Y");
- hInfo[houseid][InteriorZ] = dini_Float(house, "Z");
- hInfo[houseid][Virtualworld] = dini_Int(house, "Virtualworld");
- }
- hInfo[houseid][iconx]=iconX;
- hInfo[houseid][icony]=iconY;
- hInfo[houseid][iconz]=iconZ;
- format(house, sizeof(house), "Houses/houseid%d",houseid);
- if(strcmp(hInfo[houseid][Name],"ForSale",true)==0)
- {
- HousePickup[houseid] = CreateDynamicPickup(1273, 23, iconX, iconY, iconZ, -1, 0, -1,100.0);
- }
- else
- {
- HousePickup[houseid] = CreateDynamicPickup(1272, 23, iconX, iconY, iconZ, -1, 0, -1,100.0);
- }
- }
- AddHouseCar(houseid, modelid, Float:Carx, Float:Cary, Float:Carz, color1, color2, respawn_delay)
- {
- new house[256];
- format(house, sizeof(house), "Houses/houseid%d",houseid);
- if(dini_Exists(house))
- {
- cInfo[houseid][GotCar] = 1;
- if(dini_Int(house, "CarModel")==0)
- {
- dini_IntSet(house, "CarModel", modelid);
- cInfo[houseid][CarModel] = modelid;
- cInfo[houseid][CarX] = Carx;
- cInfo[houseid][CarY] = Cary;
- cInfo[houseid][CarZ] = Carz;
- dini_FloatSet(house, "CarX", Carx);
- dini_FloatSet(house, "CarY", Cary);
- dini_FloatSet(house, "CarZ", Carz);
- cInfo[houseid][CarColor1] = color1;
- cInfo[houseid][CarColor2] = color2;
- dini_IntSet(house, "CarColor1", color1);
- dini_IntSet(house, "CarColor2", color2);
- dini_IntSet(house, "Respawn_Delay", respawn_delay);
- cInfo[houseid][Respawn_Delay] = respawn_delay;
- cInfo[houseid][HouseCar] = CreateVehicle(cInfo[houseid][CarModel], Carx, Cary, Carz, 0.0, color1, color2, respawn_delay);
- print("-");
- print("--------------Car Created--------------");
- printf("- Car Houseid: %d", houseid);
- printf("- Modelid: %d", modelid);
- printf("- Color 1: %d", color1);
- printf("- Color 2: %d", color2);
- printf("- Respawn Delay: %d", respawn_delay);
- print("---------------------------------------");
- print("-");
- }
- else
- {
- cInfo[houseid][CarModel] = dini_Int(house, "CarModel");
- }
- cInfo[houseid][CarX] = dini_Int(house, "CarX");
- cInfo[houseid][CarY] = dini_Int(house, "CarY");
- cInfo[houseid][CarZ] = dini_Int(house, "CarZ");
- cInfo[houseid][CarColor1] = dini_Int(house, "CarColor1");
- cInfo[houseid][CarColor2] = dini_Int(house, "CarColor2");
- cInfo[houseid][Respawn_Delay] = dini_Int(house, "Respawn_Delay");
- cInfo[houseid][HouseCar] = CreateVehicle(cInfo[houseid][CarModel], Carx, Cary, Carz, 0.0, color1, color2, respawn_delay);
- }
- }
- stock SpawnPlayerAtHouse(playerid)
- {
- new str1[256],pname[24],str[256];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(str1, sizeof(str1), "Houses/Users/%s", udb_encode(pname));
- if (dini_Exists(str1))
- {
- if(dini_Int(str1,"Houseid")!=-255)
- {
- new Float:x,Float:y,Float:z;
- str = dini_Get(str1,"SpawnInt");
- SetPlayerInterior(playerid, strval(str));
- playerinterior[playerid] = strval(str);
- x = dini_Float(str1,"SpawnX");
- y = dini_Float(str1,"SpawnY");
- z = dini_Float(str1,"SpawnZ");
- SetPlayerPos(playerid, x, y, z);
- }
- }
- return 1;
- }
- stock AddHouseFromFile(DFileName[])
- {
- if(!fexist(DFileName)) return 0;
- new File:HouseFile, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, HVW, HINT,hCost,hSell, hId, hTotal, Line[128];
- HouseFile = fopen(DFileName, io_read);
- while(fread(HouseFile, Line))
- {
- if(Line[0] == '/' || isnull(Line)) continue;
- unformat(Line, "ffffffiiiii", HX, HY, HZ, HIX, HIY, HIZ, HVW, HINT, hCost, hSell, hId);
- AddHouse(hId, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, hCost, hSell, HINT, HVW);
- hTotal++;
- }
- fclose(HouseFile);
- return hTotal;
- }
- stock AddHouseToFile(DFileName[], Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, HVW, HINT, hCost, hSell, hId)
- {
- new File:HouseFile, Line[128];
- format(Line, sizeof(Line), "AddHouse(%i, %f, %f, %f, %f, %f, %f, %i, %i, %i, %i)\r\n", hId, HX, HY, HZ, HIX, HIY, HIZ, hCost, hSell, HINT, HVW);
- HouseFile = fopen(DFileName, io_append);
- fwrite(HouseFile, Line);
- fclose(HouseFile);
- return 1;
- }
- COMMAND:chelp(playerid, params[])
- {
- if(WorldInfo[playerid][AdminLevel] >= 10)
- {
- SendClientMessage(playerid, COLOR_ORANGE, "Creating a house commands");
- SendClientMessage(playerid, COLOR_ORANGE, "/createhouse1 (Big type of int 9 of these) /createhouse2 (Mansion int / beach house 3 of these)");
- SendClientMessage(playerid, COLOR_ORANGE, "/createhouse3 (Big Gang type of house)");
- }
- else {
- SendClientMessage(playerid, COLOR_RED, "Error: You are not an admin with level 10");
- }
- return 1;
- }
- COMMAND:createhouse1(playerid, params[])
- {
- new hId, hCost, hSell, HINT, HVW;
- if(WorldInfo[playerid][AdminLevel] >= 10)
- {
- if(!sscanf(params, "iiii", hId, hCost, hSell, HVW))
- {
- if(hId >= 0 && hId <= 11000)
- {
- if(hCost >= 0 && hCost <= 9000000)
- {
- if(hSell >= 0 && hSell <= 9000000)
- {
- new Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ;
- GetPlayerPos(playerid, HX, HY, HZ);
- HIX = 247.7055;
- HIY = 1637.7229;
- HIZ = -13.6428;
- HINT = 1;
- AddHouse(hId, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, hCost, hSell, HINT, HVW);
- AddHouseToFile(HOUSE_FILE_NAME, HX, HY, HZ, HIX, HIY, HIZ, HVW, HINT, hCost, hSell, hId);
- SendClientMessage(playerid, 0xD8D8D8FF, "House Created and saved.");
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only sell between 1 and 9000000 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only cost prices between 1 and 9000000 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 1 and 11000 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /createhouse1[hId][hCost][hSell][VW]");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not an which is level 10.");
- }
- COMMAND:createhouse2(playerid, params[])
- {
- new hId, hCost, hSell, HINT, HVW;
- if(WorldInfo[playerid][AdminLevel] >= 10)
- {
- if(!sscanf(params, "iiii", hId, hCost, hSell, HVW))
- {
- if(hId >= 0 && hId <= 11000)
- {
- if(hCost >= 0 && hCost <= 9000000)
- {
- if(hSell >= 0 && hSell <= 9000000)
- {
- new Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ;
- GetPlayerPos(playerid, HX, HY, HZ);
- HIX = 219.3650;
- HIY = 1557.2015;
- HIZ = -30.8658;
- HINT = 1;
- AddHouse(hId, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, hCost, hSell, HINT, HVW);
- AddHouseToFile(HOUSE_FILE_NAME, HX, HY, HZ, HIX, HIY, HIZ, HVW, HINT, hCost, hSell, hId);
- SendClientMessage(playerid, 0xD8D8D8FF, "House Created and saved.");
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only sell between 1 and 9000000 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only cost prices between 1 and 9000000 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 1 and 11000 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /createhouse2[hId][hCost][hSell][VW]");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not admin level 10.");
- }
- COMMAND:createhouse3(playerid, params[])
- {
- new hId, hCost, hSell, HINT, HVW;
- if(WorldInfo[playerid][AdminLevel] >= 10)
- {
- if(!sscanf(params, "iiii", hId, hCost, hSell, HVW))
- {
- if(hId >= 0 && hId <= 11000)
- {
- if(hCost >= 0 && hCost <= 9000000)
- {
- if(hSell >= 0 && hSell <= 9000000)
- {
- new Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ;
- GetPlayerPos(playerid, HX, HY, HZ);
- HIX = 273.0248;
- HIY = 1551.9502;
- HIZ = -42.7530;
- HINT = 1;
- AddHouse(hId, Float:HX, Float:HY, Float:HZ, Float:HIX, Float:HIY, Float:HIZ, hCost, hSell, HINT, HVW);
- AddHouseToFile(HOUSE_FILE_NAME, HX, HY, HZ, HIX, HIY, HIZ, HVW, HINT, hCost, hSell, hId);
- SendClientMessage(playerid, 0xD8D8D8FF, "House Created and saved.");
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only sell between 1 and 9000000 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only cost prices between 1 and 9000000 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 1 and 11000 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /createbighouse[hId][hCost][hSell][VW]");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not an admin with level 10");
- }
- COMMAND:giveplayercar(playerid, params[])
- {
- if(WorldInfo[playerid][AdminLevel] >= 7)
- {
- new carid;
- new id;
- if(!sscanf(params, "ii", id, carid))
- {
- if(IsPlayerConnected(id))
- {
- if(carid >= 400 && carid <= 611)
- {
- new Float:XZ, Float:YZ, Float:ZZ;
- GetPlayerPos(playerid, XZ, YZ, ZZ);
- SetVehicleVirtualWorld( CreatePlayerVehicle(id, carid, XZ+4, YZ, ZZ, 10), GetPlayerVirtualWorld(id));
- SendClientMessage(playerid, 0xD8D8D8FF, "Vehicle Spawned");
- new string[64];
- new name[MAX_PLAYER_NAME], PName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- GetPlayerName(id, PName, sizeof(PName));
- format(string, sizeof(string), "%s has given You Vehicle %d", name, carid);
- SendClientMessage(id, 0xD8D8D8FF, string);
- format(string, sizeof(string), "You gave vehicle %d to %s .", carid, PName);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- return 1;
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Only car id's between 400 and 611 are avaliable.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "Player not connected.");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /giveplayercar [playerid] [carid]");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
- }
- COMMAND:removestuntplayer(playerid, params[])
- {
- if(WorldInfo[playerid][AdminLevel] >= 7)
- {
- new name[MAX_PLAYER_NAME];
- new reason[128];
- new string[128];
- if(!sscanf(params, "ss", name, reason))
- {
- new sfile[256], dfile[256];
- format(sfile, sizeof(sfile), STUNT_USER_FILE, name);
- format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
- if(dini_Exists(sfile))
- {
- dini_Remove(sfile);
- SendClientMessage(playerid, COLOR_ORANGE, "Server: User Succesfully removed.");
- format(string, sizeof(string), "Admin %s: Has Removed Stunt User %s for %s.", GetName(playerid), name, reason);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- if(IsPlayerConnected(GetPlayerId(name)))
- {
- RPAccountInfo[playerid][rHasSpawned] = 0;
- RPAccountInfo[playerid][rSSkin] = 0;
- StuntAccountInfo[playerid][pPskin] = 0;
- StuntAccountInfo[playerid][pHasSpawned] = 0;
- SetSpawnInfo(playerid, 0, 0, 1958.3783, 1343.1572, 15.3746, 90, 0, 0, 0, 0, 0, 0);
- SendClientMessage(playerid, COLOR_ORANGE, "Your Account has been Removed, You have been sent to the main menu");
- SpawnPlayer(playerid);
- SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
- }
- if(dini_Exists(dfile))
- {
- dini_Remove(dfile);
- return 1;
- }
- else return SendClientMessage(playerid, COLOR_RED, "That File Name Does not exist.");
- }
- else return SendClientMessage(playerid, COLOR_RED, "Usage: removestuntplayer[name");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
- }
- COMMAND:removeroleplayplayer(playerid, params[])
- {
- if(WorldInfo[playerid][AdminLevel] >= 7)
- {
- new name[MAX_PLAYER_NAME];
- new reason[128];
- new string[128];
- if(!sscanf(params, "ss", name, reason))
- {
- new rpfile[256], dfile[256];
- format(rpfile, sizeof(rpfile), ROLEPLAY_USER_FILE, name);
- format(dfile, sizeof(dfile), DONATION_USER_FILE, name);
- if(dini_Exists(rpfile))
- {
- dini_Remove(rpfile);
- SendClientMessage(playerid, COLOR_ORANGE, "Account Removed.");
- format(string, sizeof(string), "Admin %s: Has Removed RP User %s for %s.", GetName(playerid), name, reason);
- SendClientMessageToAll(COLOR_ORANGE, string);
- }
- if(IsPlayerConnected(GetPlayerId(name)))
- {
- RPAccountInfo[playerid][rHasSpawned] = 0;
- RPAccountInfo[playerid][rSSkin] = 0;
- StuntAccountInfo[playerid][pPskin] = 0;
- StuntAccountInfo[playerid][pHasSpawned] = 0;
- SetSpawnInfo(playerid, 0, 0, 1958.3783, 1343.1572, 15.3746, 90, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- SendClientMessage(playerid, COLOR_ORANGE, "Your Account has been Removed, You have been sent to the main menu");
- SelectTextDraw(playerid, 0x0022ffFF); // Allow the player to select textdraws.
- }
- if(dini_Exists(dfile))
- {
- dini_Remove(dfile);
- return 1;
- }
- else return SendClientMessage(playerid, COLOR_RED, "That File Name Does not exist.");
- }
- else return SendClientMessage(playerid, COLOR_RED, "Usage: removestuntplayer[name][reason]");
- }
- else return SendClientMessage(playerid, 0xD8D8D8FF, "You are not allowed to use this command.");
- }
- //furniture system
- public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
- {
- new Float:oldX, Float:oldY, Float:oldZ,
- Float:oldRotX, Float:oldRotY, Float:oldRotZ;
- GetObjectPos(objectid, oldX, oldY, oldZ);
- GetObjectRot(objectid, oldRotX, oldRotY, oldRotZ);
- new Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT;
- if(!playerobject) // If this is a global object, move it for other players
- {
- if(!IsValidObject(objectid)) return;
- MoveObject(objectid, fX, fY, fZ, 10.0, fRotX, fRotY, fRotZ);
- }
- if(response == EDIT_RESPONSE_FINAL)
- {
- new string[254];
- OVW = GetPlayerVirtualWorld(playerid);
- OINT = GetPlayerInterior(playerid);
- GetObjectPos(objectid, OX, OY, OZ);
- GetObjectRot(objectid, ORX, ORY, ORZ);
- AddObjectToFile(OBJECT_FILE_NAME, OX, OY, OZ, ORX, ORY, ORZ, OVW, OINT);
- SendClientMessage(playerid, COLOR_BLUE, "Object Saved, Please add more if you wish");
- format(string, sizeof(string), "Object model %i spawned at %f, %f, %f, with rotation %f, %f, %f,", oModel, OX, OY, OZ, ORX, ORY, ORZ);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- format(string, sizeof(string), "Object world %i interior id %i", OVW, OINT);
- SendClientMessage(playerid, 0xD8D8D8FF, string);
- CreateDynamicObject(oModel, Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT, -1, 200.0);
- DestroyObject(Object);
- }
- if(response == EDIT_RESPONSE_CANCEL)
- {
- //The player cancelled, so put the object back to it's old position
- if(!playerobject) //Object is not a playerobject
- {
- SetObjectPos(objectid, oldX, oldY, oldZ);
- SetObjectRot(objectid, oldRotX, oldRotY, oldRotZ);
- }
- else
- {
- SetPlayerObjectPos(playerid, objectid, oldX, oldY, oldZ);
- SetPlayerObjectRot(playerid, objectid, oldRotX, oldRotY, oldRotZ);
- }
- }
- }
- CMD:furniture(playerid, params[])
- {
- ShowPlayerDialog(playerid, 509, DIALOG_STYLE_LIST, "Furniture", "Chairs\nBeds\nTables\nTvs\nCabinets\nFuns tuff\n", "Ok", "Cancel");
- return 1;
- }
- CMD:vw(playerid, params[])
- {
- SetPlayerVirtualWorld(playerid, 0);
- return 1;
- }
- CMD:fhelp(playerid, params[])
- {
- SendClientMessage(playerid, COLOR_ORANGE, "This system was scripted by jueix, Type /furniture to plant furniture in your house");
- SendClientMessage(playerid, COLOR_ORANGE, "If the furniture is not in /furniture that you want please type /fplant then the object id.");
- SendClientMessage(playerid, COLOR_ORANGE, "Thank you for using Jueix's furniture system.");
- return 1;
- }
- stock AddObjectFromFile(DFileName[])
- {
- if(!fexist(DFileName)) return 0;
- new File:ObjectFile, Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT, oTotal, Line[128];
- ObjectFile = fopen(DFileName, io_read);
- while(fread(ObjectFile, Line))
- {
- if(Line[0] == '/' || isnull(Line)) continue;
- unformat(Line, "ffffffiii", OX, OY, OZ, ORX, ORY, ORZ, OVW, OINT, oModel);
- CreateDynamicObject(oModel, Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT, -1, 200.0);
- oTotal++;
- }
- fclose(ObjectFile);
- return oTotal;
- }
- stock AddObjectToFile(DFileName[], Float:OX, Float:OY, Float:OZ, Float:ORX, Float:ORY, Float:ORZ, OVW, OINT)
- {
- new File:ObjectFile, Line[128];
- format(Line, sizeof(Line), "%f %f %f %f %f %f %i %i %i\r\n", OX, OY, OZ, ORX, ORY, ORZ, OVW, OINT, oModel);
- ObjectFile = fopen(DFileName, io_append);
- fwrite(ObjectFile, Line);
- fclose(ObjectFile);
- return 1;
- }
- //attach system
- stock RemovePlayerWeapon(playerid, weaponid)
- {
- new weapons[12] = 0;
- new ammo[12] = 0;
- for (new i = 0; i < 13; i += 1)
- {
- new weapon, ammo2;
- GetPlayerWeaponData(playerid, i, weapon, ammo2);
- if ((weapon != weaponid) && (ammo2 > 0)) GetPlayerWeaponData(playerid, i, weapons[i], ammo[i]);
- }
- ResetPlayerWeapons(playerid);
- for (new i = 0; i < 13; i += 1)
- {
- if(weapons[i] > 0 && ammo[i] != 0) GivePlayerWeapon(playerid, weapons[i], ammo[i]);
- }
- return 1;
- }
- stock GetWeaponNameEx(weaponid, weapon[], len)
- {
- GetWeaponName(weaponid, weapon, len);
- if (weaponid == 0) format(weapon, 24, "None");
- if (weaponid == 18) format(weapon, 24, "Molotov");
- if (weaponid == 44) format(weapon, 24, "Nightvision Goggles");
- if (weaponid == 45) format(weapon, 24, "Infrared Goggles");
- return 1;
- }
- stock GetWeaponModel(weaponid)
- {
- switch(weaponid)
- {
- case 1:
- return 331;
- case 2..8:
- return weaponid+331;
- case 9:
- return 341;
- case 10..15:
- return weaponid+311;
- case 16..18:
- return weaponid+326;
- case 22..29:
- return weaponid+324;
- case 30,31:
- return weaponid+325;
- case 32:
- return 372;
- case 33..45:
- return weaponid+324;
- case 46:
- return 371;
- }
- return 0;
- }
- //admin shit with different world chat system
- stock GetName(playerid)
- {
- new
- name[24];
- GetPlayerName(playerid, name, sizeof(name));
- return name;
- }
- stock ProxDetector(Float:radi, playerid, string[],color)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- foreach(Player,i)
- {
- if(IsPlayerInRangeOfPoint(i,radi,x,y,z) && WorldInfo[i][pWorld] == 1)
- {
- SendClientMessage(i,color,string);
- }
- }
- }
- forward SendMessageToStuntAdmins(color,const string[]);
- public SendMessageToStuntAdmins(color,const string[]) //create the callback, including color and string
- {
- for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
- {
- if(IsPlayerConnected(i) == 1) //the admin gotta be connected
- if(WorldInfo[i][pWorld] == 2)
- if(WorldInfo[i][AdminLevel] >= 1) //and his level gotta be at least 1 (or higher)
- SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
- }
- return 1;
- }
- forward SendMessageToRPAdmins(color,const string[]);
- public SendMessageToRPAdmins(color,const string[]) //create the callback, including color and string
- {
- for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
- {
- if(IsPlayerConnected(i) == 1) //the admin gotta be connected
- if(WorldInfo[i][pWorld] == 1)
- if(WorldInfo[i][AdminLevel] >= 1) //and his level gotta be at least 1 (or higher)
- SendClientMessage(i, color, string); //send this message now to every admin online, with color + string!
- }
- return 1;
- }
- //vehicle system
- stock PlayerName(playerid, bool:show_underscore = true)
- {
- new pName[24];
- GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
- if (show_underscore == false)
- {
- for (new i = 0; i < strlen(pName); i += 1)
- {
- if (pName[i] == '_') pName[i] = ' ';
- }
- }
- return pName;
- }
- stock DB_Escape(text[])
- {
- new
- ret[80 * 2],
- ch,
- i,
- j;
- while ((ch = text[i++]) && j < sizeof (ret))
- {
- if (ch == '\'')
- {
- if (j < sizeof (ret) - 2)
- {
- ret[j++] = '\'';
- ret[j++] = '\'';
- }
- }
- else if (j < sizeof (ret))
- {
- ret[j++] = ch;
- }
- else
- {
- j++;
- }
- }
- ret[sizeof (ret) - 1] = '\0';
- return ret;
- }
- stock ReturnComponentSlot(componentid)
- {
- new i = 0;
- for(i = 0; i < 20; i ++) { if(spoiler[i][0] == componentid) { return 1; } }
- for(i = 0; i < 3; i ++) { if(nitro[i][0] == componentid) { return 2; } }
- for(i = 0; i < 23; i ++) { if(front_bumper[i][0] == componentid) { return 3; } }
- for(i = 0; i < 22; i ++) { if(rear_bumper[i][0] == componentid) { return 4; } }
- for(i = 0; i < 28; i ++) { if(exhaust[i][0] == componentid) { return 5; } }
- for(i = 0; i < 2; i ++) { if(bventr[i][0] == componentid) { return 6; } }
- for(i = 0; i < 2; i ++) { if(bventl[i][0] == componentid) { return 7; } }
- for(i = 0; i < 4; i ++) { if(bscoop[i][0] == componentid) { return 8; } }
- for(i = 0; i < 13; i ++) { if(rscoop[i][0] == componentid) { return 9; } }
- for(i = 0; i < 21; i ++) { if(left_sideskirt[i][0] == componentid) { return 10; } }
- for(i = 0; i < 21; i ++) { if(right_sideskirt[i][0] == componentid) { return 11; } }
- if(hydraulics[0][0] == componentid) { return 12; }
- if(bass[0][0] == componentid) { return 13; }
- for(i = 0; i < 2; i ++) { if(rbbars[i][0] == componentid) { return 14; } }
- for(i = 0; i < 2; i ++) { if(fbbars[i][0] == componentid) { return 15; } }
- for(i = 0; i < 17; i ++) { if(wheels[i][0] == componentid) { return 16; } }
- for(i = 0; i < 2; i ++) { if(lights[i][0] == componentid) { return 17; } }
- return 0;
- }
- stock GetVehicleName(vehicleid)
- {
- new
- vehicle_name[32] = "None";
- if((vehicleid == INVALID_VEHICLE_ID) || (vehicleid < 1 || (vehicleid > MAX_VEHICLES - 1))) return vehicle_name;
- switch (GetVehicleModel(vehicleid))
- {
- case 400: vehicle_name = "Landstalker";
- case 401: vehicle_name = "Bravura";
- case 402: vehicle_name = "Buffalo";
- case 403: vehicle_name = "Linerunner";
- case 404: vehicle_name = "Perennial";
- case 405: vehicle_name = "Sentinel";
- case 406: vehicle_name = "Dumper";
- case 407: vehicle_name = "Firetruck";
- case 408: vehicle_name = "Trashmaster";
- case 409: vehicle_name = "Stretch";
- case 410: vehicle_name = "Manana";
- case 411: vehicle_name = "Infernus";
- case 412: vehicle_name = "Voodoo";
- case 413: vehicle_name = "Pony";
- case 414: vehicle_name = "Mule";
- case 415: vehicle_name = "Cheetah";
- case 416: vehicle_name = "Ambulance";
- case 417: vehicle_name = "Leviathan";
- case 418: vehicle_name = "Moonbeam";
- case 419: vehicle_name = "Esperanto";
- case 420: vehicle_name = "Taxi";
- case 421: vehicle_name = "Washington";
- case 422: vehicle_name = "Bobcat";
- case 423: vehicle_name = "Mr Whoopee";
- case 424: vehicle_name = "BF Injection";
- case 425: vehicle_name = "Hunter";
- case 426: vehicle_name = "Premier";
- case 427: vehicle_name = "Enforcer";
- case 428: vehicle_name = "Securicar";
- case 429: vehicle_name = "Banshee";
- case 430: vehicle_name = "Predator";
- case 431: vehicle_name = "Bus";
- case 432: vehicle_name = "Rhino";
- case 433: vehicle_name = "Barracks";
- case 434: vehicle_name = "Hotknife";
- case 435: vehicle_name = "Article Trailer";
- case 436: vehicle_name = "Previon";
- case 437: vehicle_name = "Coach";
- case 438: vehicle_name = "Cabbie";
- case 439: vehicle_name = "Stallion";
- case 440: vehicle_name = "Rumpo";
- case 441: vehicle_name = "RC Bandit";
- case 442: vehicle_name = "Romero";
- case 443: vehicle_name = "Packer";
- case 444: vehicle_name = "Monster";
- case 445: vehicle_name = "Admiral";
- case 446: vehicle_name = "Squalo";
- case 447: vehicle_name = "Seasparrow";
- case 448: vehicle_name = "Pizzaboy";
- case 449: vehicle_name = "Tram";
- case 450: vehicle_name = "Article Trailer 2";
- case 451: vehicle_name = "Turismo";
- case 452: vehicle_name = "Speeder";
- case 453: vehicle_name = "Reefer";
- case 454: vehicle_name = "Tropic";
- case 455: vehicle_name = "Flatbed";
- case 456: vehicle_name = "Yankee";
- case 457: vehicle_name = "Caddy";
- case 458: vehicle_name = "Solair";
- case 459: vehicle_name = "Berkley's RC Van";
- case 460: vehicle_name = "Skimmer";
- case 461: vehicle_name = "PCJ-600";
- case 462: vehicle_name = "Faggio";
- case 463: vehicle_name = "Freeway";
- case 464: vehicle_name = "RC Baron";
- case 465: vehicle_name = "RC Raider";
- case 466: vehicle_name = "Glendale";
- case 467: vehicle_name = "Oceanic";
- case 468: vehicle_name = "Sanchez";
- case 469: vehicle_name = "Sparrow";
- case 470: vehicle_name = "Patriot";
- case 471: vehicle_name = "Quad";
- case 472: vehicle_name = "Coastguard";
- case 473: vehicle_name = "Dinghy";
- case 474: vehicle_name = "Hermes";
- case 475: vehicle_name = "Sabre";
- case 476: vehicle_name = "Rustler";
- case 477: vehicle_name = "ZR-350";
- case 478: vehicle_name = "Walton";
- case 479: vehicle_name = "Regina";
- case 480: vehicle_name = "Comet";
- case 481: vehicle_name = "BMX";
- case 482: vehicle_name = "Burrito";
- case 483: vehicle_name = "Camper";
- case 484: vehicle_name = "Marquis";
- case 485: vehicle_name = "Baggage";
- case 486: vehicle_name = "Dozer";
- case 487: vehicle_name = "Maverick";
- case 488: vehicle_name = "SAN News Maverick";
- case 489, 505: vehicle_name = "Rancher";
- case 490: vehicle_name = "FBI Rancher";
- case 491: vehicle_name = "Virgo";
- case 492: vehicle_name = "Greenwood";
- case 493: vehicle_name = "Jetmax";
- case 494: vehicle_name = "Hotring Racer A";
- case 495: vehicle_name = "Sandking";
- case 496: vehicle_name = "Blista Compact";
- case 497: vehicle_name = "Police Maverick";
- case 498: vehicle_name = "Boxville";
- case 499: vehicle_name = "Benson";
- case 500: vehicle_name = "Mesa";
- case 501: vehicle_name = "RC Goblin";
- case 502: vehicle_name = "Hotring Racer B";
- case 503: vehicle_name = "Hotring Racer C";
- case 504: vehicle_name = "Bloodring Banger";
- case 506: vehicle_name = "Super GT";
- case 507: vehicle_name = "Elegant";
- case 508: vehicle_name = "Journey";
- case 509: vehicle_name = "Bike";
- case 510: vehicle_name = "Mountain Bike";
- case 511: vehicle_name = "Beagle";
- case 512: vehicle_name = "Cropduster";
- case 513: vehicle_name = "Stuntplane";
- case 514: vehicle_name = "Tanker";
- case 515: vehicle_name = "Roadtrain";
- case 516: vehicle_name = "Nebula";
- case 517: vehicle_name = "Majestic";
- case 518: vehicle_name = "Buccaneer";
- case 519: vehicle_name = "Shamal";
- case 520: vehicle_name = "Hydra";
- case 521: vehicle_name = "FCR-900";
- case 522: vehicle_name = "NRG-500";
- case 523: vehicle_name = "HPV1000";
- case 524: vehicle_name = "Cement Truck";
- case 525: vehicle_name = "Towtruck";
- case 526: vehicle_name = "Fortune";
- case 527: vehicle_name = "Cadrona";
- case 528: vehicle_name = "FBI Truck";
- case 529: vehicle_name = "Willard";
- case 530: vehicle_name = "Forklift";
- case 531: vehicle_name = "Tractor";
- case 532: vehicle_name = "Combine Harvester";
- case 533: vehicle_name = "Feltzer";
- case 534: vehicle_name = "Remington";
- case 535: vehicle_name = "Slamvan";
- case 536: vehicle_name = "Blade";
- case 537: vehicle_name = "Freight";
- case 538: vehicle_name = "Brownstreak";
- case 539: vehicle_name = "Vortex";
- case 540: vehicle_name = "Vincent";
- case 541: vehicle_name = "Bullet";
- case 542: vehicle_name = "Clover";
- case 543: vehicle_name = "Sadler";
- case 544: vehicle_name = "Firetruck LA";
- case 545: vehicle_name = "Hustler";
- case 546: vehicle_name = "Intruder";
- case 547: vehicle_name = "Primo";
- case 548: vehicle_name = "Cargobob";
- case 549: vehicle_name = "Tampa";
- case 550: vehicle_name = "Sunrise";
- case 551: vehicle_name = "Merit";
- case 552: vehicle_name = "Utility Van";
- case 553: vehicle_name = "Nevada";
- case 554: vehicle_name = "Yosemite";
- case 555: vehicle_name = "Windsor";
- case 556: vehicle_name = "Monster A";
- case 557: vehicle_name = "Monster B";
- case 558: vehicle_name = "Uranus";
- case 559: vehicle_name = "Jester";
- case 560: vehicle_name = "Sultan";
- case 561: vehicle_name = "Stratum";
- case 562: vehicle_name = "Elegy";
- case 563: vehicle_name = "Raindance";
- case 564: vehicle_name = "RC Tiger";
- case 565: vehicle_name = "Flash";
- case 566: vehicle_name = "Tahoma";
- case 567: vehicle_name = "Savanna";
- case 568: vehicle_name = "Bandito";
- case 569: vehicle_name = "Freight Flat Trailer";
- case 570: vehicle_name = "Streak Trailer";
- case 571: vehicle_name = "Kart";
- case 572: vehicle_name = "Mower";
- case 573: vehicle_name = "Dune";
- case 574: vehicle_name = "Sweeper";
- case 575: vehicle_name = "Broadway";
- case 576: vehicle_name = "Tornado";
- case 577: vehicle_name = "AT-400";
- case 578: vehicle_name = "DFT-30";
- case 579: vehicle_name = "Huntley";
- case 580: vehicle_name = "Stafford";
- case 581: vehicle_name = "BF-400";
- case 582: vehicle_name = "Newsvan";
- case 583: vehicle_name = "Tug";
- case 584: vehicle_name = "Petrol Trailer";
- case 585: vehicle_name = "Emperor";
- case 586: vehicle_name = "Wayfarer";
- case 587: vehicle_name = "Euros";
- case 588: vehicle_name = "Hotdog";
- case 589: vehicle_name = "Club";
- case 590: vehicle_name = "Freight Box Trailer";
- case 591: vehicle_name = "Article Trailer 3";
- case 592: vehicle_name = "Andromada";
- case 593: vehicle_name = "Dodo";
- case 594: vehicle_name = "RC Cam";
- case 595: vehicle_name = "Launch";
- case 596: vehicle_name = "LSPD Cruiser";
- case 597: vehicle_name = "SFPD Cruiser";
- case 598: vehicle_name = "LVPD Cruiser";
- case 599: vehicle_name = "Police Ranger";
- case 600: vehicle_name = "Picador";
- case 601: vehicle_name = "S.W.A.T.";
- case 602: vehicle_name = "Alpha";
- case 603: vehicle_name = "Phoenix";
- case 604: vehicle_name = "Glendale Shit";
- case 605: vehicle_name = "Sadler Shit";
- case 606: vehicle_name = "Baggage Trailer A";
- case 607: vehicle_name = "Baggage Trailer B";
- case 608: vehicle_name = "Tug Stairs";
- case 609: vehicle_name = "Boxville";
- case 610: vehicle_name = "Farm Trailer";
- case 611: vehicle_name = "Utility Trailer";
- default: vehicle_name = "None";
- }
- return vehicle_name;
- }
- stock GetVehicleNameByModel(model)
- {
- new
- vehicle_name[32] = "None";
- if(model < 400 || model > 611) return vehicle_name;
- switch (model)
- {
- case 400: vehicle_name = "Landstalker";
- case 401: vehicle_name = "Bravura";
- case 402: vehicle_name = "Buffalo";
- case 403: vehicle_name = "Linerunner";
- case 404: vehicle_name = "Perennial";
- case 405: vehicle_name = "Sentinel";
- case 406: vehicle_name = "Dumper";
- case 407: vehicle_name = "Firetruck";
- case 408: vehicle_name = "Trashmaster";
- case 409: vehicle_name = "Stretch";
- case 410: vehicle_name = "Manana";
- case 411: vehicle_name = "Infernus";
- case 412: vehicle_name = "Voodoo";
- case 413: vehicle_name = "Pony";
- case 414: vehicle_name = "Mule";
- case 415: vehicle_name = "Cheetah";
- case 416: vehicle_name = "Ambulance";
- case 417: vehicle_name = "Leviathan";
- case 418: vehicle_name = "Moonbeam";
- case 419: vehicle_name = "Esperanto";
- case 420: vehicle_name = "Taxi";
- case 421: vehicle_name = "Washington";
- case 422: vehicle_name = "Bobcat";
- case 423: vehicle_name = "Mr Whoopee";
- case 424: vehicle_name = "BF Injection";
- case 425: vehicle_name = "Hunter";
- case 426: vehicle_name = "Premier";
- case 427: vehicle_name = "Enforcer";
- case 428: vehicle_name = "Securicar";
- case 429: vehicle_name = "Banshee";
- case 430: vehicle_name = "Predator";
- case 431: vehicle_name = "Bus";
- case 432: vehicle_name = "Rhino";
- case 433: vehicle_name = "Barracks";
- case 434: vehicle_name = "Hotknife";
- case 435: vehicle_name = "Article Trailer";
- case 436: vehicle_name = "Previon";
- case 437: vehicle_name = "Coach";
- case 438: vehicle_name = "Cabbie";
- case 439: vehicle_name = "Stallion";
- case 440: vehicle_name = "Rumpo";
- case 441: vehicle_name = "RC Bandit";
- case 442: vehicle_name = "Romero";
- case 443: vehicle_name = "Packer";
- case 444: vehicle_name = "Monster";
- case 445: vehicle_name = "Admiral";
- case 446: vehicle_name = "Squalo";
- case 447: vehicle_name = "Seasparrow";
- case 448: vehicle_name = "Pizzaboy";
- case 449: vehicle_name = "Tram";
- case 450: vehicle_name = "Article Trailer 2";
- case 451: vehicle_name = "Turismo";
- case 452: vehicle_name = "Speeder";
- case 453: vehicle_name = "Reefer";
- case 454: vehicle_name = "Tropic";
- case 455: vehicle_name = "Flatbed";
- case 456: vehicle_name = "Yankee";
- case 457: vehicle_name = "Caddy";
- case 458: vehicle_name = "Solair";
- case 459: vehicle_name = "Berkley's RC Van";
- case 460: vehicle_name = "Skimmer";
- case 461: vehicle_name = "PCJ-600";
- case 462: vehicle_name = "Faggio";
- case 463: vehicle_name = "Freeway";
- case 464: vehicle_name = "RC Baron";
- case 465: vehicle_name = "RC Raider";
- case 466: vehicle_name = "Glendale";
- case 467: vehicle_name = "Oceanic";
- case 468: vehicle_name = "Sanchez";
- case 469: vehicle_name = "Sparrow";
- case 470: vehicle_name = "Patriot";
- case 471: vehicle_name = "Quad";
- case 472: vehicle_name = "Coastguard";
- case 473: vehicle_name = "Dinghy";
- case 474: vehicle_name = "Hermes";
- case 475: vehicle_name = "Sabre";
- case 476: vehicle_name = "Rustler";
- case 477: vehicle_name = "ZR-350";
- case 478: vehicle_name = "Walton";
- case 479: vehicle_name = "Regina";
- case 480: vehicle_name = "Comet";
- case 481: vehicle_name = "BMX";
- case 482: vehicle_name = "Burrito";
- case 483: vehicle_name = "Camper";
- case 484: vehicle_name = "Marquis";
- case 485: vehicle_name = "Baggage";
- case 486: vehicle_name = "Dozer";
- case 487: vehicle_name = "Maverick";
- case 488: vehicle_name = "SAN News Maverick";
- case 489, 505: vehicle_name = "Rancher";
- case 490: vehicle_name = "FBI Rancher";
- case 491: vehicle_name = "Virgo";
- case 492: vehicle_name = "Greenwood";
- case 493: vehicle_name = "Jetmax";
- case 494: vehicle_name = "Hotring Racer A";
- case 495: vehicle_name = "Sandking";
- case 496: vehicle_name = "Blista Compact";
- case 497: vehicle_name = "Police Maverick";
- case 498: vehicle_name = "Boxville";
- case 499: vehicle_name = "Benson";
- case 500: vehicle_name = "Mesa";
- case 501: vehicle_name = "RC Goblin";
- case 502: vehicle_name = "Hotring Racer B";
- case 503: vehicle_name = "Hotring Racer C";
- case 504: vehicle_name = "Bloodring Banger";
- case 506: vehicle_name = "Super GT";
- case 507: vehicle_name = "Elegant";
- case 508: vehicle_name = "Journey";
- case 509: vehicle_name = "Bike";
- case 510: vehicle_name = "Mountain Bike";
- case 511: vehicle_name = "Beagle";
- case 512: vehicle_name = "Cropduster";
- case 513: vehicle_name = "Stuntplane";
- case 514: vehicle_name = "Tanker";
- case 515: vehicle_name = "Roadtrain";
- case 516: vehicle_name = "Nebula";
- case 517: vehicle_name = "Majestic";
- case 518: vehicle_name = "Buccaneer";
- case 519: vehicle_name = "Shamal";
- case 520: vehicle_name = "Hydra";
- case 521: vehicle_name = "FCR-900";
- case 522: vehicle_name = "NRG-500";
- case 523: vehicle_name = "HPV1000";
- case 524: vehicle_name = "Cement Truck";
- case 525: vehicle_name = "Towtruck";
- case 526: vehicle_name = "Fortune";
- case 527: vehicle_name = "Cadrona";
- case 528: vehicle_name = "FBI Truck";
- case 529: vehicle_name = "Willard";
- case 530: vehicle_name = "Forklift";
- case 531: vehicle_name = "Tractor";
- case 532: vehicle_name = "Combine Harvester";
- case 533: vehicle_name = "Feltzer";
- case 534: vehicle_name = "Remington";
- case 535: vehicle_name = "Slamvan";
- case 536: vehicle_name = "Blade";
- case 537: vehicle_name = "Freight";
- case 538: vehicle_name = "Brownstreak";
- case 539: vehicle_name = "Vortex";
- case 540: vehicle_name = "Vincent";
- case 541: vehicle_name = "Bullet";
- case 542: vehicle_name = "Clover";
- case 543: vehicle_name = "Sadler";
- case 544: vehicle_name = "Firetruck LA";
- case 545: vehicle_name = "Hustler";
- case 546: vehicle_name = "Intruder";
- case 547: vehicle_name = "Primo";
- case 548: vehicle_name = "Cargobob";
- case 549: vehicle_name = "Tampa";
- case 550: vehicle_name = "Sunrise";
- case 551: vehicle_name = "Merit";
- case 552: vehicle_name = "Utility Van";
- case 553: vehicle_name = "Nevada";
- case 554: vehicle_name = "Yosemite";
- case 555: vehicle_name = "Windsor";
- case 556: vehicle_name = "Monster A";
- case 557: vehicle_name = "Monster B";
- case 558: vehicle_name = "Uranus";
- case 559: vehicle_name = "Jester";
- case 560: vehicle_name = "Sultan";
- case 561: vehicle_name = "Stratum";
- case 562: vehicle_name = "Elegy";
- case 563: vehicle_name = "Raindance";
- case 564: vehicle_name = "RC Tiger";
- case 565: vehicle_name = "Flash";
- case 566: vehicle_name = "Tahoma";
- case 567: vehicle_name = "Savanna";
- case 568: vehicle_name = "Bandito";
- case 569: vehicle_name = "Freight Flat Trailer";
- case 570: vehicle_name = "Streak Trailer";
- case 571: vehicle_name = "Kart";
- case 572: vehicle_name = "Mower";
- case 573: vehicle_name = "Dune";
- case 574: vehicle_name = "Sweeper";
- case 575: vehicle_name = "Broadway";
- case 576: vehicle_name = "Tornado";
- case 577: vehicle_name = "AT-400";
- case 578: vehicle_name = "DFT-30";
- case 579: vehicle_name = "Huntley";
- case 580: vehicle_name = "Stafford";
- case 581: vehicle_name = "BF-400";
- case 582: vehicle_name = "Newsvan";
- case 583: vehicle_name = "Tug";
- case 584: vehicle_name = "Petrol Trailer";
- case 585: vehicle_name = "Emperor";
- case 586: vehicle_name = "Wayfarer";
- case 587: vehicle_name = "Euros";
- case 588: vehicle_name = "Hotdog";
- case 589: vehicle_name = "Club";
- case 590: vehicle_name = "Freight Box Trailer";
- case 591: vehicle_name = "Article Trailer 3";
- case 592: vehicle_name = "Andromada";
- case 593: vehicle_name = "Dodo";
- case 594: vehicle_name = "RC Cam";
- case 595: vehicle_name = "Launch";
- case 596: vehicle_name = "LSPD Cruiser";
- case 597: vehicle_name = "SFPD Cruiser";
- case 598: vehicle_name = "LVPD Cruiser";
- case 599: vehicle_name = "Police Ranger";
- case 600: vehicle_name = "Picador";
- case 601: vehicle_name = "S.W.A.T.";
- case 602: vehicle_name = "Alpha";
- case 603: vehicle_name = "Phoenix";
- case 604: vehicle_name = "Glendale Shit";
- case 605: vehicle_name = "Sadler Shit";
- case 606: vehicle_name = "Baggage Trailer A";
- case 607: vehicle_name = "Baggage Trailer B";
- case 608: vehicle_name = "Tug Stairs";
- case 609: vehicle_name = "Boxville";
- case 610: vehicle_name = "Farm Trailer";
- case 611: vehicle_name = "Utility Trailer";
- default: vehicle_name = "None";
- }
- return vehicle_name;
- }
- stock CreateVehicleTables(playerid)
- {
- if (IsPlayerConnected(playerid))
- {
- new query[1536];
- format(query, sizeof(query), "CREATE TABLE IF NOT EXISTS `VEHICLES` ");
- strcat(query, "(`Name`, `Model`, `X`, `Y`, `Z`, `Rot`, `Color1`, `Color2`, `Paintjob`, `Mod1`, `Mod2`, `Mod3`, ");
- strcat(query, "`Mod4`, `Mod5`, `Mod6`, `Mod7`, `Mod8`, `Mod9`, `Mod10`, `Mod11`, `Mod12`, `Mod13`, ");
- strcat(query, "`Mod14`, `Mod15`, `Mod16`, `Mod17`, `HasLock`, `Locked`, `TrunkCash`, ");
- strcat(query, "`TrunkGun1`, `TrunkGun2`, `TrunkGun3`, `TrunkGun4`, `TrunkAmmo1`, `TrunkAmmo2`, `TrunkAmmo3`, ");
- strcat(query, "`TrunkAmmo4`, `Spawned`, `Owned`, `Slot`)");
- db_query(VehicleDatabase[playerid], query);
- }
- return 1;
- }
- stock DeleteDealershipVehicle(vehicleid)
- {
- new query[128];
- if (DealershipVehicles[vehicleid][vForSale])
- {
- format(query, sizeof(query), "DELETE FROM `DEALERCARS` WHERE `vID` = '%d'", DealershipVehicles[vehicleid][vSQL_ID]);
- db_query(DealerVehicleDatabase, query);
- DealershipVehicles[vehicleid][vModel] = 0;
- DealershipVehicles[vehicleid][vX] = 0.0;
- DealershipVehicles[vehicleid][vY] = 0.0;
- DealershipVehicles[vehicleid][vZ] = 0.0;
- DealershipVehicles[vehicleid][vRot] = 0.0;
- DealershipVehicles[vehicleid][vForSale] = 0;
- DealershipVehicles[vehicleid][vPrice] = 0;
- Delete3DTextLabel(DealershipVehicles[vehicleid][vLabel]);
- DestroyVehicle(DealershipVehicles[vehicleid][vID]);
- DealershipVehicles[vehicleid][vID] = 0;
- DealershipVehicles[vehicleid][vSQL_ID] = 0;
- dealershipCars -= 1;
- return 1;
- }
- return 0;
- }
- stock DeletePlayerVehicle(playerid, slot)
- {
- new query[128];
- if (PlayerVehicles[playerid][slot][pCarOwned])
- {
- format(query, sizeof(query), "DELETE FROM `VEHICLES` WHERE `Name` = '%s' AND `Slot` = '%d'", PlayerName(playerid), slot);
- db_query(VehicleDatabase[playerid], query);
- PlayerVehicles[playerid][slot][pCarModel] = 0;
- PlayerVehicles[playerid][slot][pCarX] = 0.0;
- PlayerVehicles[playerid][slot][pCarY] = 0.0;
- PlayerVehicles[playerid][slot][pCarZ] = 0.0;
- PlayerVehicles[playerid][slot][pCarRot] = 0.0;
- PlayerVehicles[playerid][slot][pCarColor1] = 0;
- PlayerVehicles[playerid][slot][pCarColor2] = 0;
- PlayerVehicles[playerid][slot][pCarPaintjob] = -1;
- PlayerVehicles[playerid][slot][pCarMod1] = 0;
- PlayerVehicles[playerid][slot][pCarMod2] = 0;
- PlayerVehicles[playerid][slot][pCarMod3] = 0;
- PlayerVehicles[playerid][slot][pCarMod4] = 0;
- PlayerVehicles[playerid][slot][pCarMod5] = 0;
- PlayerVehicles[playerid][slot][pCarMod6] = 0;
- PlayerVehicles[playerid][slot][pCarMod7] = 0;
- PlayerVehicles[playerid][slot][pCarMod8] = 0;
- PlayerVehicles[playerid][slot][pCarMod9] = 0;
- PlayerVehicles[playerid][slot][pCarMod10] = 0;
- PlayerVehicles[playerid][slot][pCarMod11] = 0;
- PlayerVehicles[playerid][slot][pCarMod12] = 0;
- PlayerVehicles[playerid][slot][pCarMod13] = 0;
- PlayerVehicles[playerid][slot][pCarMod14] = 0;
- PlayerVehicles[playerid][slot][pCarMod15] = 0;
- PlayerVehicles[playerid][slot][pCarMod16] = 0;
- PlayerVehicles[playerid][slot][pCarMod17] = 0;
- PlayerVehicles[playerid][slot][pCarHasLock] = 0;
- PlayerVehicles[playerid][slot][pCarLocked] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkCash] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkGun1] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkGun2] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkGun3] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkGun4] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkAmmo1] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkAmmo2] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkAmmo3] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkAmmo4] = 0;
- PlayerVehicles[playerid][slot][pCarSpawned] = 0;
- PlayerVehicles[playerid][slot][pCarOwned] = 0;
- if (PlayerVehicles[playerid][slot][pCarID] != 0)
- {
- UnlockVehicle(PlayerVehicles[playerid][slot][pCarID]);
- DestroyVehicle(PlayerVehicles[playerid][slot][pCarID]);
- PlayerVehicles[playerid][slot][pCarID] = 0;
- }
- return 1;
- }
- return 0;
- }
- stock CreateDealershipVehicle(model, price, Float:x, Float:y, Float:z, Float:rotation)
- {
- if (model < 400 || model > 611)
- return 0;
- new
- vehicleid,
- string[256],
- query[1536];
- vehicleid = CreateVehicle(model, x, y, z, rotation, 1, 1, 5);
- if (vehicleid == INVALID_VEHICLE_ID)
- return 0;
- DealershipVehicles[vehicleid][vModel] = model;
- DealershipVehicles[vehicleid][vX] = x;
- DealershipVehicles[vehicleid][vY] = y;
- DealershipVehicles[vehicleid][vZ] = z;
- DealershipVehicles[vehicleid][vRot] = rotation;
- DealershipVehicles[vehicleid][vForSale] = 1;
- DealershipVehicles[vehicleid][vPrice] = price;
- DealershipVehicles[vehicleid][vID] = vehicleid;
- DealershipVehicles[vehicleid][vSQL_ID] = dealershipCars + 1;
- format(string, sizeof(string), "This {FFFFFF}%s {F5DEB3}is for sale.\nThe cost of this vehicle is {FFFFFF}$%d.\n{F5DEB3}For more information, enter the vehicle.", GetVehicleName(vehicleid), price);
- DealershipVehicles[vehicleid][vLabel] = Create3DTextLabel(string, YELLOW2, x, y, z, 10.0, 0);
- dealershipCars += 1;
- format(query, sizeof(query), "INSERT INTO `DEALERCARS` (`vID`, `vModel`, `vX`, `vY`, `vZ`, `vRot`, `vForSale`, `vPrice`) VALUES('%d', '%d', '%f', '%f', '%f', '%f', '%d', '%d')", dealershipCars, model, x, y, z, rotation, 1, price);
- db_query(DealerVehicleDatabase, query);
- return vehicleid;
- }
- stock CreatePlayerVehicle(playerid, model, Float:x, Float:y, Float:z, Float:rotation)
- {
- new slot = -1;
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarOwned] == 0)
- {
- slot = i;
- break;
- }
- }
- if (slot == -1) return 0;
- new vehicleid = CreateVehicle(model, x, y, z, rotation, 1, 1, -1);
- if (vehicleid == INVALID_VEHICLE_ID) return -1;
- PlayerVehicles[playerid][slot][pCarModel] = model;
- PlayerVehicles[playerid][slot][pCarX] = x;
- PlayerVehicles[playerid][slot][pCarY] = y;
- PlayerVehicles[playerid][slot][pCarZ] = z;
- PlayerVehicles[playerid][slot][pCarRot] = rotation;
- PlayerVehicles[playerid][slot][pCarColor1] = 1;
- PlayerVehicles[playerid][slot][pCarColor2] = 1;
- PlayerVehicles[playerid][slot][pCarPaintjob] = -1;
- PlayerVehicles[playerid][slot][pCarMod1] = 0;
- PlayerVehicles[playerid][slot][pCarMod2] = 0;
- PlayerVehicles[playerid][slot][pCarMod3] = 0;
- PlayerVehicles[playerid][slot][pCarMod4] = 0;
- PlayerVehicles[playerid][slot][pCarMod5] = 0;
- PlayerVehicles[playerid][slot][pCarMod6] = 0;
- PlayerVehicles[playerid][slot][pCarMod7] = 0;
- PlayerVehicles[playerid][slot][pCarMod8] = 0;
- PlayerVehicles[playerid][slot][pCarMod9] = 0;
- PlayerVehicles[playerid][slot][pCarMod10] = 0;
- PlayerVehicles[playerid][slot][pCarMod11] = 0;
- PlayerVehicles[playerid][slot][pCarMod12] = 0;
- PlayerVehicles[playerid][slot][pCarMod13] = 0;
- PlayerVehicles[playerid][slot][pCarMod14] = 0;
- PlayerVehicles[playerid][slot][pCarMod15] = 0;
- PlayerVehicles[playerid][slot][pCarMod16] = 0;
- PlayerVehicles[playerid][slot][pCarMod17] = 0;
- PlayerVehicles[playerid][slot][pCarHasLock] = 0;
- PlayerVehicles[playerid][slot][pCarLocked] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkCash] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkGun1] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkGun2] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkGun3] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkGun4] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkAmmo1] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkAmmo2] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkAmmo3] = 0;
- PlayerVehicles[playerid][slot][pCarTrunkAmmo4] = 0;
- PlayerVehicles[playerid][slot][pCarSpawned] = 1;
- PlayerVehicles[playerid][slot][pCarOwned] = 1;
- PlayerVehicles[playerid][slot][pCarID] = vehicleid;
- new query[1536], query2[1536];
- format(query, sizeof(query), "INSERT INTO `VEHICLES` ");
- strcat(query, "(`Name`, `Model`, `X`, `Y`, `Z`, `Rot`, `Color1`, `Color2`, `Paintjob`, `Mod1`, `Mod2`, `Mod3`, ");
- strcat(query, "`Mod4`, `Mod5`, `Mod6`, `Mod7`, `Mod8`, `Mod9`, `Mod10`, `Mod11`, `Mod12`, `Mod13`, ");
- strcat(query, "`Mod14`, `Mod15`, `Mod16`, `Mod17`, `HasLock`, `Locked`, `TrunkCash`, ");
- strcat(query, "`TrunkGun1`, `TrunkGun2`, `TrunkGun3`, `TrunkGun4`, `TrunkAmmo1`, `TrunkAmmo2`, `TrunkAmmo3`, ");
- strcat(query, "`TrunkAmmo4`, `Spawned`, `Owned`, `Slot`) ");
- format(query2, sizeof(query2), "VALUES('%s', '%d', '%f', '%f', '%f', '%f', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d')",
- DB_Escape(PlayerName(playerid)),
- PlayerVehicles[playerid][slot][pCarModel],
- PlayerVehicles[playerid][slot][pCarX],
- PlayerVehicles[playerid][slot][pCarY],
- PlayerVehicles[playerid][slot][pCarZ],
- PlayerVehicles[playerid][slot][pCarRot],
- PlayerVehicles[playerid][slot][pCarColor1],
- PlayerVehicles[playerid][slot][pCarColor2],
- PlayerVehicles[playerid][slot][pCarPaintjob],
- PlayerVehicles[playerid][slot][pCarMod1],
- PlayerVehicles[playerid][slot][pCarMod2],
- PlayerVehicles[playerid][slot][pCarMod3],
- PlayerVehicles[playerid][slot][pCarMod4],
- PlayerVehicles[playerid][slot][pCarMod5],
- PlayerVehicles[playerid][slot][pCarMod6],
- PlayerVehicles[playerid][slot][pCarMod7],
- PlayerVehicles[playerid][slot][pCarMod8],
- PlayerVehicles[playerid][slot][pCarMod9],
- PlayerVehicles[playerid][slot][pCarMod10],
- PlayerVehicles[playerid][slot][pCarMod11],
- PlayerVehicles[playerid][slot][pCarMod12],
- PlayerVehicles[playerid][slot][pCarMod13],
- PlayerVehicles[playerid][slot][pCarMod14],
- PlayerVehicles[playerid][slot][pCarMod15],
- PlayerVehicles[playerid][slot][pCarMod16],
- PlayerVehicles[playerid][slot][pCarMod17],
- PlayerVehicles[playerid][slot][pCarHasLock],
- PlayerVehicles[playerid][slot][pCarLocked],
- PlayerVehicles[playerid][slot][pCarTrunkCash],
- PlayerVehicles[playerid][slot][pCarTrunkGun1],
- PlayerVehicles[playerid][slot][pCarTrunkGun2],
- PlayerVehicles[playerid][slot][pCarTrunkGun3],
- PlayerVehicles[playerid][slot][pCarTrunkGun4],
- PlayerVehicles[playerid][slot][pCarTrunkAmmo1],
- PlayerVehicles[playerid][slot][pCarTrunkAmmo2],
- PlayerVehicles[playerid][slot][pCarTrunkAmmo3],
- PlayerVehicles[playerid][slot][pCarTrunkAmmo4],
- PlayerVehicles[playerid][slot][pCarSpawned],
- PlayerVehicles[playerid][slot][pCarOwned],
- slot);
- strcat(query, query2);
- db_query(VehicleDatabase[playerid], query);
- SavePlayerVehicle(playerid, slot);
- return 1;
- }
- stock SavePlayerVehicle(playerid, slot)
- {
- if (PlayerVehicles[playerid][slot][pCarOwned])
- {
- new query[1536], query2[1536];
- format(query, sizeof(query), "UPDATE `VEHICLES` SET ");
- format(query2, sizeof(query2), "Name = '%s', Model = '%d', X = '%f', Y = '%f', Z = '%f', Rot = '%f', Color1 = '%d', Color2 = '%d', Paintjob = '%d', Mod1 = '%d', Mod2 = '%d', Mod3 = '%d', ",
- DB_Escape(PlayerName(playerid)),
- PlayerVehicles[playerid][slot][pCarModel],
- PlayerVehicles[playerid][slot][pCarX],
- PlayerVehicles[playerid][slot][pCarY],
- PlayerVehicles[playerid][slot][pCarZ],
- PlayerVehicles[playerid][slot][pCarRot],
- PlayerVehicles[playerid][slot][pCarColor1],
- PlayerVehicles[playerid][slot][pCarColor2],
- PlayerVehicles[playerid][slot][pCarPaintjob],
- PlayerVehicles[playerid][slot][pCarMod1],
- PlayerVehicles[playerid][slot][pCarMod2],
- PlayerVehicles[playerid][slot][pCarMod3]);
- strcat(query, query2);
- format(query2, sizeof(query2), "Mod4 = '%d', Mod5 = '%d', Mod6 = '%d', Mod7 = '%d', Mod8 = '%d', Mod9 = '%d', Mod10 = '%d', Mod11 = '%d', Mod12 = '%d', Mod13 = '%d', Mod14 = '%d', Mod15 = '%d', ",
- PlayerVehicles[playerid][slot][pCarMod4],
- PlayerVehicles[playerid][slot][pCarMod5],
- PlayerVehicles[playerid][slot][pCarMod6],
- PlayerVehicles[playerid][slot][pCarMod7],
- PlayerVehicles[playerid][slot][pCarMod8],
- PlayerVehicles[playerid][slot][pCarMod9],
- PlayerVehicles[playerid][slot][pCarMod10],
- PlayerVehicles[playerid][slot][pCarMod11],
- PlayerVehicles[playerid][slot][pCarMod12],
- PlayerVehicles[playerid][slot][pCarMod13],
- PlayerVehicles[playerid][slot][pCarMod14],
- PlayerVehicles[playerid][slot][pCarMod15]);
- strcat(query, query2);
- format(query2, sizeof(query2), "Mod16 = '%d', Mod17 = '%d', HasLock = '%d', Locked = '%d', TrunkCash = '%d', TrunkGun1 = '%d', TrunkGun2 = '%d', TrunkGun3 = '%d', TrunkGun4 = '%d', TrunkAmmo1 = '%d', TrunkAmmo2 = '%d', TrunkAmmo3 = '%d', ",
- PlayerVehicles[playerid][slot][pCarMod16],
- PlayerVehicles[playerid][slot][pCarMod17],
- PlayerVehicles[playerid][slot][pCarHasLock],
- PlayerVehicles[playerid][slot][pCarLocked],
- PlayerVehicles[playerid][slot][pCarTrunkCash],
- PlayerVehicles[playerid][slot][pCarTrunkGun1],
- PlayerVehicles[playerid][slot][pCarTrunkGun2],
- PlayerVehicles[playerid][slot][pCarTrunkGun3],
- PlayerVehicles[playerid][slot][pCarTrunkGun4],
- PlayerVehicles[playerid][slot][pCarTrunkAmmo1],
- PlayerVehicles[playerid][slot][pCarTrunkAmmo2],
- PlayerVehicles[playerid][slot][pCarTrunkAmmo3]);
- strcat(query, query2);
- format(query2, sizeof(query2), "TrunkAmmo4 = '%d', Spawned = '%d', Owned = '%d', Slot = '%d' WHERE Name = '%s' AND Slot = '%d'",
- PlayerVehicles[playerid][slot][pCarTrunkAmmo4],
- PlayerVehicles[playerid][slot][pCarSpawned],
- PlayerVehicles[playerid][slot][pCarOwned],
- slot,
- DB_Escape(PlayerName(playerid)),
- slot);
- strcat(query, query2);
- db_query(VehicleDatabase[playerid], query);
- }
- return 1;
- }
- stock LoadPlayerVehicles(playerid)
- {
- new DBResult:result;
- new query[192], field[64];
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- format(query, sizeof(query), "SELECT * FROM `VEHICLES` WHERE `Name` = '%s' COLLATE NOCASE AND `Slot` = '%d'", PlayerName(playerid), i);
- result = db_query(VehicleDatabase[playerid], query);
- if (db_num_rows(result))
- {
- db_get_field_assoc(result, "Model", field, sizeof(field)); PlayerVehicles[playerid][i][pCarModel] = strval(field);
- db_get_field_assoc(result, "X", field, sizeof(field)); PlayerVehicles[playerid][i][pCarX] = floatstr(field);
- db_get_field_assoc(result, "Y", field, sizeof(field)); PlayerVehicles[playerid][i][pCarY] = floatstr(field);
- db_get_field_assoc(result, "Z", field, sizeof(field)); PlayerVehicles[playerid][i][pCarZ] = floatstr(field);
- db_get_field_assoc(result, "Rot", field, sizeof(field)); PlayerVehicles[playerid][i][pCarRot] = floatstr(field);
- db_get_field_assoc(result, "Color1", field, sizeof(field)); PlayerVehicles[playerid][i][pCarColor1] = strval(field);
- db_get_field_assoc(result, "Color2", field, sizeof(field)); PlayerVehicles[playerid][i][pCarColor2] = strval(field);
- db_get_field_assoc(result, "Paintjob", field, sizeof(field)); PlayerVehicles[playerid][i][pCarPaintjob] = strval(field);
- db_get_field_assoc(result, "Mod1", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod1] = strval(field);
- db_get_field_assoc(result, "Mod2", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod2] = strval(field);
- db_get_field_assoc(result, "Mod3", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod3] = strval(field);
- db_get_field_assoc(result, "Mod4", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod4] = strval(field);
- db_get_field_assoc(result, "Mod5", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod5] = strval(field);
- db_get_field_assoc(result, "Mod6", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod6] = strval(field);
- db_get_field_assoc(result, "Mod7", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod7] = strval(field);
- db_get_field_assoc(result, "Mod8", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod8] = strval(field);
- db_get_field_assoc(result, "Mod9", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod9] = strval(field);
- db_get_field_assoc(result, "Mod10", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod10] = strval(field);
- db_get_field_assoc(result, "Mod11", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod11] = strval(field);
- db_get_field_assoc(result, "Mod12", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod12] = strval(field);
- db_get_field_assoc(result, "Mod13", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod13] = strval(field);
- db_get_field_assoc(result, "Mod14", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod14] = strval(field);
- db_get_field_assoc(result, "Mod15", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod15] = strval(field);
- db_get_field_assoc(result, "Mod16", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod16] = strval(field);
- db_get_field_assoc(result, "Mod17", field, sizeof(field)); PlayerVehicles[playerid][i][pCarMod17] = strval(field);
- db_get_field_assoc(result, "HasLock", field, sizeof(field)); PlayerVehicles[playerid][i][pCarHasLock] = strval(field);
- db_get_field_assoc(result, "Locked", field, sizeof(field)); PlayerVehicles[playerid][i][pCarLocked] = strval(field);
- db_get_field_assoc(result, "TrunkCash", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkCash] = strval(field);
- db_get_field_assoc(result, "TrunkGun1", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkGun1] = strval(field);
- db_get_field_assoc(result, "TrunkGun2", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkGun2] = strval(field);
- db_get_field_assoc(result, "TrunkGun3", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkGun3] = strval(field);
- db_get_field_assoc(result, "TrunkGun4", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkGun4] = strval(field);
- db_get_field_assoc(result, "TrunkAmmo1", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkAmmo1] = strval(field);
- db_get_field_assoc(result, "TrunkAmmo2", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkAmmo2] = strval(field);
- db_get_field_assoc(result, "TrunkAmmo3", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkAmmo3] = strval(field);
- db_get_field_assoc(result, "TrunkAmmo4", field, sizeof(field)); PlayerVehicles[playerid][i][pCarTrunkAmmo4] = strval(field);
- db_get_field_assoc(result, "Spawned", field, sizeof(field)); PlayerVehicles[playerid][i][pCarSpawned] = strval(field);
- db_get_field_assoc(result, "Owned", field, sizeof(field)); PlayerVehicles[playerid][i][pCarOwned] = strval(field);
- }
- if (PlayerVehicles[playerid][i][pCarOwned])
- {
- if (PlayerVehicles[playerid][i][pCarSpawned])
- {
- PlayerVehicles[playerid][i][pCarID] = CreateVehicle(PlayerVehicles[playerid][i][pCarModel], PlayerVehicles[playerid][i][pCarX], PlayerVehicles[playerid][i][pCarY], PlayerVehicles[playerid][i][pCarZ], PlayerVehicles[playerid][i][pCarRot], PlayerVehicles[playerid][i][pCarColor1], PlayerVehicles[playerid][i][pCarColor2], -1);
- ModifyVehicle(playerid, i);
- }
- }
- db_free_result(result);
- }
- return 1;
- }
- stock SaveDealershipVehicles()
- {
- new query[512], query2[512];
- for (new i = 1; i < MAX_VEHICLES; i += 1)
- {
- if (!DealershipVehicles[i][vForSale]) continue;
- format(query, sizeof(query), "UPDATE `DEALERCARS` SET ");
- format(query2, sizeof(query2), "vID = '%d', vModel = '%d', vX = '%f', vY = '%f', vZ = '%f', vRot = '%f', vForSale = '%d', vPrice = '%d' WHERE `vID` = '%d'",
- DealershipVehicles[i][vSQL_ID],
- DealershipVehicles[i][vModel],
- DealershipVehicles[i][vX],
- DealershipVehicles[i][vY],
- DealershipVehicles[i][vZ],
- DealershipVehicles[i][vRot],
- DealershipVehicles[i][vForSale],
- DealershipVehicles[i][vPrice],
- DealershipVehicles[i][vSQL_ID]);
- strcat(query, query2);
- db_query(DealerVehicleDatabase, query);
- }
- return 1;
- }
- stock LoadDealershipVehicles()
- {
- new DBResult:result;
- new query[128], field[64], string[256];
- for (new i = 1; i < MAX_VEHICLES; i += 1)
- {
- format(query, sizeof(query), "SELECT * FROM `DEALERCARS` WHERE vID = '%d'", i);
- result = db_query(DealerVehicleDatabase, query);
- if (db_num_rows(result))
- {
- new model, Float:x, Float:y, Float:z, Float:rot, forsale, price, vehicleid;
- db_get_field_assoc(result, "vModel", field, sizeof(field)); model = strval(field);
- db_get_field_assoc(result, "vX", field, sizeof(field)); x = strval(field);
- db_get_field_assoc(result, "vY", field, sizeof(field)); y = strval(field);
- db_get_field_assoc(result, "vZ", field, sizeof(field)); z = strval(field);
- db_get_field_assoc(result, "vRot", field, sizeof(field)); rot = strval(field);
- db_get_field_assoc(result, "vForSale", field, sizeof(field)); forsale = strval(field);
- db_get_field_assoc(result, "vPrice", field, sizeof(field)); price = strval(field);
- vehicleid = CreateVehicle(model, x, y, z, rot, 1, 1, 5);
- DealershipVehicles[vehicleid][vModel] = model;
- DealershipVehicles[vehicleid][vX] = x;
- DealershipVehicles[vehicleid][vY] = y;
- DealershipVehicles[vehicleid][vZ] = z;
- DealershipVehicles[vehicleid][vRot] = rot;
- DealershipVehicles[vehicleid][vForSale] = forsale;
- DealershipVehicles[vehicleid][vPrice] = price;
- DealershipVehicles[vehicleid][vID] = vehicleid;
- format(string, sizeof(string), "This {FFFFFF}%s {F5DEB3}is for sale.\nThe cost of this vehicle is {FFFFFF}$%d.\n{F5DEB3}For more information, enter the vehicle.", GetVehicleName(vehicleid), price);
- DealershipVehicles[vehicleid][vLabel] = Create3DTextLabel(string, YELLOW2, x, y, z, 10.0, 0);
- DealershipVehicles[vehicleid][vSQL_ID] = dealershipCars + 1;
- dealershipCars += 1;
- }
- db_free_result(result);
- }
- return 1;
- }
- stock ModifyVehicle(playerid, slot)
- {
- if (!PlayerVehicles[playerid][slot][pCarOwned]) return 1;
- if (!PlayerVehicles[playerid][slot][pCarSpawned]) return 1;
- new vehicleid = PlayerVehicles[playerid][slot][pCarID];
- new comp1 = PlayerVehicles[playerid][slot][pCarMod1];
- new comp2 = PlayerVehicles[playerid][slot][pCarMod2];
- new comp3 = PlayerVehicles[playerid][slot][pCarMod3];
- new comp4 = PlayerVehicles[playerid][slot][pCarMod4];
- new comp5 = PlayerVehicles[playerid][slot][pCarMod5];
- new comp6 = PlayerVehicles[playerid][slot][pCarMod6];
- new comp7 = PlayerVehicles[playerid][slot][pCarMod7];
- new comp8 = PlayerVehicles[playerid][slot][pCarMod8];
- new comp9 = PlayerVehicles[playerid][slot][pCarMod9];
- new comp10 = PlayerVehicles[playerid][slot][pCarMod10];
- new comp11 = PlayerVehicles[playerid][slot][pCarMod11];
- new comp12 = PlayerVehicles[playerid][slot][pCarMod12];
- new comp13 = PlayerVehicles[playerid][slot][pCarMod13];
- new comp14 = PlayerVehicles[playerid][slot][pCarMod14];
- new comp15 = PlayerVehicles[playerid][slot][pCarMod15];
- new comp16 = PlayerVehicles[playerid][slot][pCarMod16];
- new comp17 = PlayerVehicles[playerid][slot][pCarMod17];
- new color1 = PlayerVehicles[playerid][slot][pCarColor1];
- new color2 = PlayerVehicles[playerid][slot][pCarColor2];
- new paintjob = PlayerVehicles[playerid][slot][pCarPaintjob];
- if (comp1 != 0) AddVehicleComponent(vehicleid, comp1);
- if (comp2 != 0) AddVehicleComponent(vehicleid, comp2);
- if (comp3 != 0) AddVehicleComponent(vehicleid, comp3);
- if (comp4 != 0) AddVehicleComponent(vehicleid, comp4);
- if (comp5 != 0) AddVehicleComponent(vehicleid, comp5);
- if (comp6 != 0) AddVehicleComponent(vehicleid, comp6);
- if (comp7 != 0) AddVehicleComponent(vehicleid, comp7);
- if (comp8 != 0) AddVehicleComponent(vehicleid, comp8);
- if (comp9 != 0) AddVehicleComponent(vehicleid, comp9);
- if (comp10 != 0) AddVehicleComponent(vehicleid, comp10);
- if (comp11 != 0) AddVehicleComponent(vehicleid, comp11);
- if (comp12 != 0) AddVehicleComponent(vehicleid, comp12);
- if (comp13 != 0) AddVehicleComponent(vehicleid, comp13);
- if (comp14 != 0) AddVehicleComponent(vehicleid, comp14);
- if (comp15 != 0) AddVehicleComponent(vehicleid, comp15);
- if (comp16 != 0) AddVehicleComponent(vehicleid, comp16);
- if (comp17 != 0) AddVehicleComponent(vehicleid, comp17);
- ChangeVehicleColor(vehicleid, color1, color2);
- if (paintjob != -1) ChangeVehiclePaintjob(vehicleid, paintjob);
- switch (PlayerVehicles[playerid][slot][pCarLocked])
- {
- case 0: UnlockVehicle(PlayerVehicles[playerid][slot][pCarID]);
- case 1: LockVehicle(PlayerVehicles[playerid][slot][pCarID]);
- }
- return 1;
- }
- stock LockVehicle(vehicleid)
- {
- foreach(Player, i)
- {
- SetVehicleParamsForPlayer(vehicleid, i, 0, 1);
- }
- VehicleLocked[vehicleid] = 1;
- return 1;
- }
- stock UnlockVehicle(vehicleid)
- {
- foreach(Player, i)
- {
- SetVehicleParamsForPlayer(vehicleid, i, 0, 0);
- }
- VehicleLocked[vehicleid] = 0;
- return 1;
- }
- stock PlayerOwnsVehicle(playerid, vehicleid)
- {
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarID] == vehicleid && PlayerVehicles[playerid][i][pCarSpawned]) return 1;
- }
- return 0;
- }
- stock GetPlayerVehicleSlot(playerid)
- {
- if (IsPlayerInAnyVehicle(playerid))
- {
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarID] == GetPlayerVehicleID(playerid) && PlayerVehicles[playerid][i][pCarSpawned])
- {
- return i;
- }
- }
- }
- return 0;
- }
- stock GetPlayerVehicleAmount(playerid)
- {
- new iCars;
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarOwned]) ++iCars;
- }
- return iCars;
- }
- stock ParkVehicle(playerid, slot)
- {
- if (IsPlayerInVehicle(playerid, PlayerVehicles[playerid][slot][pCarID]))
- {
- if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
- {
- new Float:x, Float:y, Float:z, Float:angle;
- GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
- GetVehicleZAngle(GetPlayerVehicleID(playerid), angle);
- PlayerVehicles[playerid][slot][pCarX] = x;
- PlayerVehicles[playerid][slot][pCarY] = y;
- PlayerVehicles[playerid][slot][pCarZ] = z;
- PlayerVehicles[playerid][slot][pCarRot] = angle;
- foreach(Player, i)
- {
- if (i == playerid) continue;
- if (IsPlayerInVehicle(i, PlayerVehicles[playerid][slot][pCarID]))
- {
- SetPVarInt(i, "CarID", PlayerVehicles[playerid][slot][pCarID]);
- SetPVarInt(i, "CarSeat", GetPlayerVehicleSeat(playerid));
- }
- }
- VehicleLocked[GetPlayerVehicleID(playerid)] = 0;
- UnlockVehicle(GetPlayerVehicleID(playerid));
- DestroyVehicle(GetPlayerVehicleID(playerid));
- PlayerVehicles[playerid][slot][pCarID] = CreateVehicle(PlayerVehicles[playerid][slot][pCarModel], x, y, z, angle, PlayerVehicles[playerid][slot][pCarColor1], PlayerVehicles[playerid][slot][pCarColor2], -1);
- PutPlayerInVehicle(playerid, PlayerVehicles[playerid][slot][pCarID], 0);
- foreach(Player, i)
- {
- if (GetPVarInt(i, "CarID") == PlayerVehicles[playerid][slot][pCarID])
- {
- PutPlayerInVehicle(i, PlayerVehicles[playerid][slot][pCarID], GetPVarInt(i, "CarSeat"));
- DeletePVar(i, "CarID");
- DeletePVar(i, "CarSeat");
- }
- }
- ModifyVehicle(playerid, slot);
- return 1;
- }
- return 0;
- }
- return -1;
- }
- stock VehicleDisconnect(playerid)
- {
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarOwned])
- {
- SavePlayerVehicle(playerid, i);
- if (PlayerVehicles[playerid][i][pCarSpawned]) DestroyVehicle(PlayerVehicles[playerid][i][pCarID]);
- }
- }
- db_close(VehicleDatabase[playerid]);
- return 1;
- }
- stock VehicleConnect(playerid)
- {
- new string[64];
- format(string, sizeof(string), "Vehicles/%s.db", PlayerName(playerid));
- VehicleDatabase[playerid] = db_open(string);
- CreateVehicleTables(playerid);
- for (new s = 1; s < MAX_PLAYER_CARS + 1; s += 1)
- {
- PlayerVehicles[playerid][s][pCarModel] = 0;
- PlayerVehicles[playerid][s][pCarX] = 0.0;
- PlayerVehicles[playerid][s][pCarY] = 0.0;
- PlayerVehicles[playerid][s][pCarZ] = 0.0;
- PlayerVehicles[playerid][s][pCarRot] = 0.0;
- PlayerVehicles[playerid][s][pCarColor1] = 0;
- PlayerVehicles[playerid][s][pCarColor2] = 0;
- PlayerVehicles[playerid][s][pCarPaintjob] = -1;
- PlayerVehicles[playerid][s][pCarMod1] = 0;
- PlayerVehicles[playerid][s][pCarMod2] = 0;
- PlayerVehicles[playerid][s][pCarMod3] = 0;
- PlayerVehicles[playerid][s][pCarMod4] = 0;
- PlayerVehicles[playerid][s][pCarMod5] = 0;
- PlayerVehicles[playerid][s][pCarMod6] = 0;
- PlayerVehicles[playerid][s][pCarMod7] = 0;
- PlayerVehicles[playerid][s][pCarMod8] = 0;
- PlayerVehicles[playerid][s][pCarMod9] = 0;
- PlayerVehicles[playerid][s][pCarMod10] = 0;
- PlayerVehicles[playerid][s][pCarMod11] = 0;
- PlayerVehicles[playerid][s][pCarMod12] = 0;
- PlayerVehicles[playerid][s][pCarMod13] = 0;
- PlayerVehicles[playerid][s][pCarMod14] = 0;
- PlayerVehicles[playerid][s][pCarMod15] = 0;
- PlayerVehicles[playerid][s][pCarMod16] = 0;
- PlayerVehicles[playerid][s][pCarMod17] = 0;
- PlayerVehicles[playerid][s][pCarHasLock] = 0;
- PlayerVehicles[playerid][s][pCarLocked] = 0;
- PlayerVehicles[playerid][s][pCarTrunkCash] = 0;
- PlayerVehicles[playerid][s][pCarTrunkGun1] = 0;
- PlayerVehicles[playerid][s][pCarTrunkGun2] = 0;
- PlayerVehicles[playerid][s][pCarTrunkGun3] = 0;
- PlayerVehicles[playerid][s][pCarTrunkGun4] = 0;
- PlayerVehicles[playerid][s][pCarTrunkAmmo1] = 0;
- PlayerVehicles[playerid][s][pCarTrunkAmmo2] = 0;
- PlayerVehicles[playerid][s][pCarTrunkAmmo3] = 0;
- PlayerVehicles[playerid][s][pCarTrunkAmmo4] = 0;
- PlayerVehicles[playerid][s][pCarSpawned] = 0;
- PlayerVehicles[playerid][s][pCarOwned] = 0;
- PlayerVehicles[playerid][s][pCarID] = 0;
- VehicleListitem[playerid][s] = -1;
- }
- SetPVarInt(playerid, "CarOffer", INVALID_PLAYER_ID);
- LoadPlayerVehicles(playerid);
- return 1;
- }
- CMD:dealervehicle(playerid, params[])
- {
- if (IsPlayerAdmin(playerid))
- {
- new model, price, string[128];
- if (sscanf(params, "dd", model, price)) return SendClientMessage(playerid, GREY, "USAGE: /dealervehicle [model] [price]");
- if (model < 400 || model > 611) return SendClientMessage(playerid, GREY, "Invalid model.");
- new Float:x, Float:y, Float:z, Float:a;
- GetPlayerPos(playerid, x, y, z);
- GetPlayerFacingAngle(playerid, a);
- new cdv = CreateDealershipVehicle(model, price, x, y, z, a);
- switch (cdv)
- {
- case 0: return SendClientMessage(playerid, GREY, "The vehicle could not be created.");
- case 1:
- {
- SetPlayerPos(playerid, x, y, z + 5);
- format(string, sizeof(string), "Dealership vehicle #%d created (model: %d | price: $%d).", cdv, model, price);
- SendClientMessage(playerid, GREY, string);
- SaveDealershipVehicles();
- }
- }
- return 1;
- }
- else SendClientMessage(playerid, GREY, "You cannot use this command since you're not a high enough administrator level.");
- return 1;
- }
- CMD:deletevehicle(playerid, params[])
- {
- if (IsPlayerAdmin(playerid))
- {
- new vehicleid, string[128], iModel, iSQL;
- if (sscanf(params, "d", vehicleid)) return SendClientMessage(playerid, GREY, "USAGE: /deletevehicle [vehicleid]");
- if (!DealershipVehicles[vehicleid][vForSale]) return SendClientMessage(playerid, GREY, "That is not a dealership vehicle.");
- iModel = DealershipVehicles[vehicleid][vModel];
- iSQL = DealershipVehicles[vehicleid][vSQL_ID];
- if (DeleteDealershipVehicle(vehicleid))
- {
- format(string, sizeof(string), "You have deleted dealership vehicle #%d (SQL ID: %d | Model: %s)", vehicleid, iSQL, GetVehicleNameByModel(iModel));
- SendClientMessage(playerid, WHITE, string);
- SaveDealershipVehicles();
- }
- return 1;
- }
- else SendClientMessage(playerid, GREY, "You cannot use this command since you're not a high enough administrator level.");
- return 1;
- }
- CMD:park(playerid, params[])
- {
- if (!GetPlayerVehicleAmount(playerid)) return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
- if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, GREY, "You are not in any vehicle.");
- if (!GetPlayerVehicleSlot(playerid)) return SendClientMessage(playerid, GREY, "You don't own this vehicle.");
- switch (ParkVehicle(playerid, GetPlayerVehicleSlot(playerid)))
- {
- case -1:
- {
- SendClientMessage(playerid, GREY, "You are not in any vehicle.");
- }
- case 0:
- {
- SendClientMessage(playerid, GREY, "You must be the driver.");
- }
- case 1:
- {
- SendClientMessage(playerid, YELLOW, "You have successfully parked your vehicle.");
- }
- }
- return 1;
- }
- CMD:mycars(playerid, params[])
- {
- if (!GetPlayerVehicleAmount(playerid))
- return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
- new szString[128];
- new szStatus[12];
- new szCarString[128 * MAX_PLAYER_CARS];
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarOwned] == 0) continue;
- switch (PlayerVehicles[playerid][i][pCarSpawned])
- {
- case 0: szStatus = "Despawned", format(szString, sizeof(szString), "#%d - %s (Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), szStatus);
- case 1: szStatus = "Spawned", format(szString, sizeof(szString), "#%d - %s (ID: %d - Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), PlayerVehicles[playerid][i][pCarID], szStatus);
- }
- strcat(szCarString, szString);
- }
- ShowPlayerDialog(playerid, 0, DIALOG_STYLE_LIST, "My Cars", szCarString, "Close", "");
- return 1;
- }
- CMD:spawncar(playerid, params[])
- {
- if (WorldInfo[playerid][pWorld] == 2 && WorldInfo[playerid][pDonator] == 0)
- return SendClientMessage(playerid, COLOR_RED, "You Can only spawn your car in a stunt world if you are a donator.");
- if (!GetPlayerVehicleAmount(playerid))
- return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
- new szString[128];
- new szStatus[12];
- new szCarString[128 * MAX_PLAYER_CARS];
- new iListitem = 0;
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarOwned] == 0) continue;
- switch (PlayerVehicles[playerid][i][pCarSpawned])
- {
- case 0: szStatus = "Despawned", format(szString, sizeof(szString), "#%d - %s (Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), szStatus);
- case 1: szStatus = "Spawned", format(szString, sizeof(szString), "#%d - %s (ID: %d - Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), PlayerVehicles[playerid][i][pCarID], szStatus);
- }
- strcat(szCarString, szString);
- VehicleListitem[playerid][i] = iListitem ++;
- }
- ShowPlayerDialog(playerid, 10, DIALOG_STYLE_LIST, "Spawn / Despawn Vehicle", szCarString, "Select", "Cancel");
- return 1;
- }
- CMD:deletecar(playerid, params[])
- {
- if (!GetPlayerVehicleAmount(playerid))
- return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
- new szString[128];
- new szStatus[12];
- new szCarString[128 * MAX_PLAYER_CARS];
- new iListitem = 0;
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarOwned] == 0) continue;
- switch (PlayerVehicles[playerid][i][pCarSpawned])
- {
- case 0: szStatus = "Despawned", format(szString, sizeof(szString), "#%d - %s (Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), szStatus);
- case 1: szStatus = "Spawned", format(szString, sizeof(szString), "#%d - %s (ID: %d - Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), PlayerVehicles[playerid][i][pCarID], szStatus);
- }
- strcat(szCarString, szString);
- VehicleListitem[playerid][i] = iListitem ++;
- }
- ShowPlayerDialog(playerid, 11, DIALOG_STYLE_LIST, "Delete Vehicle", szCarString, "Select", "Cancel");
- return 1;
- }
- CMD:upgradecar(playerid, params[])
- {
- if (!GetPlayerVehicleAmount(playerid))
- return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
- new szString[128];
- new szStatus[12];
- new szCarString[128 * MAX_PLAYER_CARS];
- new iListitem = 0;
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarOwned] == 0) continue;
- switch (PlayerVehicles[playerid][i][pCarSpawned])
- {
- case 0: szStatus = "Despawned", format(szString, sizeof(szString), "#%d - %s (Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), szStatus);
- case 1: szStatus = "Spawned", format(szString, sizeof(szString), "#%d - %s (ID: %d - Status: %s)\n", i, GetVehicleNameByModel(PlayerVehicles[playerid][i][pCarModel]), PlayerVehicles[playerid][i][pCarID], szStatus);
- }
- strcat(szCarString, szString);
- VehicleListitem[playerid][i] = iListitem ++;
- }
- ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "Upgrade Vehicle", szCarString, "Select", "Cancel");
- return 1;
- }
- CMD:vlock(playerid, params[])
- {
- if (!GetPlayerVehicleAmount(playerid))
- return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
- if (IsPlayerInAnyVehicle(playerid))
- {
- new vehicleid = GetPlayerVehicleID(playerid);
- if (!PlayerOwnsVehicle(playerid, vehicleid)) return SendClientMessage(playerid, GREY, "You don't own this vehicle.");
- if (PlayerVehicles[playerid][GetPlayerVehicleSlot(playerid)][pCarHasLock] == 0) return SendClientMessage(playerid, GREY, "This vehicle doesn't have a lock (/upgradecar to buy one).");
- VehicleLocked[vehicleid] = !VehicleLocked[vehicleid];
- switch (VehicleLocked[vehicleid])
- {
- case 0:
- {
- UnlockVehicle(vehicleid);
- PlayerVehicles[playerid][GetPlayerVehicleSlot(playerid)][pCarLocked] = 0;
- GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~w~Vehicle ~g~Unlocked", 3000, 3);
- }
- case 1:
- {
- LockVehicle(vehicleid);
- PlayerVehicles[playerid][GetPlayerVehicleSlot(playerid)][pCarLocked] = 1;
- GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~w~Vehicle ~r~Locked", 3000, 3);
- }
- }
- return 1;
- }
- else
- {
- new carcount;
- new vehicleid = -1;
- new slotid = -1;
- new Float:pos[3];
- for (new i = 1; i < MAX_VEHICLES; i += 1)
- {
- GetVehiclePos(i, pos[0], pos[1], pos[2]);
- if (IsPlayerInRangeOfPoint(playerid, 3.5, pos[0], pos[1], pos[2]) && PlayerOwnsVehicle(playerid, i))
- {
- vehicleid = i;
- carcount += 1;
- break;
- }
- }
- if (vehicleid == -1 && !carcount) return SendClientMessage(playerid, GREY, "You are not near any vehicle that you've purchased.");
- if (carcount >= 2) return SendClientMessage(playerid, GREY, "There are too many vehicles in range.");
- else
- {
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (PlayerVehicles[playerid][i][pCarID] == vehicleid)
- {
- slotid = i;
- break;
- }
- }
- if (!slotid) return SendClientMessage(playerid, GREY, "You don't own this vehicle.");
- if (PlayerVehicles[playerid][slotid][pCarHasLock] == 0) return SendClientMessage(playerid, GREY, "This vehicle doesn't have a lock (/upgradecar to buy one).");
- VehicleLocked[vehicleid] = !VehicleLocked[vehicleid];
- switch (VehicleLocked[vehicleid])
- {
- case 0:
- {
- UnlockVehicle(vehicleid);
- PlayerVehicles[playerid][slotid][pCarLocked] = 0;
- GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~w~Vehicle ~g~Unlocked", 3000, 3);
- PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
- }
- case 1:
- {
- LockVehicle(vehicleid);
- PlayerVehicles[playerid][slotid][pCarLocked] = 1;
- GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~w~Vehicle ~r~Locked", 3000, 3);
- PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
- }
- }
- }
- }
- return 1;
- }
- CMD:carhelp(playerid, params[])
- {
- SendClientMessage(playerid, WHITE, "VEHICLE: /park, /mycars, /spawncar, /upgradecar, /deletecar, /lock, /sellcar.");
- SendClientMessage(playerid, WHITE, "VEHICLE: /trunkput, /trunktake, /trunkbalance.");
- return 1;
- }
- CMD:sellcar(playerid, params[])
- {
- if (!GetPlayerVehicleAmount(playerid))
- return SendClientMessage(playerid, GREY, "You don't own any vehicles.");
- if (!IsPlayerInAnyVehicle(playerid))
- return SendClientMessage(playerid, GREY, "You must be inside a vehicle.");
- if (!PlayerOwnsVehicle(playerid, GetPlayerVehicleID(playerid)))
- return SendClientMessage(playerid, GREY, "You don't own this vehicle.");
- new userid, price, string[128];
- if (sscanf(params, "ud", userid, price))
- return SendClientMessage(playerid, GREY, "USAGE: /sellcar [target] [price]");
- if (!IsPlayerConnected(userid))
- return SendClientMessage(playerid, GREY, "The specified player is not connected.");
- if (userid == playerid)
- return SendClientMessage(playerid, GREY, "You can't sell a vehicle to yourself.");
- if (price <= -1)
- return SendClientMessage(playerid, COLOR_RED, "Error: Sell your car for less than $0.");
- if (!IsPlayerNearPlayer(playerid, userid, 7.0)) return SendClientMessage(playerid, GREY, "You are not near that player.");
- format(string, sizeof(string), "* %s wants to sell you their %s for $%d (type /acceptcar to accept).", PlayerName(playerid, false), GetVehicleName(GetPlayerVehicleID(playerid)), price);
- SendClientMessage(userid, LIGHTBLUE, string);
- format(string, sizeof(string), "* You've offered %s to buy your %s for $%d.", PlayerName(userid, false), GetVehicleName(GetPlayerVehicleID(playerid)), price);
- SendClientMessage(playerid, LIGHTBLUE, string);
- SetPVarInt(userid, "CarOffer", playerid);
- SetPVarInt(userid, "CarPrice", price);
- SetPVarInt(userid, "CarSlot", GetPlayerVehicleSlot(playerid));
- return 1;
- }
- stock IsPlayerNearPlayer(playerid, targetid, Float:radius)
- {
- if (IsPlayerConnected(playerid) && IsPlayerConnected(targetid))
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(targetid, x, y, z);
- if (IsPlayerInRangeOfPoint(playerid, radius, x, y, z)) return 1;
- }
- return 0;
- }
- stock IsPlayerNearVehicle(playerid, vehicleid, Float:radius)
- {
- if (IsPlayerConnected(playerid))
- {
- new
- Float:playerFloats[3],
- Float:vehicleFloats[3],
- Float:fCalculation;
- GetPlayerPos(playerid, playerFloats[0], playerFloats[1], playerFloats[2]);
- GetVehiclePos(vehicleid, vehicleFloats[0], vehicleFloats[1], vehicleFloats[2]);
- fCalculation = (vehicleFloats[0] - playerFloats[0]) * (vehicleFloats[0] - playerFloats[0]) + (vehicleFloats[1] - playerFloats[1]) * (vehicleFloats[1] - playerFloats[1]) + (vehicleFloats[2] - playerFloats[2]) * (vehicleFloats[2] - playerFloats[2]);
- if (fCalculation <= (radius * radius))
- {
- if (GetPlayerVirtualWorld(playerid) == GetVehicleVirtualWorld(vehicleid))
- return 1;
- }
- }
- return 0;
- }
- CMD:acceptcar(playerid, params[])
- {
- new string[128];
- if (GetPVarInt(playerid, "CarOffer") != INVALID_PLAYER_ID)
- {
- new query[192];
- if (GetPVarInt(playerid, "CarOffer") != INVALID_PLAYER_ID && IsPlayerConnected(GetPVarInt(playerid, "CarOffer")))
- {
- if (IsPlayerNearPlayer(playerid, GetPVarInt(playerid, "CarOffer"), 7.0))
- {
- if (GetPlayerMoney(playerid) >= GetPVarInt(playerid, "CarPrice"))
- {
- if (GetPlayerVehicleAmount(playerid) < MAX_PLAYER_CARS)
- {
- new slot = GetPVarInt(playerid, "CarSlot");
- if (PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarOwned] && PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarSpawned])
- {
- new slotid = -1;
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (!PlayerVehicles[playerid][i][pCarOwned])
- {
- slotid = i;
- break;
- }
- }
- if (slotid == -1) return SendClientMessage(playerid, GREY, "You already own the maximum amount of vehicles.");
- GivePlayerMoney(playerid, -GetPVarInt(playerid, "CarPrice"));
- GivePlayerMoney(GetPVarInt(playerid, "CarOffer"), GetPVarInt(playerid, "CarPrice"));
- format(string, sizeof(string), "* %s has accepted the offer; you've sold them your %s for $%d.", PlayerName(playerid, false), GetVehicleNameByModel(PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarModel]), GetPVarInt(playerid, "CarPrice"));
- SendClientMessage(GetPVarInt(playerid, "CarOffer"), LIGHTBLUE, string);
- format(string, sizeof(string), "* You have bought a %s for $%d from %s.", GetVehicleNameByModel(PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarModel]), GetPVarInt(playerid, "CarPrice"), PlayerName(GetPVarInt(playerid, "CarOffer"), false));
- SendClientMessage(playerid, LIGHTBLUE, string);
- PlayerVehicles[playerid][slotid][pCarModel] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarModel];
- PlayerVehicles[playerid][slotid][pCarX] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarX];
- PlayerVehicles[playerid][slotid][pCarY] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarY];
- PlayerVehicles[playerid][slotid][pCarZ] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarZ];
- PlayerVehicles[playerid][slotid][pCarRot] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarRot];
- PlayerVehicles[playerid][slotid][pCarColor1] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarColor1];
- PlayerVehicles[playerid][slotid][pCarColor2] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarColor2];
- PlayerVehicles[playerid][slotid][pCarPaintjob] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarPaintjob];
- PlayerVehicles[playerid][slotid][pCarMod1] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod1];
- PlayerVehicles[playerid][slotid][pCarMod2] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod2];
- PlayerVehicles[playerid][slotid][pCarMod3] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod3];
- PlayerVehicles[playerid][slotid][pCarMod4] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod4];
- PlayerVehicles[playerid][slotid][pCarMod5] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod5];
- PlayerVehicles[playerid][slotid][pCarMod6] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod6];
- PlayerVehicles[playerid][slotid][pCarMod7] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod7];
- PlayerVehicles[playerid][slotid][pCarMod8] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod8];
- PlayerVehicles[playerid][slotid][pCarMod9] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod9];
- PlayerVehicles[playerid][slotid][pCarMod10] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod10];
- PlayerVehicles[playerid][slotid][pCarMod11] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod11];
- PlayerVehicles[playerid][slotid][pCarMod12] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod12];
- PlayerVehicles[playerid][slotid][pCarMod13] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod13];
- PlayerVehicles[playerid][slotid][pCarMod14] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod14];
- PlayerVehicles[playerid][slotid][pCarMod15] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod15];
- PlayerVehicles[playerid][slotid][pCarMod16] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod16];
- PlayerVehicles[playerid][slotid][pCarMod17] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod17];
- PlayerVehicles[playerid][slotid][pCarHasLock] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarHasLock];
- PlayerVehicles[playerid][slotid][pCarLocked] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarLocked];
- PlayerVehicles[playerid][slotid][pCarTrunkCash] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkCash];
- PlayerVehicles[playerid][slotid][pCarTrunkGun1] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun1];
- PlayerVehicles[playerid][slotid][pCarTrunkGun2] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun2];
- PlayerVehicles[playerid][slotid][pCarTrunkGun3] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun3];
- PlayerVehicles[playerid][slotid][pCarTrunkGun4] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun4];
- PlayerVehicles[playerid][slotid][pCarTrunkAmmo1] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo1];
- PlayerVehicles[playerid][slotid][pCarTrunkAmmo2] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo2];
- PlayerVehicles[playerid][slotid][pCarTrunkAmmo3] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo3];
- PlayerVehicles[playerid][slotid][pCarTrunkAmmo4] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo4];
- PlayerVehicles[playerid][slotid][pCarSpawned] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarSpawned];
- PlayerVehicles[playerid][slotid][pCarOwned] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarOwned];
- PlayerVehicles[playerid][slotid][pCarID] = PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarID];
- format(query, sizeof(query), "DELETE FROM `VEHICLES` WHERE `Name` = '%s' AND `Slot` = '%d'", PlayerName(GetPVarInt(playerid, "CarOffer")), slot);
- db_query(VehicleDatabase[GetPVarInt(playerid, "CarOffer")], query);
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarModel] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarX] = 0.0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarY] = 0.0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarZ] = 0.0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarRot] = 0.0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarColor1] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarColor2] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarPaintjob] = -1;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod1] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod2] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod3] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod4] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod5] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod6] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod7] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod8] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod9] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod10] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod11] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod12] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod13] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod14] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod15] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod16] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarMod17] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarHasLock] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarLocked] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkCash] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun1] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun2] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun3] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkGun4] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo1] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo2] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo3] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarTrunkAmmo4] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarSpawned] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarOwned] = 0;
- PlayerVehicles[GetPVarInt(playerid, "CarOffer")][slot][pCarID] = 0;
- SetPVarInt(playerid, "CarOffer", INVALID_PLAYER_ID);
- DeletePVar(playerid, "CarPrice");
- DeletePVar(playerid, "CarSlot");
- return 1;
- }
- }
- else return SendClientMessage(playerid, GREY, "You already own the maximum amount of vehicles.");
- }
- else return SendClientMessage(playerid, GREY, "You can't afford that.");
- }
- else return SendClientMessage(playerid, GREY, "You are not near the player who offered you the car.");
- }
- else return SendClientMessage(playerid, GREY, "Nobody offered you a car.");
- }
- return 1;
- }
- CMD:trunkput(playerid, params[])
- {
- new carcount;
- new slotid = -1;
- new string[128];
- if (WorldInfo[playerid][pWorld] == 2)
- return SendClientMessage(playerid, COLOR_RED, "You Can not store weapon's in your trunk while in a stunt world, Even If you are a donator.");
- if (IsPlayerInAnyVehicle(playerid))
- return SendClientMessage(playerid, GREY, "You cannot use this command while inside a vehicle.");
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (!PlayerVehicles[playerid][i][pCarOwned]) continue;
- if (!PlayerVehicles[playerid][i][pCarSpawned]) continue;
- if (IsPlayerNearVehicle(playerid, PlayerVehicles[playerid][i][pCarID], 3.5))
- {
- slotid = i;
- carcount += 1;
- }
- }
- if (slotid == -1 && !carcount)
- return SendClientMessage(playerid, GREY, "You are not near any vehicle that you've purchased.");
- if (carcount >= 2)
- return SendClientMessage(playerid, GREY, "There are too many vehicles in range.");
- new name[24], value;
- if (sscanf(params, "sd", name, value)) return SendClientMessage(playerid, GREY, "USAGE: /trunkput [name] [value]"), SendClientMessage(playerid, GREY, "Available names: cash, weapon");
- if (strlen(name) > 22) return 1;
- if (strcmp(name, "cash", true) == 0)
- {
- if (GetPlayerMoney(playerid) <= 0)
- return SendClientMessage(playerid, GREY, "You don't have any money.");
- if (value > GetPlayerMoney(playerid) || value < 1)
- return SendClientMessage(playerid, GREY, "You don't have that much.");
- PlayerVehicles[playerid][slotid][pCarTrunkCash] += value;
- GivePlayerMoney(playerid, -value);
- format(string, sizeof(string), "You have stored $%d into your vehicle.", value);
- SendClientMessage(playerid, WHITE, string);
- return 1;
- }
- if (strcmp(name, "weapon", true) == 0)
- {
- if (!GetPlayerWeapon(playerid))
- return SendClientMessage(playerid, GREY, "You must equip the weapon you're storing.");
- if (value < 1 || value > 4) return SendClientMessage(playerid, GREY, "Invalid slot. Slots range from 1-4.");
- if (value == 1 && PlayerVehicles[playerid][slotid][pCarTrunkGun1]) return SendClientMessage(playerid, GREY, "You already have a weapon in that slot.");
- if (value == 2 && PlayerVehicles[playerid][slotid][pCarTrunkGun2]) return SendClientMessage(playerid, GREY, "You already have a weapon in that slot.");
- if (value == 3 && PlayerVehicles[playerid][slotid][pCarTrunkGun3]) return SendClientMessage(playerid, GREY, "You already have a weapon in that slot.");
- if (value == 4 && PlayerVehicles[playerid][slotid][pCarTrunkGun4]) return SendClientMessage(playerid, GREY, "You already have a weapon in that slot.");
- new weapon[24];
- GetWeaponNameEx(GetPlayerWeapon(playerid), weapon, 24);
- switch (value)
- {
- case 1: { PlayerVehicles[playerid][slotid][pCarTrunkGun1] = GetPlayerWeapon(playerid); PlayerVehicles[playerid][slotid][pCarTrunkAmmo1] = GetPlayerAmmo(playerid); }
- case 2: { PlayerVehicles[playerid][slotid][pCarTrunkGun2] = GetPlayerWeapon(playerid); PlayerVehicles[playerid][slotid][pCarTrunkAmmo2] = GetPlayerAmmo(playerid); }
- case 3: { PlayerVehicles[playerid][slotid][pCarTrunkGun3] = GetPlayerWeapon(playerid); PlayerVehicles[playerid][slotid][pCarTrunkAmmo3] = GetPlayerAmmo(playerid); }
- case 4: { PlayerVehicles[playerid][slotid][pCarTrunkGun4] = GetPlayerWeapon(playerid); PlayerVehicles[playerid][slotid][pCarTrunkAmmo4] = GetPlayerAmmo(playerid); }
- }
- RemovePlayerWeapon(playerid, GetPlayerWeapon(playerid));
- return 1;
- }
- return 1;
- }
- CMD:testdm(playerid, params[])
- {
- freezet[playerid] = SetTimer("move",5000,false);
- SetPlayerPos(playerid, 1842.9900000, 2738.8500000, 1634.3000000);
- SetPlayerInterior(playerid, 12);
- SetPlayerVirtualWorld(playerid, 1);
- TogglePlayerControllable(playerid, 0);
- return 1;
- }
- CMD:trunktake(playerid, params[])
- {
- new carcount;
- new slotid = -1;
- new string[128];
- if (WorldInfo[playerid][pWorld] == 2)
- return SendClientMessage(playerid, COLOR_RED, "You Can not take stuff out of your trunk while in a stunt world, Even If you are a donator.");
- if (IsPlayerInAnyVehicle(playerid))
- return SendClientMessage(playerid, GREY, "You cannot use this command while inside a vehicle.");
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (!PlayerVehicles[playerid][i][pCarOwned]) continue;
- if (!PlayerVehicles[playerid][i][pCarSpawned]) continue;
- if (IsPlayerNearVehicle(playerid, PlayerVehicles[playerid][i][pCarID], 3.5))
- {
- slotid = i;
- carcount += 1;
- }
- }
- if (slotid == -1 && !carcount)
- return SendClientMessage(playerid, GREY, "You are not near any vehicle that you've purchased.");
- if (carcount >= 2)
- return SendClientMessage(playerid, GREY, "There are too many vehicles in range.");
- new name[24], value;
- if (sscanf(params, "sd", name, value)) return SendClientMessage(playerid, GREY, "USAGE: /trunktake [name] [value]"), SendClientMessage(playerid, GREY, "Available names: cash, weapon");
- if (strlen(name) > 22) return 1;
- if (strcmp(name, "cash", true) == 0)
- {
- if (PlayerVehicles[playerid][slotid][pCarTrunkCash] <= 0)
- return SendClientMessage(playerid, GREY, "You don't have any money in your trunk.");
- if (value > PlayerVehicles[playerid][slotid][pCarTrunkCash] || value < 1)
- return SendClientMessage(playerid, GREY, "You don't have that much money in your trunk.");
- PlayerVehicles[playerid][slotid][pCarTrunkCash] -= value;
- GivePlayerMoney(playerid, value);
- format(string, sizeof(string), "You have taken $%d from your vehicle.", value);
- SendClientMessage(playerid, WHITE, string);
- return 1;
- }
- if (strcmp(name, "weapon", true) == 0)
- {
- new weaponid, ammo;
- if (value < 1 || value > 4) return SendClientMessage(playerid, GREY, "Invalid slot. Slots range from 1-4.");
- switch (value)
- {
- case 1: { weaponid = PlayerVehicles[playerid][slotid][pCarTrunkGun1]; ammo = PlayerVehicles[playerid][slotid][pCarTrunkAmmo1]; }
- case 2: { weaponid = PlayerVehicles[playerid][slotid][pCarTrunkGun2]; ammo = PlayerVehicles[playerid][slotid][pCarTrunkAmmo2]; }
- case 3: { weaponid = PlayerVehicles[playerid][slotid][pCarTrunkGun3]; ammo = PlayerVehicles[playerid][slotid][pCarTrunkAmmo3]; }
- case 4: { weaponid = PlayerVehicles[playerid][slotid][pCarTrunkGun4]; ammo = PlayerVehicles[playerid][slotid][pCarTrunkAmmo4]; }
- }
- if (!weaponid) return SendClientMessage(playerid, GREY, "You don't have any weapon in that slot.");
- new weapon[24];
- GetWeaponNameEx(weaponid, weapon, 24);
- if (value == 1) PlayerVehicles[playerid][slotid][pCarTrunkGun1] = 0, PlayerVehicles[playerid][slotid][pCarTrunkAmmo1] = 0;
- if (value == 2) PlayerVehicles[playerid][slotid][pCarTrunkGun2] = 0, PlayerVehicles[playerid][slotid][pCarTrunkAmmo2] = 0;
- if (value == 3) PlayerVehicles[playerid][slotid][pCarTrunkGun3] = 0, PlayerVehicles[playerid][slotid][pCarTrunkAmmo3] = 0;
- if (value == 4) PlayerVehicles[playerid][slotid][pCarTrunkGun4] = 0, PlayerVehicles[playerid][slotid][pCarTrunkAmmo4] = 0;
- GivePlayerWeapon(playerid, weaponid, ammo);
- format(string, sizeof(string), "You have taken a %s from slot %d of your vehicle.", weapon, value);
- SendClientMessage(playerid, WHITE, string);
- return 1;
- }
- return 1;
- }
- CMD:trunkbalance(playerid, params[])
- {
- new carcount;
- new slotid = -1;
- new string[128];
- if (IsPlayerInAnyVehicle(playerid))
- return SendClientMessage(playerid, GREY, "You cannot use this command while inside a vehicle.");
- for (new i = 1; i < MAX_PLAYER_CARS + 1; i += 1)
- {
- if (!PlayerVehicles[playerid][i][pCarOwned]) continue;
- if (!PlayerVehicles[playerid][i][pCarSpawned]) continue;
- if (IsPlayerNearVehicle(playerid, PlayerVehicles[playerid][i][pCarID], 3.5))
- {
- slotid = i;
- carcount += 1;
- }
- }
- if (slotid == -1 && !carcount)
- return SendClientMessage(playerid, GREY, "You are not near any vehicle that you've purchased.");
- if (carcount >= 2)
- return SendClientMessage(playerid, GREY, "There are too many vehicles in range.");
- new weapon1[24];
- new weapon2[24];
- new weapon3[24];
- new weapon4[24];
- GetWeaponNameEx(PlayerVehicles[playerid][slotid][pCarTrunkGun1], weapon1, 24);
- GetWeaponNameEx(PlayerVehicles[playerid][slotid][pCarTrunkGun2], weapon2, 24);
- GetWeaponNameEx(PlayerVehicles[playerid][slotid][pCarTrunkGun3], weapon3, 24);
- GetWeaponNameEx(PlayerVehicles[playerid][slotid][pCarTrunkGun4], weapon4, 24);
- SendClientMessage(playerid, GREEN, "_________________________________");
- SendClientMessage(playerid, WHITE, "** Trunk Balance **");
- format(string, sizeof(string), "Cash: $%d", PlayerVehicles[playerid][slotid][pCarTrunkCash]);
- SendClientMessage(playerid, WHITE, string);
- format(string, sizeof(string), "Weapon 1: %s | Ammo: %d", weapon1, PlayerVehicles[playerid][slotid][pCarTrunkAmmo1]);
- SendClientMessage(playerid, WHITE, string);
- format(string, sizeof(string), "Weapon 2: %s | Ammo: %d", weapon2, PlayerVehicles[playerid][slotid][pCarTrunkAmmo2]);
- SendClientMessage(playerid, WHITE, string);
- format(string, sizeof(string), "Weapon 3: %s | Ammo: %d", weapon3, PlayerVehicles[playerid][slotid][pCarTrunkAmmo3]);
- SendClientMessage(playerid, WHITE, string);
- format(string, sizeof(string), "Weapon 4: %s | Ammo: %d", weapon4, PlayerVehicles[playerid][slotid][pCarTrunkAmmo4]);
- SendClientMessage(playerid, WHITE, string);
- SendClientMessage(playerid, GREEN, "_________________________________");
- return 1;
- }
- //some tune menu shit
- CarmodDialog(playerid)
- {
- ShowPlayerDialog(playerid,1111,DIALOG_STYLE_LIST,"Select things to put in your car","Nitro\nCar Color\nWheels\nStereo\nHydraulics\nCar Components","Select","Cancel");
- return 1;
- }
- RegularCarDialog(playerid)
- {
- new vehmd = GetVehicleModel(GetPlayerVehicleID(playerid));
- new string[128];
- if(vehmd == 401 || vehmd == 496 || vehmd == 518 || vehmd == 540 || vehmd == 546 || vehmd == 589)
- {string = "Spoiler\nHood\nRoof\nVents\nSideskirt\nLights\n{FF0000}Back";}
- else if(vehmd == 549)
- {string = "Spoiler\nHood\nVents\nSideskirt\nLights\n{FF0000}Back";}
- else if(vehmd == 550)
- {string = "Spoiler\nHood\nRoof\nVents\nLights\n{FF0000}Back";}
- else if(vehmd == 585 || vehmd == 603)
- {string = "Spoiler\nRoof\nVents\nSideskirt\nLights\n{FF0000}Back";}
- else if(vehmd == 410 || vehmd == 436)
- {string = "Spoiler\nRoof\nSideskirt\nLights\n{FF0000}Back";}
- else if(vehmd == 439 || vehmd == 458)
- {string = "Spoiler\nVents\nSideskirt\nLights\n{FF0000}Back";}
- else if(vehmd == 551 || vehmd == 492 || vehmd == 529)
- {string = "Spoiler\nHood\nRoof\nSideskirt\n{FF0000}Back";}
- else if(vehmd == 489 || vehmd == 505)
- {string = "Spoiler\nHood\nRoof\nLights\n{FF0000}Back";}
- else if(vehmd == 516)
- {string = "Spoiler\nHood\nSideskirt\n{FF0000}Back";}
- else if(vehmd == 491 || vehmd == 517)
- {string = "Spoiler\nVents\nSideskirt\n{FF0000}Back";}
- else if(vehmd == 418 || vehmd == 527 || vehmd == 580)
- {string = "Spoiler\nRoof\nSideskirt\n{FF0000}Back";}
- else if(vehmd == 420 || vehmd == 587)
- {string = "Spoiler\nHood\n{FF0000}Back";}
- else if(vehmd == 547)
- {string = "Spoiler\nVents\n{FF0000}Back";}
- else if(vehmd == 415)
- {string = "Spoiler\nSideskirt\n{FF0000}Back";}
- ShowPlayerDialog(playerid,1004,DIALOG_STYLE_LIST,"Choose one",string,"Select","Cancel");
- return 1;
- }
- CMD:test(playerid, params[])
- {
- SendClientMessage(playerid, -1, "{00FFFF}CYAN COLOR! {9ACD32}LIGHTGREEN COLOR!");
- return 1;
- }
- //rp name checker
- stock RPnamecheck(playerid)
- {
- new pname[MAX_PLAYER_NAME],underline=0;
- GetPlayerName(playerid, pname, sizeof(pname));
- if(strfind(pname,"[",true) != (-1)) return 0;
- else if(strfind(pname,"]",true) != (-1)) return 0;
- else if(strfind(pname,"$",true) != (-1)) return 0;
- else if(strfind(pname,"(",true) != (-1)) return 0;
- else if(strfind(pname,")",true) != (-1)) return 0;
- else if(strfind(pname,"=",true) != (-1)) return 0;
- else if(strfind(pname,"@",true) != (-1)) return 0;
- else if(strfind(pname,"1",true) != (-1)) return 0;
- else if(strfind(pname,"2",true) != (-1)) return 0;
- else if(strfind(pname,"3",true) != (-1)) return 0;
- else if(strfind(pname,"4",true) != (-1)) return 0;
- else if(strfind(pname,"5",true) != (-1)) return 0;
- else if(strfind(pname,"6",true) != (-1)) return 0;
- else if(strfind(pname,"7",true) != (-1)) return 0;
- else if(strfind(pname,"Jordan_Mclintock",true) != (-1)) return 0;
- else if(strfind(pname,"Nathan_Crawford",true) != (-1)) return 0;
- else if(strfind(pname,"8",true) != (-1)) return 0;
- else if(strfind(pname,"9",true) != (-1)) return 0;
- else if(strfind(pname,"fuck",true) != (-1)) return 0;
- else if(strfind(pname,"FUCK",true) != (-1)) return 0;
- else if(strfind(pname,"Boobies",true) != (-1)) return 0;
- else if(strfind(pname,"Tupac_Shakur",true) != (-1)) return 0;
- else if(strfind(pname,"Pussy",true) != (-1)) return 0;
- else if(strfind(pname,"Rape",true) != (-1)) return 0;
- else if(strfind(pname,"kill",true) != (-1)) return 0;
- else if(strfind(pname,"shit",true) != (-1)) return 0;
- else if(strfind(pname,"ass",true) != (-1)) return 0;
- else if(strfind(pname,"Jack_Black",true) != (-1)) return 0;
- else if(strfind(pname,"Max_Kenton",true) != (-1)) return 0;
- else if(strfind(pname,"Will_Smith",true) != (-1)) return 0;
- else if(strfind(pname,"Jaden_Smith",true) != (-1)) return 0;
- else if(strfind(pname,"Megan_Fox",true) != (-1)) return 0;
- else if(strfind(pname,"Charlie_Kenton",true) != (-1)) return 0;
- else if(strfind(pname,"Hugh_Hefner",true) != (-1)) return 0;
- else if(strfind(pname,"Paris_Hilton",true) != (-1)) return 0;
- else if(strfind(pname,"Marshall_Mathers",true) != (-1)) return 0;
- else if(strfind(pname,"Sheldon_Cooper",true) != (-1)) return 0;
- else if(strfind(pname,"Jet_Lee",true) != (-1)) return 0;
- else if(strfind(pname,"Jackie_Chan",true) != (-1)) return 0;
- else if(strfind(pname,"Chuck_Norris",true) != (-1)) return 0;
- else if(strfind(pname,"Peter_Parker",true) != (-1)) return 0;
- else if(strfind(pname,"Spider_Man",true) != (-1)) return 0;
- else if(strfind(pname,"Bat_Man",true) != (-1)) return 0;
- else if(strfind(pname,"Emma_Stone",true) != (-1)) return 0;
- else if(strfind(pname,"whore",true) != (-1)) return 0;
- else if(strfind(pname,"Hugh_Jackman",true) != (-1)) return 0;
- else if(strfind(pname,"Charles_Kenton",true) != (-1)) return 0;
- else if(strfind(pname,"Dakota_Goyo",true) != (-1)) return 0;
- else if(strfind(pname,"Harry_Potter",true) != (-1)) return 0;
- else if(strfind(pname,"Chris_Hemsworth",true) != (-1)) return 0;
- else if(strfind(pname,"Penis",true) != (-1)) return 0;
- else if(strfind(pname,"Dick",true) != (-1)) return 0;
- else if(strfind(pname,"Vagina",true) != (-1)) return 0;
- else if(strfind(pname,"Cock",true) != (-1)) return 0;
- else if(strfind(pname,"Rectum",true) != (-1)) return 0;
- else if(strfind(pname,"Sperm",true) != (-1)) return 0;
- else if(strfind(pname,"Rektum",true) != (-1)) return 0;
- else if(strfind(pname,"Pistol",true) != (-1)) return 0;
- else if(strfind(pname,"AK47",true) != (-1)) return 0;
- else if(strfind(pname,"Shotgun",true) != (-1)) return 0;
- else if(strfind(pname,"Cum",true) != (-1)) return 0;
- else if(strfind(pname,"Hitler",true) != (-1)) return 0;
- else if(strfind(pname,"Jesus",true) != (-1)) return 0;
- else if(strfind(pname,"God",true) != (-1)) return 0;
- else if(strfind(pname,"Shotgun",true) != (-1)) return 0;
- else if(strfind(pname,"Desert_Eagle",true) != (-1)) return 0;
- else if(strfind(pname,"fucker",true) != (-1)) return 0;
- else if(strfind(pname,"Retard",true) != (-1)) return 0;
- else if(strfind(pname,"Tarded",true) != (-1)) return 0;
- else if(strfind(pname,"fanny",true) != (-1)) return 0;
- else if(strfind(pname,"Daniel_Hardy",true) != (-1)) return 0;
- else if(strfind(pname,"abcdefghijklmnopqrstuvwxyz",true) != (-1)) return 0;
- new maxname = strlen(pname);
- for(new i=0; i<maxname; i++)
- {
- if(pname[i] == '_') underline ++;
- }
- if(underline != 1) return 0;
- pname[0] = toupper(pname[0]);
- for(new x=1; x<maxname; x++)
- {
- if(pname[x] == '_') pname[x+1] = toupper(pname[x+1]);
- else if(pname[x] != '_' && pname[x-1] != '_') pname[x] = tolower(pname[x]);
- }
- SetPlayerName(playerid, "New_Name");
- SetPlayerName(playerid, pname);
- return 1;
- }
- //timers
- forward move(playerid);
- public move(playerid)
- {
- TogglePlayerControllable(playerid, 1);
- KillTimer(freezet[playerid]);
- return 1;
- }
- stock GetPlayerId(playername[])
- {
- for(new i = 0; i <= MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- new playername2[MAX_PLAYER_NAME];
- GetPlayerName(i, playername2, sizeof(playername2));
- if(strcmp(playername2, playername, true, strlen(playername)) == 0)
- {
- return i;
- }
- }
- }
- return INVALID_PLAYER_ID;
- }
Add Comment
Please, Sign In to add comment