case DIALOG_GOTO:{ if(response){ switch(listitem){ case GOTO_CATEGORY_INTERIOR:{ dialogGotoInterior(playerid); } /*case GOTO_CATEGORY_PLAYER:{ dialogGotoPlayer(playerid); }*/ } } } case DIALOG_GOTO_INTERIOR:{ if(response){ switch(listitem){ case INTERIOR_CATEGORY_247:{ ShowPlayerDialog(playerid, DIALOG_GOTO_247, DIALOG_STYLE_TABLIST, "24/7's", "L-shaped\tBig\tNO EXIT\nOblong\tBig\tNO EXIT\nSquare\tMedium\tCreek, LV\nSquare\tMedium\tNO EXIT\nLong\tSmall\tMulholland\nSquare\tSmall\tWhetstone", "Goto", "Cancel"); } case INTERIOR_CATEGORY_AVIATION:{ ShowPlayerDialog(playerid, DIALOG_GOTO_AVIATION, DIALOG_STYLE_TABLIST, "Aviation interiors", "Francis Intn'l Airport - Ticket sales\tStarting Cutscene\nFrancis Intn'l Airport - Baggage claim\tStarting Cutscene\nShamal cabin\tMission \"Free Fall\"\nAndromada cargo hold\tMission \"Stowaway\"\nLS Airport, Baggage Reclaim\tCutscene in \"Opening Mission\"", "Goto", "Cancel"); } case INTERIOR_CATEGORY_AMMUNATION:{ ShowPlayerDialog(playerid, DIALOG_GOTO_AMMUNATION, DIALOG_STYLE_TABLIST, "Ammunation's", "Ocean Flats\tSF\nPalomino Creek\tLV\nAngel Pine\tSF\nEl Quebrados\tLV\n2 Stories/t with Booth and Range\n Booth\n Range", "Goto", "Cancel"); } case INTERIOR_CATEGORY_BUGRLARY:{ ShowPlayerDialog(playerid, DIALOG_GOTO_BURGLARY, DIALOG_STYLE_TABLIST, "Burglary houses", "Large\t2 story\t3 bedroom clone of house 9\t\nMedium\t1 story\t1 bedroom\tEast LS\nSmall\t1 story\t1 bedroom\tCalton Heights, SF\nVery large\t2 story\t4 bedrooms\nSmall\t1 story\t2 bedrooms\tJefferson LS\nSmall\t1 story\t2 bedrooms\tEast LS\nSmall\t1 story\t 1 bedroom (NO BATHROOM!)", "Goto", "Cancel"); } case INTERIOR_CATEGORY_MISSION:{ ShowPlayerDialog(playerid, DIALOG_GOTO_MISSION, DIALOG_STYLE_TABLIST, "Mission interiors", "Atrium\tMission \"Just Business\"\tLS\nBig Smoke's Crack Palace\tMission \"End of the Line\"\nJefferson Motel\tMission \"Reuniting the Families\"\tLS\nPleasure Domes/Jizzy's\tMission \"Ice Cold Killa\"\tSF\nRC Battlefield\tMission \"New Model Army\"\nWoozies Apartment/Wu-Zi Mu's\t\tSF\n", "Goto", "Cancel"); } case INTERIOR_CATEGORY_MISSIONEXT:{ ShowPlayerDialog(playerid, DIALOG_GOTO_MISSIONEXT, DIALOG_STYLE_TABLIST, "Mission exteriors", "Dillimore Gas Station\tMission \"Tanker Commander\"\nLiberty City\tMission \"Saint Marks Bistro\"\nSan Fierro Garage\tDoherty (Locked Camera Position}", "Goto", "Cancel"); } case INTERIOR_CATEGORY_MISSIONHOUSE:{ ShowPlayerDialog(playerid, DIALOG_GOTO_MISSIONHOUSE, DIALOG_STYLE_TABLIST, "Mission houses", "Burning Desire house\t\tEast LS\nColonel Furhberger's\tMission \"Home Invasion\"\t Los Flores, LS\nRyder's house\nSweet's house\tCutscene in \"First Date\"\nCrack Den\tMission \"Cleaning The Hood\"", "Goto", "Cancel"); } case INTERIOR_CATEGORY_MODSHOP:{ ShowPlayerDialog(playerid, DIALOG_GOTO_MODDING, DIALOG_STYLE_TABLIST, "Modding shops", "Loco Low Co\tLos Santos\nWheel Arch Angels\tSan Fierro\nTransfender", "Goto", "Cancel"); } case INTERIOR_CATEGORY_POLICE:{ ShowPlayerDialog(playerid, DIALOG_GOTO_POLICE, DIALOG_STYLE_LIST, "Police departments", "Las Venturas\nLos Santos\nSan Fierro\nBarbara's love nest", "Goto", "Cancel"); } case INTERIOR_CATEGORY_HOUSES:{ ShowPlayerDialog(playerid, DIALOG_GOTO_HOUSE, DIALOG_STYLE_TABLIST, "Safe houses", "Golden Bed motel room\t\t\nHashbury house\tHashburry\tSF\nThe Johnson house\tGanton\tLS\nMadd Doggs mansion\tMulholland\tLS\nRed Bed motel Room\nVerdant Bluffs safehouse\tVerdant Bluffs\t LV\nUnused safehouse\tLarge modern safehouse", "Goto", "Cancel"); } case INTERIOR_CATEGORY_SHOPS:{ ShowPlayerDialog(playerid, DIALOG_GOTO_SHOP, DIALOG_STYLE_TABLIST, "Shops & casino's", "Tattoos\tIdlewood\tLS\nBurger Shot\tWhitewood Estates\nWell Stacked Pizza\tBlueberry\nCluckin' Bell\nCaligulas casino\tThe Strip\tLV\nCasino (Redsands West)\tThe Strip\tLV\n4 Dragons casino\tThe Strip\tLV\nRusty Brown's donuts\tMission \"Burning Desire\"\nZero's RC shop\tGarcia\tSF\nThe Welcome Pump", "Goto", "Cancel"); } case INTERIOR_CATEGORY_STADIA:{ ShowPlayerDialog(playerid, DIALOG_GOTO_STADIA, DIALOG_STYLE_TABLIST, "Stadia", "Bloodbowl stadium\nKickstart stadium\n8 Track stadium\nDirtbike stadium\n", "Goto", "Cancel"); } } } else{ ShowPlayerDialog(playerid, DIALOG_GOTO, DIALOG_STYLE_LIST, "Categories", "Interiors", "Select", "Cancel"); } } case DIALOG_GOTO_247:{ if(response){ new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1]; switch(listitem){ world = GetPlayerVirtualWorld(playerid); case INTERIOR_247_LSHAPED:{ x = -25.7220; y = -187.8216; z = 1003.5469; interior = 17; angle = 5.0760; name = "L-shaped ammunation"; } case INTERIOR_247_OBLONG:{ x = 6.0856; y = -28.8966; z = 1003.5494; interior = 10; angle = 5.0365; name = "Oblong ammunation"; } case INTERIOR_247_MEDIUM:{ x = -30.9875; y = -89.6806; z = 1003.5469; interior = 18; angle = 359.8401; name = "Medium ammunation"; } case INTERIOR_247_MEDIUM_NOEXIT:{ x = -26.1856; y = -140.9164; z = 1003.5469; interior = 16; angle = 2.9087; name = "Medium no exit ammunation"; } case INTERIOR_247_LONG:{ x = -27.844; y = 26.6737; z = 1003.5573; interior = 4; angle = 184.3118; name = "Small long ammunation"; } case INTERIOR_247_SQAURE:{ x = -26.8339, y = -55.5846, z = 1003.5469, interior = 6, angle = 3.9528; name = "Small square ammunation"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_AVIATION:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[39 + 1]; switch(listitem){ case INTERIOR_AVIATION_TICKET:{ x = -1827.147338; y = 7.207418; z = 1061.143554; interior = 14; angle = 335.3199; name = "Francis Intn'l Airport - Ticket sales"; } case INTERIOR_AVIATION_BAGGAGE:{ x = -1855.568725; y = 41.263156; z = 1061.143554; interior = 14; angle = 335.3199; name = "Francis Intn'l Airport - Baggage claim"; } case INTERIOR_AVIATION_SHAMAL:{ x = 2.384830; y = 33.103397; z = 1199.849976 ; interior = 1; angle = 359.8401; name = "Shamal cabin"; } case INTERIOR_AVIATION_ANDROMADA:{ x = 315.856170; y = 1024.496459; z = 1949.797363; interior = 9; angle = 359.6368; name = "Andromada cargo hold"; } case INTERIOR_AVIATION_LSAIRPORT:{ x = -1870.80; y = 59.81; z = 1056.25; interior = 14; angle = 85.8541; name = "LS Airport, Baggage Reclaim"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_AMMUNATION:{ // TODO there are more ammunations that deserve a booth and range teleport if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[31 + 1]; switch(listitem){ case INTERIOR_AMMU_OCEAN:{ x = 286.148987; y = -40.644398 ; z = 1001.569946; interior = 1; angle = 0.7529; name = "Ocean Flats, SF"; } case INTERIOR_AMMU_PALOMINO:{ x = 286.800995; y = -82.547600; z = 1001.539978; interior = 4; angle = 290.2195; name = "Palomino Creek, LV"; } case INTERIOR_AMMU_ANGEL:{ x = 296.919983; y = -108.071999; z = 1001.569946; interior = 6; angle = 290.2195; name = "Angel Pine, SF"; } case INTERIOR_AMMU_QUEBRADOS:{ x = 316.524994; y = -167.706985; z = 999.661987; interior = 6; angle = 10.3031; name = "El Quebrados, LV"; } case INTERIOR_AMMU_2STORIES:{ x = 314.820984; y = -141.431992; z = 999.661987; interior = 7; angle = 20.2254; name = "2 Stories, with booth and range"; } case INTERIOR_AMMU_BOOTH:{ x = 302.292877; y = -143.139099; z = 1004.062500; interior = 7; angle = 20.2254; name = "Booth"; } case INTERIOR_AMMU_RANGE:{ x = 280.795104; y = -135.203353; z = 1004.062500; interior = 7; angle = 20.2254; name = "Range"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_BURGLARY:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[45 + 1]; switch(listitem){ case INTERIOR_BURGRLARY_LARGE:{ x = 235.508994; y = 1189.169897; z = 1080.339966; interior = 3; angle = 349.4844; name = "Large: 2 story, 3 bedroom clone of house 9"; } case INTERIOR_BURGRLARY_MEDIUM:{ x = 225.756989; y = 1240.000000; z = 1082.149902; interior = 2; angle = 96.2852; name = "Medium: 1 story, 1 bedroom"; } case INTERIOR_BURGRLARY_SMALL:{ x = 223.043991; y = 1289.259888; z = 1082.199951; interior = 1; angle = 359.868; name = "Small: 1 story, 1 bedroom"; } case INTERIOR_BURGRLARY_VERYLARGE:{ x = 225.630997; y = 1022.479980; z = 1084.069946; interior = 7; angle = 270.2654; name = "VERY Large: 2 story, 4 bedrooms"; } case INTERIOR_BURGRLARY_5:{ x = 295.138977; y = 1474.469971; z = 1080.519897; interior = 15; angle = 0; name = "Small: 1 story, 2 bedrooms"; } case INTERIOR_BURGRLARY_6:{ x = 328.493988; y = 1480.589966; z = 1084.449951; interior = 15; angle = 0; name = "Small: 1 story, 2 bedrooms"; } case INTERIOR_BURGRLARY_NOBATH:{ x = 385.803986; y = 1471.769897; z = 1080.209961; interior = 15; angle = 0; name = "Small: 1 story, 1 bedroom (NO BATHROOM!)"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_MISSION:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[30 + 1]; switch(listitem){ case INTERIOR_MISSION_ATRIUM:{ x = 1726.18; y = -1641.00; z = 20.23; interior = 18; angle = 172.4193; name = "Atrium"; } case INTERIOR_MISSION_BIGSMOKE:{ x = 2567.52; y = -1294.59; z = 1063.25 ; interior = 2; angle = 254.9548; name = "Big Smoke's Crack Palace"; } case INTERIOR_MISSION_JEFFERSON:{ x = 2220.26; y = -1148.01; z = 1025.80; interior = 15; angle = 273.7328; name = "Jefferson Motel"; } case INTERIOR_MISSION_JIZZY:{ x = -2637.69; y = 1404.24; z = 906.46; interior = 3; angle = 94.6794; name = "Pleasure Domes/Jizzy's"; } case INTERIOR_MISSION_RC:{ x = -1079.99; y = 1061.58; z = 1343.04; interior = 10; angle = 274.5268; name = "RC Battlefield"; } case INTERIOR_MISSION_WUZI:{ x = -2158.72; y = 641.29; z = 1052.38; interior = 1; angle = 86.5402; name = "Woozies Apartment/Wu-Zi Mu's"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_MISSIONEXT:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[30 + 1]; switch(listitem){ case INTERIOR_MISSIONEXT_GAS:{ x = 664.19; y = -570.73; z = 16.34; interior = 0; angle = 264.9829; name = "Dillimore Gas Station"; } case INTERIOR_MISSIONEXT_LIBERTY:{ // TODO Create extra interior inside the shop x = -750.80; y = 491.00; z = 1371.70; interior = 1; angle = 71.7782; name = "Liberty City"; } case INTERIOR_MISSIONEXT_SFGARAGE:{ // TODO Create extra interior of area that does not capture the camera & see about the camera camera capturing (Use it for broadcast? & In other world or interior place more usable?) x = -2042.42; y = 178.59; z = 28.84; interior = 1; angle = 156.2153; name = "San Fierro Garage Interior"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_MISSIONHOUSE:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[30 + 1]; switch(listitem){ case INTERIOR_MISSIONHOUSE_DESIRE:{ x = 2338.32; y = -1180.61; z = 1027.98; interior = 5; angle = 99.1864; name = "Burning Desire House"; } case INTERIOR_MISSIONHOUSE_COLONEL:{ x = 2807.63; y = -1170.15; z = 1025.57; interior = 8; angle = 193.7117; name = "Colonel Furhberger's"; } case INTERIOR_MISSIONHOUSE_RYDER:{ x = 2451.77; y = -1699.80; z = 1013.51; interior = 2; angle = 314.5253; name = "Ryder's House"; } case INTERIOR_MISSIONHOUSE_SWEET:{ x = 2535.83; y = -1674.32; z = 1015.50; interior = 1; angle = 260.9709; name = "Sweet's House"; } case INTERIOR_MISSIONHOUSE_CRACK:{ x = 318.565; y = 1115.210; z = 1082.98; interior = 5; angle = 267.459; name = "Crack den"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_MODDING:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1]; switch(listitem){ case INTERIOR_MOD_LOCO:{ x = 616.7820; y = -74.8151; z = 997.6350; interior = 2; angle = 320.9263; name = "Loco Low Co"; } case INTERIOR_MOD_WHEEL:{ x = 615.2851; y = -124.2390; z = 997.6350; interior = 3; angle = 266.5704; name = "Wheel Arch Angels"; } case INTERIOR_MOD_TRANSFENDER:{ x = 617.5380; y = -1.9900; z = 1000.6829; interior = 1; angle = 15.6789; name = "Transfender"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_POLICE:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[30 + 1]; switch(listitem){ case INTERIOR_PD_LV:{ x = 288.4723; y = 170.0647; z = 1007.1794; interior = 3; angle = 22.0477; name = "Las Venturas police deparment"; } case INTERIOR_PD_LS:{ x = 246.6695; y = 65.8039; z = 1003.6406; interior = 6; angle = 7.9562; name = "Los Santos police deparment"; } case INTERIOR_PD_SF:{ x = 246.0688; y = 108.9703; z = 1003.2188; interior = 10; angle = 0.2922; name = "San Fierro police deparment"; } case INTERIOR_PD_BARBARA:{ x = 322.5014; y = 303.6906; z = 999.1484; interior = 5; angle = 8.1747; name = "Barbara's Love nest"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_HOUSE:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1]; switch(listitem){ case INTERIOR_HOUSE_GOLDEN:{ x = 2251.85; y = -1138.16; z = 1050.63; interior = 9; angle = 167.3959; name = "Golden Bed motel room"; } case INTERIOR_HOUSE_HASHBURY:{ x = 2260.76; y = -1210.45; z = 1049.02; interior = 10; angle = 266.88; name = "Hashbury house"; } case INTERIOR_HOUSE_JOHNSON:{ x = 2496.65; y = -1696.55; z = 1014.74; interior = 3; angle = 179.2174; name = "The Johnson house"; } case INTERIOR_HOUSE_MADDDOGG:{ x = 1299.14; y = -794.77; z = 1084.00; interior = 5; angle = 231.3418; name = "Madd Doggs mansion"; } case INTERIOR_HOUSE_RED:{ x = 2262.83; y = -1137.71; z = 1050.63; interior = 10; angle = 266.88; name = "Red Bed motel room"; } case INTERIOR_HOUSE_VERDANT:{ x = 2365.42; y = -1131.85; z = 1050.88; interior = 8; angle = 177.3947; name = "Verdant Bluffs safehouse"; } case INTERIOR_HOUSE_UNUSED:{ x = 2324.33; y = -1144.79; z = 1050.71; interior = 12; angle = 269.0954; name = "Unused safe house"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_SHOP:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1]; switch(listitem){ case INTERIOR_SHOP_TATTOO:{ x = -203.0764; y = -24.1658; z = 1002.2734; interior = 16; angle = 252.8154; name = "Tattoos"; } case INTERIOR_SHOP_BURGER:{ x = 366.0248; y = -73.3478; z = 1001.5078; interior = 10; angle = 292.0084; name = "Burger Shot"; } case INTERIOR_SHOP_PIZZA:{ x = 372.3520; y = -131.6510; z = 1001.4922; interior = 5; angle = 354.2285; name = "Well Stacked Pizza"; } case INTERIOR_SHOP_CLUCKIN:{ x = 365.7158; y = -9.8873; z = 1001.8516; interior = 9; angle = 160.528; name = "Cluckin' Bell"; } case INTERIOR_SHOP_CALIGULAS:{ x = 2233.8032; y = 1712.2303; z = 1011.7632; interior = 1; angle = 184.3891; name = "Caligulas Casino"; } case INTERIOR_SHOP_CASINO:{ x = 1118.8878; y = -10.2737; z = 1002.0859; interior = 12; angle = 165.8482; name = "Casino (Redsands West)"; } case INTERIOR_SHOP_4DRAGONS:{ x = 2016.2699; y = 1017.7790; z = 996.8750; interior = 10; angle = 88.0055; name = "4 Dragons Casino"; } case INTERIOR_SHOP_DONUTS:{ x = 376.99; y = -191.21; z = 1000.63; interior = 17; angle = 141.0245; name = "Rusty Brown's donuts"; } case INTERIOR_SHOP_RC:{ x = -2240.00; y = 131.00; z = 1035.40; interior = 6; angle = 269.0954; name = "Zero's RC shop"; } case INTERIOR_SHOP_PUMP:{ x = 681.66; y = -453.32; z = -25.61; interior = 1; angle = 166.166; name = "The Welcome Pump"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} } case DIALOG_GOTO_STADIA:{ if(response){ world = GetPlayerVirtualWorld(playerid); new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1]; switch(listitem){ case INTERIOR_STADIUM_BLOODBOWL:{ x = -1394.20; y = 987.62; z = 1023.96; interior = 15; angle = 0.7013; name = "Bloodbowl Stadium"; } case INTERIOR_STADIUM_KICKSTART:{ x = -1410.72; y = 1591.16; z = 1052.53; interior = 14; angle = 159.1255; name = "Kickstart Stadium"; } case INTERIOR_STADIUM_8TRACK:{ x = -1395.958; y = -208.197; z = 1051.170; interior = 7; angle = 355.8576; name = "8 Track Stadium"; } case INTERIOR_STADIUM_DIRTBIKE:{ x = -1424.9319; y = -664.5869; z = 1059.8585; interior = 4; angle = 170.9341; name = "Dirtbike Stadium"; } } new target_player = GetGVarInt("goto_target", playerid); DeleteGVar("goto_target", playerid); gotoCallback(target_player, x, y, z, world, interior, angle, name); } else{dialogGotoInterior(playerid);} }