2
0

gotodialog.pwn 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  1. case DIALOG_GOTO:{
  2. if(response){
  3. switch(listitem){
  4. case GOTO_CATEGORY_INTERIOR:{
  5. dialogGotoInterior(playerid);
  6. }
  7. /*case GOTO_CATEGORY_PLAYER:{
  8. dialogGotoPlayer(playerid);
  9. }*/
  10. }
  11. }
  12. }
  13. case DIALOG_GOTO_INTERIOR:{
  14. if(response){
  15. switch(listitem){
  16. case INTERIOR_CATEGORY_247:{
  17. 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");
  18. }
  19. case INTERIOR_CATEGORY_AVIATION:{
  20. 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");
  21. }
  22. case INTERIOR_CATEGORY_AMMUNATION:{
  23. 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");
  24. }
  25. case INTERIOR_CATEGORY_BUGRLARY:{
  26. 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");
  27. }
  28. case INTERIOR_CATEGORY_MISSION:{
  29. 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");
  30. }
  31. case INTERIOR_CATEGORY_MISSIONEXT:{
  32. 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");
  33. }
  34. case INTERIOR_CATEGORY_MISSIONHOUSE:{
  35. 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");
  36. }
  37. case INTERIOR_CATEGORY_MODSHOP:{
  38. ShowPlayerDialog(playerid, DIALOG_GOTO_MODDING, DIALOG_STYLE_TABLIST, "Modding shops", "Loco Low Co\tLos Santos\nWheel Arch Angels\tSan Fierro\nTransfender", "Goto", "Cancel");
  39. }
  40. case INTERIOR_CATEGORY_POLICE:{
  41. ShowPlayerDialog(playerid, DIALOG_GOTO_POLICE, DIALOG_STYLE_LIST, "Police departments", "Las Venturas\nLos Santos\nSan Fierro\nBarbara's love nest", "Goto", "Cancel");
  42. }
  43. case INTERIOR_CATEGORY_HOUSES:{
  44. 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");
  45. }
  46. case INTERIOR_CATEGORY_SHOPS:{
  47. 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");
  48. }
  49. case INTERIOR_CATEGORY_STADIA:{
  50. ShowPlayerDialog(playerid, DIALOG_GOTO_STADIA, DIALOG_STYLE_TABLIST, "Stadia", "Bloodbowl stadium\nKickstart stadium\n8 Track stadium\nDirtbike stadium\n", "Goto", "Cancel");
  51. }
  52. }
  53. }
  54. else{
  55. ShowPlayerDialog(playerid, DIALOG_GOTO, DIALOG_STYLE_LIST, "Categories", "Interiors", "Select", "Cancel");
  56. }
  57. }
  58. case DIALOG_GOTO_247:{
  59. if(response){
  60. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1];
  61. switch(listitem){
  62. world = GetPlayerVirtualWorld(playerid);
  63. case INTERIOR_247_LSHAPED:{
  64. x = -25.7220;
  65. y = -187.8216;
  66. z = 1003.5469;
  67. interior = 17;
  68. angle = 5.0760;
  69. name = "L-shaped ammunation";
  70. }
  71. case INTERIOR_247_OBLONG:{
  72. x = 6.0856;
  73. y = -28.8966;
  74. z = 1003.5494;
  75. interior = 10;
  76. angle = 5.0365;
  77. name = "Oblong ammunation";
  78. }
  79. case INTERIOR_247_MEDIUM:{
  80. x = -30.9875;
  81. y = -89.6806;
  82. z = 1003.5469;
  83. interior = 18;
  84. angle = 359.8401;
  85. name = "Medium ammunation";
  86. }
  87. case INTERIOR_247_MEDIUM_NOEXIT:{
  88. x = -26.1856;
  89. y = -140.9164;
  90. z = 1003.5469;
  91. interior = 16;
  92. angle = 2.9087;
  93. name = "Medium no exit ammunation";
  94. }
  95. case INTERIOR_247_LONG:{
  96. x = -27.844;
  97. y = 26.6737;
  98. z = 1003.5573;
  99. interior = 4;
  100. angle = 184.3118;
  101. name = "Small long ammunation";
  102. }
  103. case INTERIOR_247_SQAURE:{
  104. x = -26.8339,
  105. y = -55.5846,
  106. z = 1003.5469,
  107. interior = 6,
  108. angle = 3.9528;
  109. name = "Small square ammunation";
  110. }
  111. }
  112. new target_player = GetGVarInt("goto_target", playerid);
  113. DeleteGVar("goto_target", playerid);
  114. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  115. }
  116. else{dialogGotoInterior(playerid);}
  117. }
  118. case DIALOG_GOTO_AVIATION:{
  119. if(response){
  120. world = GetPlayerVirtualWorld(playerid);
  121. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[39 + 1];
  122. switch(listitem){
  123. case INTERIOR_AVIATION_TICKET:{
  124. x = -1827.147338;
  125. y = 7.207418;
  126. z = 1061.143554;
  127. interior = 14;
  128. angle = 335.3199;
  129. name = "Francis Intn'l Airport - Ticket sales";
  130. }
  131. case INTERIOR_AVIATION_BAGGAGE:{
  132. x = -1855.568725;
  133. y = 41.263156;
  134. z = 1061.143554;
  135. interior = 14;
  136. angle = 335.3199;
  137. name = "Francis Intn'l Airport - Baggage claim";
  138. }
  139. case INTERIOR_AVIATION_SHAMAL:{
  140. x = 2.384830;
  141. y = 33.103397;
  142. z = 1199.849976 ;
  143. interior = 1;
  144. angle = 359.8401;
  145. name = "Shamal cabin";
  146. }
  147. case INTERIOR_AVIATION_ANDROMADA:{
  148. x = 315.856170;
  149. y = 1024.496459;
  150. z = 1949.797363;
  151. interior = 9;
  152. angle = 359.6368;
  153. name = "Andromada cargo hold";
  154. }
  155. case INTERIOR_AVIATION_LSAIRPORT:{
  156. x = -1870.80;
  157. y = 59.81;
  158. z = 1056.25;
  159. interior = 14;
  160. angle = 85.8541;
  161. name = "LS Airport, Baggage Reclaim";
  162. }
  163. }
  164. new target_player = GetGVarInt("goto_target", playerid);
  165. DeleteGVar("goto_target", playerid);
  166. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  167. }
  168. else{dialogGotoInterior(playerid);}
  169. }
  170. case DIALOG_GOTO_AMMUNATION:{ // TODO there are more ammunations that deserve a booth and range teleport
  171. if(response){
  172. world = GetPlayerVirtualWorld(playerid);
  173. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[31 + 1];
  174. switch(listitem){
  175. case INTERIOR_AMMU_OCEAN:{
  176. x = 286.148987;
  177. y = -40.644398 ;
  178. z = 1001.569946;
  179. interior = 1;
  180. angle = 0.7529;
  181. name = "Ocean Flats, SF";
  182. }
  183. case INTERIOR_AMMU_PALOMINO:{
  184. x = 286.800995;
  185. y = -82.547600;
  186. z = 1001.539978;
  187. interior = 4;
  188. angle = 290.2195;
  189. name = "Palomino Creek, LV";
  190. }
  191. case INTERIOR_AMMU_ANGEL:{
  192. x = 296.919983;
  193. y = -108.071999;
  194. z = 1001.569946;
  195. interior = 6;
  196. angle = 290.2195;
  197. name = "Angel Pine, SF";
  198. }
  199. case INTERIOR_AMMU_QUEBRADOS:{
  200. x = 316.524994;
  201. y = -167.706985;
  202. z = 999.661987;
  203. interior = 6;
  204. angle = 10.3031;
  205. name = "El Quebrados, LV";
  206. }
  207. case INTERIOR_AMMU_2STORIES:{
  208. x = 314.820984;
  209. y = -141.431992;
  210. z = 999.661987;
  211. interior = 7;
  212. angle = 20.2254;
  213. name = "2 Stories, with booth and range";
  214. }
  215. case INTERIOR_AMMU_BOOTH:{
  216. x = 302.292877;
  217. y = -143.139099;
  218. z = 1004.062500;
  219. interior = 7;
  220. angle = 20.2254;
  221. name = "Booth";
  222. }
  223. case INTERIOR_AMMU_RANGE:{
  224. x = 280.795104;
  225. y = -135.203353;
  226. z = 1004.062500;
  227. interior = 7;
  228. angle = 20.2254;
  229. name = "Range";
  230. }
  231. }
  232. new target_player = GetGVarInt("goto_target", playerid);
  233. DeleteGVar("goto_target", playerid);
  234. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  235. }
  236. else{dialogGotoInterior(playerid);}
  237. }
  238. case DIALOG_GOTO_BURGLARY:{
  239. if(response){
  240. world = GetPlayerVirtualWorld(playerid);
  241. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[45 + 1];
  242. switch(listitem){
  243. case INTERIOR_BURGRLARY_LARGE:{
  244. x = 235.508994;
  245. y = 1189.169897;
  246. z = 1080.339966;
  247. interior = 3;
  248. angle = 349.4844;
  249. name = "Large: 2 story, 3 bedroom clone of house 9";
  250. }
  251. case INTERIOR_BURGRLARY_MEDIUM:{
  252. x = 225.756989;
  253. y = 1240.000000;
  254. z = 1082.149902;
  255. interior = 2;
  256. angle = 96.2852;
  257. name = "Medium: 1 story, 1 bedroom";
  258. }
  259. case INTERIOR_BURGRLARY_SMALL:{
  260. x = 223.043991;
  261. y = 1289.259888;
  262. z = 1082.199951;
  263. interior = 1;
  264. angle = 359.868;
  265. name = "Small: 1 story, 1 bedroom";
  266. }
  267. case INTERIOR_BURGRLARY_VERYLARGE:{
  268. x = 225.630997;
  269. y = 1022.479980;
  270. z = 1084.069946;
  271. interior = 7;
  272. angle = 270.2654;
  273. name = "VERY Large: 2 story, 4 bedrooms";
  274. }
  275. case INTERIOR_BURGRLARY_5:{
  276. x = 295.138977;
  277. y = 1474.469971;
  278. z = 1080.519897;
  279. interior = 15;
  280. angle = 0;
  281. name = "Small: 1 story, 2 bedrooms";
  282. }
  283. case INTERIOR_BURGRLARY_6:{
  284. x = 328.493988;
  285. y = 1480.589966;
  286. z = 1084.449951;
  287. interior = 15;
  288. angle = 0;
  289. name = "Small: 1 story, 2 bedrooms";
  290. }
  291. case INTERIOR_BURGRLARY_NOBATH:{
  292. x = 385.803986;
  293. y = 1471.769897;
  294. z = 1080.209961;
  295. interior = 15;
  296. angle = 0;
  297. name = "Small: 1 story, 1 bedroom (NO BATHROOM!)";
  298. }
  299. }
  300. new target_player = GetGVarInt("goto_target", playerid);
  301. DeleteGVar("goto_target", playerid);
  302. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  303. }
  304. else{dialogGotoInterior(playerid);}
  305. }
  306. case DIALOG_GOTO_MISSION:{
  307. if(response){
  308. world = GetPlayerVirtualWorld(playerid);
  309. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[30 + 1];
  310. switch(listitem){
  311. case INTERIOR_MISSION_ATRIUM:{
  312. x = 1726.18;
  313. y = -1641.00;
  314. z = 20.23;
  315. interior = 18;
  316. angle = 172.4193;
  317. name = "Atrium";
  318. }
  319. case INTERIOR_MISSION_BIGSMOKE:{
  320. x = 2567.52;
  321. y = -1294.59;
  322. z = 1063.25 ;
  323. interior = 2;
  324. angle = 254.9548;
  325. name = "Big Smoke's Crack Palace";
  326. }
  327. case INTERIOR_MISSION_JEFFERSON:{
  328. x = 2220.26;
  329. y = -1148.01;
  330. z = 1025.80;
  331. interior = 15;
  332. angle = 273.7328;
  333. name = "Jefferson Motel";
  334. }
  335. case INTERIOR_MISSION_JIZZY:{
  336. x = -2637.69;
  337. y = 1404.24;
  338. z = 906.46;
  339. interior = 3;
  340. angle = 94.6794;
  341. name = "Pleasure Domes/Jizzy's";
  342. }
  343. case INTERIOR_MISSION_RC:{
  344. x = -1079.99;
  345. y = 1061.58;
  346. z = 1343.04;
  347. interior = 10;
  348. angle = 274.5268;
  349. name = "RC Battlefield";
  350. }
  351. case INTERIOR_MISSION_WUZI:{
  352. x = -2158.72;
  353. y = 641.29;
  354. z = 1052.38;
  355. interior = 1;
  356. angle = 86.5402;
  357. name = "Woozies Apartment/Wu-Zi Mu's";
  358. }
  359. }
  360. new target_player = GetGVarInt("goto_target", playerid);
  361. DeleteGVar("goto_target", playerid);
  362. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  363. }
  364. else{dialogGotoInterior(playerid);}
  365. }
  366. case DIALOG_GOTO_MISSIONEXT:{
  367. if(response){
  368. world = GetPlayerVirtualWorld(playerid);
  369. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[30 + 1];
  370. switch(listitem){
  371. case INTERIOR_MISSIONEXT_GAS:{
  372. x = 664.19;
  373. y = -570.73;
  374. z = 16.34;
  375. interior = 0;
  376. angle = 264.9829;
  377. name = "Dillimore Gas Station";
  378. }
  379. case INTERIOR_MISSIONEXT_LIBERTY:{ // TODO Create extra interior inside the shop
  380. x = -750.80;
  381. y = 491.00;
  382. z = 1371.70;
  383. interior = 1;
  384. angle = 71.7782;
  385. name = "Liberty City";
  386. }
  387. 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?)
  388. x = -2042.42;
  389. y = 178.59;
  390. z = 28.84;
  391. interior = 1;
  392. angle = 156.2153;
  393. name = "San Fierro Garage Interior";
  394. }
  395. }
  396. new target_player = GetGVarInt("goto_target", playerid);
  397. DeleteGVar("goto_target", playerid);
  398. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  399. }
  400. else{dialogGotoInterior(playerid);}
  401. }
  402. case DIALOG_GOTO_MISSIONHOUSE:{
  403. if(response){
  404. world = GetPlayerVirtualWorld(playerid);
  405. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[30 + 1];
  406. switch(listitem){
  407. case INTERIOR_MISSIONHOUSE_DESIRE:{
  408. x = 2338.32;
  409. y = -1180.61;
  410. z = 1027.98;
  411. interior = 5;
  412. angle = 99.1864;
  413. name = "Burning Desire House";
  414. }
  415. case INTERIOR_MISSIONHOUSE_COLONEL:{
  416. x = 2807.63;
  417. y = -1170.15;
  418. z = 1025.57;
  419. interior = 8;
  420. angle = 193.7117;
  421. name = "Colonel Furhberger's";
  422. }
  423. case INTERIOR_MISSIONHOUSE_RYDER:{
  424. x = 2451.77;
  425. y = -1699.80;
  426. z = 1013.51;
  427. interior = 2;
  428. angle = 314.5253;
  429. name = "Ryder's House";
  430. }
  431. case INTERIOR_MISSIONHOUSE_SWEET:{
  432. x = 2535.83;
  433. y = -1674.32;
  434. z = 1015.50;
  435. interior = 1;
  436. angle = 260.9709;
  437. name = "Sweet's House";
  438. }
  439. case INTERIOR_MISSIONHOUSE_CRACK:{
  440. x = 318.565;
  441. y = 1115.210;
  442. z = 1082.98;
  443. interior = 5;
  444. angle = 267.459;
  445. name = "Crack den";
  446. }
  447. }
  448. new target_player = GetGVarInt("goto_target", playerid);
  449. DeleteGVar("goto_target", playerid);
  450. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  451. }
  452. else{dialogGotoInterior(playerid);}
  453. }
  454. case DIALOG_GOTO_MODDING:{
  455. if(response){
  456. world = GetPlayerVirtualWorld(playerid);
  457. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1];
  458. switch(listitem){
  459. case INTERIOR_MOD_LOCO:{
  460. x = 616.7820;
  461. y = -74.8151;
  462. z = 997.6350;
  463. interior = 2;
  464. angle = 320.9263;
  465. name = "Loco Low Co";
  466. }
  467. case INTERIOR_MOD_WHEEL:{
  468. x = 615.2851;
  469. y = -124.2390;
  470. z = 997.6350;
  471. interior = 3;
  472. angle = 266.5704;
  473. name = "Wheel Arch Angels";
  474. }
  475. case INTERIOR_MOD_TRANSFENDER:{
  476. x = 617.5380;
  477. y = -1.9900;
  478. z = 1000.6829;
  479. interior = 1;
  480. angle = 15.6789;
  481. name = "Transfender";
  482. }
  483. }
  484. new target_player = GetGVarInt("goto_target", playerid);
  485. DeleteGVar("goto_target", playerid);
  486. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  487. }
  488. else{dialogGotoInterior(playerid);}
  489. }
  490. case DIALOG_GOTO_POLICE:{
  491. if(response){
  492. world = GetPlayerVirtualWorld(playerid);
  493. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[30 + 1];
  494. switch(listitem){
  495. case INTERIOR_PD_LV:{
  496. x = 288.4723;
  497. y = 170.0647;
  498. z = 1007.1794;
  499. interior = 3;
  500. angle = 22.0477;
  501. name = "Las Venturas police deparment";
  502. }
  503. case INTERIOR_PD_LS:{
  504. x = 246.6695;
  505. y = 65.8039;
  506. z = 1003.6406;
  507. interior = 6;
  508. angle = 7.9562;
  509. name = "Los Santos police deparment";
  510. }
  511. case INTERIOR_PD_SF:{
  512. x = 246.0688;
  513. y = 108.9703;
  514. z = 1003.2188;
  515. interior = 10;
  516. angle = 0.2922;
  517. name = "San Fierro police deparment";
  518. }
  519. case INTERIOR_PD_BARBARA:{
  520. x = 322.5014;
  521. y = 303.6906;
  522. z = 999.1484;
  523. interior = 5;
  524. angle = 8.1747;
  525. name = "Barbara's Love nest";
  526. }
  527. }
  528. new target_player = GetGVarInt("goto_target", playerid);
  529. DeleteGVar("goto_target", playerid);
  530. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  531. }
  532. else{dialogGotoInterior(playerid);}
  533. }
  534. case DIALOG_GOTO_HOUSE:{
  535. if(response){
  536. world = GetPlayerVirtualWorld(playerid);
  537. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1];
  538. switch(listitem){
  539. case INTERIOR_HOUSE_GOLDEN:{
  540. x = 2251.85;
  541. y = -1138.16;
  542. z = 1050.63;
  543. interior = 9;
  544. angle = 167.3959;
  545. name = "Golden Bed motel room";
  546. }
  547. case INTERIOR_HOUSE_HASHBURY:{
  548. x = 2260.76;
  549. y = -1210.45;
  550. z = 1049.02;
  551. interior = 10;
  552. angle = 266.88;
  553. name = "Hashbury house";
  554. }
  555. case INTERIOR_HOUSE_JOHNSON:{
  556. x = 2496.65;
  557. y = -1696.55;
  558. z = 1014.74;
  559. interior = 3;
  560. angle = 179.2174;
  561. name = "The Johnson house";
  562. }
  563. case INTERIOR_HOUSE_MADDDOGG:{
  564. x = 1299.14;
  565. y = -794.77;
  566. z = 1084.00;
  567. interior = 5;
  568. angle = 231.3418;
  569. name = "Madd Doggs mansion";
  570. }
  571. case INTERIOR_HOUSE_RED:{
  572. x = 2262.83;
  573. y = -1137.71;
  574. z = 1050.63;
  575. interior = 10;
  576. angle = 266.88;
  577. name = "Red Bed motel room";
  578. }
  579. case INTERIOR_HOUSE_VERDANT:{
  580. x = 2365.42;
  581. y = -1131.85;
  582. z = 1050.88;
  583. interior = 8;
  584. angle = 177.3947;
  585. name = "Verdant Bluffs safehouse";
  586. }
  587. case INTERIOR_HOUSE_UNUSED:{
  588. x = 2324.33;
  589. y = -1144.79;
  590. z = 1050.71;
  591. interior = 12;
  592. angle = 269.0954;
  593. name = "Unused safe house";
  594. }
  595. }
  596. new target_player = GetGVarInt("goto_target", playerid);
  597. DeleteGVar("goto_target", playerid);
  598. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  599. }
  600. else{dialogGotoInterior(playerid);}
  601. }
  602. case DIALOG_GOTO_SHOP:{
  603. if(response){
  604. world = GetPlayerVirtualWorld(playerid);
  605. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1];
  606. switch(listitem){
  607. case INTERIOR_SHOP_TATTOO:{
  608. x = -203.0764;
  609. y = -24.1658;
  610. z = 1002.2734;
  611. interior = 16;
  612. angle = 252.8154;
  613. name = "Tattoos";
  614. }
  615. case INTERIOR_SHOP_BURGER:{
  616. x = 366.0248;
  617. y = -73.3478;
  618. z = 1001.5078;
  619. interior = 10;
  620. angle = 292.0084;
  621. name = "Burger Shot";
  622. }
  623. case INTERIOR_SHOP_PIZZA:{
  624. x = 372.3520;
  625. y = -131.6510;
  626. z = 1001.4922;
  627. interior = 5;
  628. angle = 354.2285;
  629. name = "Well Stacked Pizza";
  630. }
  631. case INTERIOR_SHOP_CLUCKIN:{
  632. x = 365.7158;
  633. y = -9.8873;
  634. z = 1001.8516;
  635. interior = 9;
  636. angle = 160.528;
  637. name = "Cluckin' Bell";
  638. }
  639. case INTERIOR_SHOP_CALIGULAS:{
  640. x = 2233.8032;
  641. y = 1712.2303;
  642. z = 1011.7632;
  643. interior = 1;
  644. angle = 184.3891;
  645. name = "Caligulas Casino";
  646. }
  647. case INTERIOR_SHOP_CASINO:{
  648. x = 1118.8878;
  649. y = -10.2737;
  650. z = 1002.0859;
  651. interior = 12;
  652. angle = 165.8482;
  653. name = "Casino (Redsands West)";
  654. }
  655. case INTERIOR_SHOP_4DRAGONS:{
  656. x = 2016.2699;
  657. y = 1017.7790;
  658. z = 996.8750;
  659. interior = 10;
  660. angle = 88.0055;
  661. name = "4 Dragons Casino";
  662. }
  663. case INTERIOR_SHOP_DONUTS:{
  664. x = 376.99;
  665. y = -191.21;
  666. z = 1000.63;
  667. interior = 17;
  668. angle = 141.0245;
  669. name = "Rusty Brown's donuts";
  670. }
  671. case INTERIOR_SHOP_RC:{
  672. x = -2240.00;
  673. y = 131.00;
  674. z = 1035.40;
  675. interior = 6;
  676. angle = 269.0954;
  677. name = "Zero's RC shop";
  678. }
  679. case INTERIOR_SHOP_PUMP:{
  680. x = 681.66;
  681. y = -453.32;
  682. z = -25.61;
  683. interior = 1;
  684. angle = 166.166;
  685. name = "The Welcome Pump";
  686. }
  687. }
  688. new target_player = GetGVarInt("goto_target", playerid);
  689. DeleteGVar("goto_target", playerid);
  690. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  691. }
  692. else{dialogGotoInterior(playerid);}
  693. }
  694. case DIALOG_GOTO_STADIA:{
  695. if(response){
  696. world = GetPlayerVirtualWorld(playerid);
  697. new Float:x, Float:y, Float:z, world, interior, Float:angle, name[25 + 1];
  698. switch(listitem){
  699. case INTERIOR_STADIUM_BLOODBOWL:{
  700. x = -1394.20;
  701. y = 987.62;
  702. z = 1023.96;
  703. interior = 15;
  704. angle = 0.7013;
  705. name = "Bloodbowl Stadium";
  706. }
  707. case INTERIOR_STADIUM_KICKSTART:{
  708. x = -1410.72;
  709. y = 1591.16;
  710. z = 1052.53;
  711. interior = 14;
  712. angle = 159.1255;
  713. name = "Kickstart Stadium";
  714. }
  715. case INTERIOR_STADIUM_8TRACK:{
  716. x = -1395.958;
  717. y = -208.197;
  718. z = 1051.170;
  719. interior = 7;
  720. angle = 355.8576;
  721. name = "8 Track Stadium";
  722. }
  723. case INTERIOR_STADIUM_DIRTBIKE:{
  724. x = -1424.9319;
  725. y = -664.5869;
  726. z = 1059.8585;
  727. interior = 4;
  728. angle = 170.9341;
  729. name = "Dirtbike Stadium";
  730. }
  731. }
  732. new target_player = GetGVarInt("goto_target", playerid);
  733. DeleteGVar("goto_target", playerid);
  734. gotoCallback(target_player, x, y, z, world, interior, angle, name);
  735. }
  736. else{dialogGotoInterior(playerid);}
  737. }