Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.16 KB | None | 0 0
  1. if (strcmp("/v", cmdtext, true, 10) == 0)
  2. {
  3. ShowPlayerDialog(playerid,DIALOG_V,DIALOG_STYLE_LIST,"{00FF00}Vehicle {FFFFFF}Super {FF0000}Menu","{00FF00}Bicycle\n{00FF00}Bike's\n{FFFFFF}Car's\n{FFFFFF}Monster Truck's\n{FF0000}Airplane's\n{FF0000}Helicopter's","Ok","Beenden");
  4. return 1;
  5. }
  6.  
  7. if(dialogid == DIALOG_V)
  8. {
  9. if(response)
  10. {
  11. if(listitem == 0)
  12. {
  13. ShowPlayerDialog(playerid,Dialog_Rad,DIALOG_STYLE_LIST,"{00FF00}Bicycle","{FFFF00}Bike\n{FFFF00}BMX\n{FFFF00}Mountain Bike","Spawn","Beenden");
  14. return 1;
  15. }
  16. if(listitem == 1)
  17. {
  18. ShowPlayerDialog(playerid,Dialog_Bikes,DIALOG_STYLE_LIST,"{00FF00}Bike's","{FFFF00}NRG-500\n{FFFF00}Sanchez\n{FFFF00}BF-400\n{FFFF00}PCJ-600\n{FFFF00}FCR-900\n{FFFF00}Freeway\n{FFFF00}Quad","Spawn","Beenden");
  19. return 1;
  20. }
  21. if(listitem == 2)
  22. {
  23. ShowPlayerDialog(playerid,Dialog_Cars,DIALOG_STYLE_LIST,"{FFFFFF}Car's","{FFFF00}Hotring Racer\n{FFFF00}Infernus\n{FFFF00}Bullet\n{FFFF00}Cheetah\n{FFFF00}Banshee\n{FFFF00}Turismo\n{FFFF00}Super GT\n{FFFF00}Sultan\n{FFFF00}Jester\n{FFFF00}ZR-350","Spawn","Beenden");
  24. return 1;
  25. }
  26. if(listitem == 3)
  27. {
  28. ShowPlayerDialog(playerid,Dialog_MT,DIALOG_STYLE_LIST,"{FFFFFF}Monster Trucks's","{FFFF00}Monster\n{FFFF00}Monster A\n{FFFF00}Monster B\n{FFFF00}Dumper\n{FFFF00}Dune","Spawn","Beenden");
  29. return 1;
  30. }
  31. if(listitem == 4)
  32. {
  33. ShowPlayerDialog(playerid,Dialog_Airplanes,DIALOG_STYLE_LIST,"{FF0000}Airplane's","{FFFF00}AT-400\n{FFFF00}Andromada\n{FFFF00}Nevada\n{FFFF00}Shamal\n{FFFF00}Dodo\n{FFFF00}Stuntplane\n{FFFF00}Cropduster\n{FFFF00}Skimmer","Spawn","Beenden");
  34. return 1;
  35. }
  36. if(listitem == 5)
  37. {
  38. ShowPlayerDialog(playerid,Dialog_Heli,DIALOG_STYLE_LIST,"{FF0000}Helicopter's","{FFFF00}Maverick\n{FFFF00}CNN Maverick\n{FFFF00}Sparrow\n{FFFF00}Raindance\n{FFFF00}Leviathan\n{FFFF00}Cargobob","Spawn","Beenden");
  39. return 1;
  40. }
  41. }
  42. }
  43.  
  44. if(dialogid == Dialog_Rad)
  45. {
  46. if(response)
  47. {
  48. if(listitem == 0)
  49. {
  50. new Float:x,Float:y,Float:z,spawncar;
  51. GetPlayerPos(playerid,x,y,z);
  52. spawncar=CreateVehicle(509,x+2,y+2,z,0,0,125,131);
  53. PutPlayerInVehicle(playerid,spawncar,0);
  54. return 1;
  55. }
  56. if(listitem == 1)
  57. {
  58. new Float:x,Float:y,Float:z,spawncar;
  59. GetPlayerPos(playerid,x,y,z);
  60. spawncar=CreateVehicle(481,x+2,y+2,z,0,0,1,131);
  61. PutPlayerInVehicle(playerid,spawncar,0);
  62. return 1;
  63. }
  64. if(listitem == 2)
  65. {
  66. new Float:x,Float:y,Float:z,spawncar;
  67. GetPlayerPos(playerid,x,y,z);
  68. spawncar=CreateVehicle(510,x+2,y+2,z,0,0,101,131);
  69. PutPlayerInVehicle(playerid,spawncar,0);
  70. return 1;
  71. }
  72. }
  73. }
  74.  
  75. if(dialogid == Dialog_Bikes)
  76. {
  77. if(response)
  78. {
  79. if(listitem == 0)
  80. {
  81. new Float:x,Float:y,Float:z,spawncar;
  82. GetPlayerPos(playerid,x,y,z);
  83. spawncar=CreateVehicle(522,x+2,y+2,z,0,0,1,0);
  84. PutPlayerInVehicle(playerid,spawncar,0);
  85. return 1;
  86. }
  87. if(listitem == 1)
  88. {
  89. new Float:x,Float:y,Float:z,spawncar;
  90. GetPlayerPos(playerid,x,y,z);
  91. spawncar=CreateVehicle(468,x+2,y+2,z,0,0,135,131);
  92. PutPlayerInVehicle(playerid,spawncar,0);
  93. return 1;
  94. }
  95. if(listitem == 2)
  96. {
  97. new Float:x,Float:y,Float:z,spawncar;
  98. GetPlayerPos(playerid,x,y,z);
  99. spawncar=CreateVehicle(581,x+2,y+2,z,0,0,101,131);
  100. PutPlayerInVehicle(playerid,spawncar,0);
  101. return 1;
  102. }
  103. if(listitem == 3)
  104. {
  105. new Float:x,Float:y,Float:z,spawncar;
  106. GetPlayerPos(playerid,x,y,z);
  107. spawncar=CreateVehicle(461,x+2,y+2,z,0,0,111,131);
  108. PutPlayerInVehicle(playerid,spawncar,0);
  109. return 1;
  110. }
  111. if(listitem == 4)
  112. {
  113. new Float:x,Float:y,Float:z,spawncar;
  114. GetPlayerPos(playerid,x,y,z);
  115. spawncar=CreateVehicle(521,x+2,y+2,z,0,0,151,131);
  116. PutPlayerInVehicle(playerid,spawncar,0);
  117. return 1;
  118. }
  119. if(listitem == 5)
  120. {
  121. new Float:x,Float:y,Float:z,spawncar;
  122. GetPlayerPos(playerid,x,y,z);
  123. spawncar=CreateVehicle(463,x+2,y+2,z,0,0,161,131);
  124. PutPlayerInVehicle(playerid,spawncar,0);
  125. return 1;
  126. }
  127. if(listitem == 6)
  128. {
  129. new Float:x,Float:y,Float:z,spawncar;
  130. GetPlayerPos(playerid,x,y,z);
  131. spawncar=CreateVehicle(471,x+2,y+2,z,0,0,141,131);
  132. PutPlayerInVehicle(playerid,spawncar,0);
  133. return 1;
  134. }
  135. }
  136. }
  137.  
  138. if(dialogid == Dialog_Cars)
  139. {
  140. if(response)
  141. {
  142. if(listitem == 0)
  143. {
  144. new Float:x,Float:y,Float:z,spawncar;
  145. GetPlayerPos(playerid,x,y,z);
  146. spawncar=CreateVehicle(502,x+2,y+2,z,0,0,111,131);
  147. PutPlayerInVehicle(playerid,spawncar,0);
  148. return 1;
  149. }
  150. if(listitem == 1)
  151. {
  152. new Float:x,Float:y,Float:z,spawncar;
  153. GetPlayerPos(playerid,x,y,z);
  154. spawncar=CreateVehicle(411,x+2,y+2,z,0,0,151,131);
  155. PutPlayerInVehicle(playerid,spawncar,0);
  156. return 1;
  157. }
  158. if(listitem == 2)
  159. {
  160. new Float:x,Float:y,Float:z,spawncar;
  161. GetPlayerPos(playerid,x,y,z);
  162. spawncar=CreateVehicle(541,x+2,y+2,z,0,0,1,125);
  163. PutPlayerInVehicle(playerid,spawncar,0);
  164. return 1;
  165. }
  166. if(listitem == 3)
  167. {
  168. new Float:x,Float:y,Float:z,spawncar;
  169. GetPlayerPos(playerid,x,y,z);
  170. spawncar=CreateVehicle(415,x+2,y+2,z,0,0,156,125);
  171. PutPlayerInVehicle(playerid,spawncar,0);
  172. return 1;
  173. }
  174. if(listitem == 4)
  175. {
  176. new Float:x,Float:y,Float:z,spawncar;
  177. GetPlayerPos(playerid,x,y,z);
  178. spawncar=CreateVehicle(429,x+2,y+2,z,0,0,163,120);
  179. PutPlayerInVehicle(playerid,spawncar,0);
  180. return 1;
  181. }
  182. if(listitem == 5)
  183. {
  184. new Float:x,Float:y,Float:z,spawncar;
  185. GetPlayerPos(playerid,x,y,z);
  186. spawncar=CreateVehicle(451,x+2,y+2,z,0,0,168,78);
  187. PutPlayerInVehicle(playerid,spawncar,0);
  188. return 1;
  189. }
  190. if(listitem == 6)
  191. {
  192. new Float:x,Float:y,Float:z,spawncar;
  193. GetPlayerPos(playerid,x,y,z);
  194. spawncar=CreateVehicle(506,x+2,y+2,z,0,0,168,15);
  195. PutPlayerInVehicle(playerid,spawncar,0);
  196. return 1;
  197. }
  198. if(listitem == 7)
  199. {
  200. new Float:x,Float:y,Float:z,spawncar;
  201. GetPlayerPos(playerid,x,y,z);
  202. spawncar=CreateVehicle(560,x+2,y+2,z,0,0,122,54);
  203. PutPlayerInVehicle(playerid,spawncar,0);
  204. return 1;
  205. }
  206. if(listitem == 8)
  207. {
  208. new Float:x,Float:y,Float:z,spawncar;
  209. GetPlayerPos(playerid,x,y,z);
  210. spawncar=CreateVehicle(559,x+2,y+2,z,0,0,135,62);
  211. PutPlayerInVehicle(playerid,spawncar,0);
  212. return 1;
  213. }
  214. if(listitem == 9)
  215. {
  216. new Float:x,Float:y,Float:z,spawncar;
  217. GetPlayerPos(playerid,x,y,z);
  218. spawncar=CreateVehicle(477,x+2,y+2,z,0,0,135,78);
  219. PutPlayerInVehicle(playerid,spawncar,0);
  220. return 1;
  221. }
  222. }
  223. }
  224.  
  225. if(dialogid == Dialog_MT)
  226. {
  227. if(response)
  228. {
  229. if(listitem == 0)
  230. {
  231. new Float:x,Float:y,Float:z,spawncar;
  232. GetPlayerPos(playerid,x,y,z);
  233. spawncar=CreateVehicle(444,x+2,y+2,z,0,0,111,131);
  234. PutPlayerInVehicle(playerid,spawncar,0);
  235. return 1;
  236. }
  237. if(listitem == 1)
  238. {
  239. new Float:x,Float:y,Float:z,spawncar;
  240. GetPlayerPos(playerid,x,y,z);
  241. spawncar=CreateVehicle(556,x+2,y+2,z,0,0,111,131);
  242. PutPlayerInVehicle(playerid,spawncar,0);
  243. return 1;
  244. }
  245. if(listitem == 2)
  246. {
  247. new Float:x,Float:y,Float:z,spawncar;
  248. GetPlayerPos(playerid,x,y,z);
  249. spawncar=CreateVehicle(557,x+2,y+2,z,0,0,111,131);
  250. PutPlayerInVehicle(playerid,spawncar,0);
  251. return 1;
  252. }
  253. if(listitem == 3)
  254. {
  255. new Float:x,Float:y,Float:z,spawncar;
  256. GetPlayerPos(playerid,x,y,z);
  257. spawncar=CreateVehicle(406,x+2,y+2,z,0,0,111,131);
  258. PutPlayerInVehicle(playerid,spawncar,0);
  259. return 1;
  260. }
  261. if(listitem == 4)
  262. {
  263. new Float:x,Float:y,Float:z,spawncar;
  264. GetPlayerPos(playerid,x,y,z);
  265. spawncar=CreateVehicle(573,x+2,y+2,z,0,0,111,131);
  266. PutPlayerInVehicle(playerid,spawncar,0);
  267. return 1;
  268. }
  269. }
  270. }
  271.  
  272. if(dialogid == Dialog_Airplanes)
  273. {
  274. if(response)
  275. {
  276. if(listitem == 0)
  277. {
  278. new Float:x,Float:y,Float:z,spawncar;
  279. GetPlayerPos(playerid,x,y,z);
  280. spawncar=CreateVehicle(577,x+2,y+2,z,0,0,111,131);
  281. PutPlayerInVehicle(playerid,spawncar,0);
  282. return 1;
  283. }
  284. if(listitem == 1)
  285. {
  286. new Float:x,Float:y,Float:z,spawncar;
  287. GetPlayerPos(playerid,x,y,z);
  288. spawncar=CreateVehicle(592,x+2,y+2,z,0,0,111,131);
  289. PutPlayerInVehicle(playerid,spawncar,0);
  290. return 1;
  291. }
  292. if(listitem == 2)
  293. {
  294. new Float:x,Float:y,Float:z,spawncar;
  295. GetPlayerPos(playerid,x,y,z);
  296. spawncar=CreateVehicle(553,x+2,y+2,z,0,0,111,131);
  297. PutPlayerInVehicle(playerid,spawncar,0);
  298. return 1;
  299. }
  300. if(listitem == 3)
  301. {
  302. new Float:x,Float:y,Float:z,spawncar;
  303. GetPlayerPos(playerid,x,y,z);
  304. spawncar=CreateVehicle(519,x+2,y+2,z,0,0,111,131);
  305. PutPlayerInVehicle(playerid,spawncar,0);
  306. return 1;
  307. }
  308. if(listitem == 4)
  309. {
  310. new Float:x,Float:y,Float:z,spawncar;
  311. GetPlayerPos(playerid,x,y,z);
  312. spawncar=CreateVehicle(593,x+2,y+2,z,0,0,111,131);
  313. PutPlayerInVehicle(playerid,spawncar,0);
  314. return 1;
  315. }
  316. if(listitem == 5)
  317. {
  318. new Float:x,Float:y,Float:z,spawncar;
  319. GetPlayerPos(playerid,x,y,z);
  320. spawncar=CreateVehicle(513,x+2,y+2,z,0,0,111,131);
  321. PutPlayerInVehicle(playerid,spawncar,0);
  322. return 1;
  323. }
  324. if(listitem == 6)
  325. {
  326. new Float:x,Float:y,Float:z,spawncar;
  327. GetPlayerPos(playerid,x,y,z);
  328. spawncar=CreateVehicle(512,x+2,y+2,z,0,0,111,131);
  329. PutPlayerInVehicle(playerid,spawncar,0);
  330. return 1;
  331. }
  332. if(listitem == 7)
  333. {
  334. new Float:x,Float:y,Float:z,spawncar;
  335. GetPlayerPos(playerid,x,y,z);
  336. spawncar=CreateVehicle(560,x+2,y+2,z,0,0,111,131);
  337. PutPlayerInVehicle(playerid,spawncar,0);
  338. return 1;
  339. }
  340. }
  341. }
  342.  
  343. if(dialogid == Dialog_Heli)
  344. {
  345. if(response)
  346. {
  347. if(listitem == 0)
  348. {
  349. new Float:x,Float:y,Float:z,spawncar;
  350. GetPlayerPos(playerid,x,y,z);
  351. spawncar=CreateVehicle(487,x+2,y+2,z,0,0,255,1);
  352. PutPlayerInVehicle(playerid,spawncar,0);
  353. return 1;
  354. }
  355. if(listitem == 1)
  356. {
  357. new Float:x,Float:y,Float:z,spawncar;
  358. GetPlayerPos(playerid,x,y,z);
  359. spawncar=CreateVehicle(488,x+2,y+2,z,0,0,1,148);
  360. PutPlayerInVehicle(playerid,spawncar,0);
  361. return 1;
  362. }
  363. if(listitem == 2)
  364. {
  365. new Float:x,Float:y,Float:z,spawncar;
  366. GetPlayerPos(playerid,x,y,z);
  367. spawncar=CreateVehicle(469,x+2,y+2,z,0,0,255,0);
  368. PutPlayerInVehicle(playerid,spawncar,0);
  369. return 1;
  370. }
  371. if(listitem == 3)
  372. {
  373. new Float:x,Float:y,Float:z,spawncar;
  374. GetPlayerPos(playerid,x,y,z);
  375. spawncar=CreateVehicle(563,x+2,y+2,z,0,0,255,0);
  376. PutPlayerInVehicle(playerid,spawncar,0);
  377. return 1;
  378. }
  379. if(listitem == 4)
  380. {
  381. new Float:x,Float:y,Float:z,spawncar;
  382. GetPlayerPos(playerid,x,y,z);
  383. spawncar=CreateVehicle(417,x+2,y+2,z,0,0,255,0);
  384. PutPlayerInVehicle(playerid,spawncar,0);
  385. return 1;
  386. }
  387. if(listitem == 5)
  388. {
  389. new Float:x,Float:y,Float:z,spawncar;
  390. GetPlayerPos(playerid,x,y,z);
  391. spawncar=CreateVehicle(548,x+2,y+2,z,0,0,255,0);
  392. PutPlayerInVehicle(playerid,spawncar,0);
  393. return 1;
  394. }
  395. }
  396. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement