Advertisement
Guest User

Skins GTA Underground [Script Inicial]

a guest
Jan 16th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 20.04 KB | None | 0 0
  1. /*
  2.     Skins disponibilizadas pelo GTA: Underground
  3.     Créditos:
  4.     * Toda equipe do GTA: Underground
  5.    
  6.     Script criado por Locky
  7. */
  8. #include <a_samp>
  9. #include <mSelection>
  10.  
  11. #define FILTERSCRIPT
  12.  
  13. #define DIR_III     "skins/III/"
  14. #define DIR_VC      "skins/vc/"
  15. #define DIR_LCS     "skins/lcs/"
  16.  
  17. #define DialogSelectSkin    14250
  18.  
  19. // Nomes dos arquivos DFF de GTA III
  20. new files_skin_dff_III[][] = {
  21. "III_army.dff",
  22. "III_asuka.dff",
  23. "III_b_man1.dff",
  24. "III_b_man2.dff",
  25. "III_b_man3.dff",
  26. "III_b_wom1.dff",
  27. "III_b_wom2.dff",
  28. "III_b_wom3.dff",
  29. "III_bomber.dff",
  30. "III_cas_man.dff",
  31. "III_cas_wom.dff",
  32. "III_cat.dff",
  33. "III_chunky.dff",
  34. "III_col1.dff",
  35. "III_col2.dff",
  36. "III_col3.dff",
  37. "III_colrob.dff",
  38. "III_const1.dff",
  39. "III_const2.dff",
  40. "III_cop.dff",
  41. "III_criminal01.dff",
  42. "III_criminal02.dff",
  43. "III_ct_man1.dff",
  44. "III_ct_man2.dff",
  45. "III_ct_wom1.dff",
  46. "III_ct_wom2.dff",
  47. "III_curly.dff",
  48. "III_dealer.dff",
  49. "III_docker1.dff",
  50. "III_docker2.dff",
  51. "III_eight.dff",
  52. "III_eight2.dff",
  53. "III_fan_man1.dff",
  54. "III_fan_man2.dff",
  55. "III_fan_wom.dff",
  56. "III_fatfemale01.dff",
  57. "III_fatfemale02.dff",
  58. "III_fatmale01.dff",
  59. "III_fatmale02.dff",
  60. "III_fbi.dff",
  61. "III_female01.dff",
  62. "III_female02.dff",
  63. "III_female03.dff",
  64. "III_fireman.dff",
  65. "III_frankie.dff",
  66. "III_gang01.dff",
  67. "III_gang02.dff",
  68. "III_gang03.dff",
  69. "III_gang04.dff",
  70. "III_gang05.dff",
  71. "III_gang06.dff",
  72. "III_gang07.dff",
  73. "III_gang08.dff",
  74. "III_gang09.dff",
  75. "III_gang10.dff",
  76. "III_gang11.dff",
  77. "III_gang12.dff",
  78. "III_gang13.dff",
  79. "III_gang14.dff",
  80. "III_goon.dff",
  81. "III_hos_man.dff",
  82. "III_hos_wom.dff",
  83. "III_joey.dff",
  84. "III_joey2.dff",
  85. "III_keeper.dff",
  86. "III_kenji.dff",
  87. "III_li_man1.dff",
  88. "III_li_man2.dff",
  89. "III_li_wom1.dff",
  90. "III_li_wom2.dff",
  91. "III_lips.dff",
  92. "III_love.dff",
  93. "III_love2.dff",
  94. "III_luigi.dff",
  95. "III_male01.dff",
  96. "III_male02.dff",
  97. "III_male03.dff",
  98. "III_maria.dff",
  99. "III_medic.dff",
  100. "III_micky.dff",
  101. "III_miguel.dff",
  102. "III_misty.dff",
  103. "III_mod_man.dff",
  104. "III_mod_wom.dff",
  105. "III_ojg.dff",
  106. "III_ojg2.dff",
  107. "III_ojg_p.dff",
  108. "III_p_man1.dff",
  109. "III_p_man2.dff",
  110. "III_p_wom1.dff",
  111. "III_p_wom2.dff",
  112. "III_pimp.dff",
  113. "III_player.dff",
  114. "III_playerp.dff",
  115. "III_prostitute.dff",
  116. "III_prostitute2.dff",
  117. "III_ray.dff",
  118. "III_robber.dff",
  119. "III_s_guard.dff",
  120. "III_sam.dff",
  121. "III_scum_man.dff",
  122. "III_scum_wom.dff",
  123. "III_shopper1.dff",
  124. "III_shopper2.dff",
  125. "III_shopper3.dff",
  126. "III_st_man.dff",
  127. "III_st_wom.dff",
  128. "III_stud_man.dff",
  129. "III_stud_wom.dff",
  130. "III_swat.dff",
  131. "III_tanner.dff",
  132. "III_taxi_d.dff",
  133. "III_tony.dff",
  134. "III_worker1.dff",
  135. "III_worker2.dff"
  136. };
  137. // Nomes dos arquivos TXD de GTA III
  138. new files_skin_txd_III[][]={
  139. "III_army.txd",
  140. "III_asuka.txd",
  141. "III_b_man1.txd",
  142. "III_b_man2.txd",
  143. "III_b_man3.txd",
  144. "III_b_wom1.txd",
  145. "III_b_wom2.txd",
  146. "III_b_wom3.txd",
  147. "III_bomber.txd",
  148. "III_cas_man.txd",
  149. "III_cas_wom.txd",
  150. "III_cat.txd",
  151. "III_chunky.txd",
  152. "III_col1.txd",
  153. "III_col2.txd",
  154. "III_col3.txd",
  155. "III_colrob.txd",
  156. "III_const1.txd",
  157. "III_const2.txd",
  158. "III_cop.txd",
  159. "III_criminal01.txd",
  160. "III_criminal02.txd",
  161. "III_ct_man1.txd",
  162. "III_ct_man2.txd",
  163. "III_ct_wom1.txd",
  164. "III_ct_wom2.txd",
  165. "III_curly.txd",
  166. "III_dealer.txd",
  167. "III_docker1.txd",
  168. "III_docker2.txd",
  169. "III_eight.txd",
  170. "III_eight2.txd",
  171. "III_fan_man1.txd",
  172. "III_fan_man2.txd",
  173. "III_fan_wom.txd",
  174. "III_fatfemale01.txd",
  175. "III_fatfemale02.txd",
  176. "III_fatmale01.txd",
  177. "III_fatmale02.txd",
  178. "III_fbi.txd",
  179. "III_female01.txd",
  180. "III_female02.txd",
  181. "III_female03.txd",
  182. "III_fireman.txd",
  183. "III_frankie.txd",
  184. "III_gang01.txd",
  185. "III_gang02.txd",
  186. "III_gang03.txd",
  187. "III_gang04.txd",
  188. "III_gang05.txd",
  189. "III_gang06.txd",
  190. "III_gang07.txd",
  191. "III_gang08.txd",
  192. "III_gang09.txd",
  193. "III_gang10.txd",
  194. "III_gang11.txd",
  195. "III_gang12.txd",
  196. "III_gang13.txd",
  197. "III_gang14.txd",
  198. "III_goon.txd",
  199. "III_hos_man.txd",
  200. "III_hos_wom.txd",
  201. "III_joey.txd",
  202. "III_joey2.txd",
  203. "III_keeper.txd",
  204. "III_kenji.txd",
  205. "III_li_man1.txd",
  206. "III_li_man2.txd",
  207. "III_li_wom1.txd",
  208. "III_li_wom2.txd",
  209. "III_lips.txd",
  210. "III_love.txd",
  211. "III_love2.txd",
  212. "III_luigi.txd",
  213. "III_male01.txd",
  214. "III_male02.txd",
  215. "III_male03.txd",
  216. "III_maria.txd",
  217. "III_medic.txd",
  218. "III_micky.txd",
  219. "III_miguel.txd",
  220. "III_misty.txd",
  221. "III_mod_man.txd",
  222. "III_mod_wom.txd",
  223. "III_ojg.txd",
  224. "III_ojg2.txd",
  225. "III_ojg_p.txd",
  226. "III_p_man1.txd",
  227. "III_p_man2.txd",
  228. "III_p_wom1.txd",
  229. "III_p_wom2.txd",
  230. "III_pimp.txd",
  231. "III_player.txd",
  232. "III_player_.txd",
  233. "III_playerp.txd",
  234. "III_prostitute.txd",
  235. "III_prostitute2.txd",
  236. "III_ray.txd",
  237. "III_robber.txd",
  238. "III_s_guard.txd",
  239. "III_sam.txd",
  240. "III_scum_man.txd",
  241. "III_scum_wom.txd",
  242. "III_shopper1.txd",
  243. "III_shopper2.txd",
  244. "III_shopper3.txd",
  245. "III_st_man.txd",
  246. "III_st_wom.txd",
  247. "III_stud_man.txd",
  248. "III_stud_wom.txd",
  249. "III_swat.txd",
  250. "III_tanner.txd",
  251. "III_taxi_d.txd",
  252. "III_tony.txd",
  253. "III_worker1.txd",
  254. "III_worker2.txd"};
  255. //////////////////////////////////////////
  256. // Nome dos arquivos DFF de VC
  257. new files_skin_dff_vc[][]={"vc_BFOBE.dff",
  258. "vc_BFYPR.dff",
  259. "vc_BFYST.dff",
  260. "vc_BMOBE.dff",
  261. "vc_C_worker.dff",
  262. "vc_Cba.dff",
  263. "vc_Cla.dff",
  264. "vc_Clb.dff",
  265. "vc_Gda.dff",
  266. "vc_Gdb.dff",
  267. "vc_HFOST.dff",
  268. "vc_HFOTR.dff",
  269. "vc_HFYCG.dff",
  270. "vc_HFYMD.dff",
  271. "vc_HFYRI.dff",
  272. "vc_HFYST.dff",
  273. "vc_Hna.dff",
  274. "vc_Hnb.dff",
  275. "vc_IGBudy2.dff",
  276. "vc_IGBudy3.dff",
  277. "vc_IGCandy.dff",
  278. "vc_IGColon.dff",
  279. "vc_IGDiaz.dff",
  280. "vc_IGDick.dff",
  281. "vc_IGGonz.dff",
  282. "vc_IGHlary.dff",
  283. "vc_IGHlry2.dff",
  284. "vc_IGJezz.dff",
  285. "vc_IGKen.dff",
  286. "vc_IGMerc.dff",
  287. "vc_IGMike2.dff",
  288. "vc_IGPercy.dff",
  289. "vc_IGPhil.dff",
  290. "vc_IGPhil3.dff",
  291. "vc_IGSonny.dff",
  292. "vc_IGalscb.dff",
  293. "vc_IGmike.dff",
  294. "vc_IGphil2.dff",
  295. "vc_Mba.dff",
  296. "vc_Mbb.dff",
  297. "vc_Pgb.dff",
  298. "vc_S_keep.dff",
  299. "vc_Sga.dff",
  300. "vc_Stripa.dff",
  301. "vc_WFYLG.dff",
  302. "vc_WMYLG.dff",
  303. "vc_army.dff",
  304. "vc_avery.dff",
  305. "vc_bfori.dff",
  306. "vc_bfost.dff",
  307. "vc_bfotr.dff",
  308. "vc_bfybe.dff",
  309. "vc_bfyri.dff",
  310. "vc_bga.dff",
  311. "vc_bgb.dff",
  312. "vc_bka.dff",
  313. "vc_bkb.dff",
  314. "vc_bmodk.dff",
  315. "vc_bmost.dff",
  316. "vc_bmotr.dff",
  317. "vc_bmybb.dff",
  318. "vc_bmybe.dff",
  319. "vc_bmybu.dff",
  320. "vc_bmycr.dff",
  321. "vc_bmypi.dff",
  322. "vc_bmyri.dff",
  323. "vc_bmyst.dff",
  324. "vc_buddy.dff",
  325. "vc_burger.dff",
  326. "vc_cbb.dff",
  327. "vc_chef.dff",
  328. "vc_colonel.dff",
  329. "vc_cop.dff",
  330. "vc_courier.dff",
  331. "vc_csapoulet.dff",
  332. "vc_csdeal.dff",
  333. "vc_csdirec.dff",
  334. "vc_csdwayn.dff",
  335. "vc_csjetro.dff",
  336. "vc_cskelly.dff",
  337. "vc_cskentpaul.dff",
  338. "vc_csmaude.dff",
  339. "vc_cspapa.dff",
  340. "vc_csumbto.dff",
  341. "vc_dgoon1.dff",
  342. "vc_diaz.dff",
  343. "vc_fbi.dff",
  344. "vc_fsfa.dff",
  345. "vc_hfobe.dff",
  346. "vc_hfori.dff",
  347. "vc_hfybe.dff",
  348. "vc_hfybu.dff",
  349. "vc_hmobe.dff",
  350. "vc_hmoca.dff",
  351. "vc_hmodk.dff",
  352. "vc_hmori.dff",
  353. "vc_hmost.dff",
  354. "vc_hmotr.dff",
  355. "vc_hmyap.dff",
  356. "vc_hmybe.dff",
  357. "vc_hmyri.dff",
  358. "vc_hmyst.dff",
  359. "vc_hnc.dff",
  360. "vc_igbuddy.dff",
  361. "vc_igmerc2.dff",
  362. "vc_jfoto.dff",
  363. "vc_jmoto.dff",
  364. "vc_kentpaul.dff",
  365. "vc_lawyer.dff",
  366. "vc_male01.dff",
  367. "vc_medic.dff",
  368. "vc_mitch.dff",
  369. "vc_pga.dff",
  370. "vc_play10.dff",
  371. "vc_play11.dff",
  372. "vc_play12.dff",
  373. "vc_player.dff",
  374. "vc_player2.dff",
  375. "vc_player3.dff",
  376. "vc_player4.dff",
  377. "vc_player5.dff",
  378. "vc_player6.dff",
  379. "vc_player7.dff",
  380. "vc_player8.dff",
  381. "vc_player9.dff",
  382. "vc_psycho.dff",
  383. "vc_sam.dff",
  384. "vc_sgb.dff",
  385. "vc_sgc.dff",
  386. "vc_sonnygoona.dff",
  387. "vc_sonnygoonb.dff",
  388. "vc_spandxa.dff",
  389. "vc_spandxb.dff",
  390. "vc_stripb.dff",
  391. "vc_stripc.dff",
  392. "vc_swat.dff",
  393. "vc_taxi_d.dff",
  394. "vc_vcfd01.dff",
  395. "vc_vice1.dff",
  396. "vc_vice2.dff",
  397. "vc_vice3.dff",
  398. "vc_vice4.dff",
  399. "vc_vice5.dff",
  400. "vc_vice6.dff",
  401. "vc_vice7.dff",
  402. "vc_vice8.dff",
  403. "vc_wfobe.dff",
  404. "vc_wfogo.dff",
  405. "vc_wfori.dff",
  406. "vc_wfosh.dff",
  407. "vc_wfost.dff",
  408. "vc_wfotr.dff",
  409. "vc_wfybe.dff",
  410. "vc_wfybu.dff",
  411. "vc_wfycst.dff",
  412. "vc_wfyg1.dff",
  413. "vc_wfyg2.dff",
  414. "vc_wfyjg.dff",
  415. "vc_wfypr.dff",
  416. "vc_wfyri.dff",
  417. "vc_wfysh.dff",
  418. "vc_wfysk.dff",
  419. "vc_wfyst.dff",
  420. "vc_wmobe.dff",
  421. "vc_wmobu.dff",
  422. "vc_wmoca.dff",
  423. "vc_wmogo.dff",
  424. "vc_wmori.dff",
  425. "vc_wmost.dff",
  426. "vc_wmotr.dff",
  427. "vc_wmybe.dff",
  428. "vc_wmybu.dff",
  429. "vc_wmycr.dff",
  430. "vc_wmycw.dff",
  431. "vc_wmygo.dff",
  432. "vc_wmyjg.dff",
  433. "vc_wmypi.dff",
  434. "vc_wmyri.dff",
  435. "vc_wmysk.dff",
  436. "vc_wmyst.dff"};
  437. // Nome dos arquivos TXD de VC
  438. new files_skin_txd_vc[][]={"vc_BFOBE.txd",
  439. "vc_BFYPR.txd",
  440. "vc_BFYST.txd",
  441. "vc_BMOBE.txd",
  442. "vc_C_worker.txd",
  443. "vc_Cba.txd",
  444. "vc_Cla.txd",
  445. "vc_Clb.txd",
  446. "vc_Gda.txd",
  447. "vc_Gdb.txd",
  448. "vc_HFOST.txd",
  449. "vc_HFOTR.txd",
  450. "vc_HFYCG.txd",
  451. "vc_HFYMD.txd",
  452. "vc_HFYRI.txd",
  453. "vc_HFYST.txd",
  454. "vc_Hna.txd",
  455. "vc_Hnb.txd",
  456. "vc_IGBudy2.txd",
  457. "vc_IGBudy3.txd",
  458. "vc_IGCandy.txd",
  459. "vc_IGColon.txd",
  460. "vc_IGDiaz.txd",
  461. "vc_IGDick.txd",
  462. "vc_IGGonz.txd",
  463. "vc_IGHlary.txd",
  464. "vc_IGHlry2.txd",
  465. "vc_IGJezz.txd",
  466. "vc_IGKen.txd",
  467. "vc_IGMerc.txd",
  468. "vc_IGMike2.txd",
  469. "vc_IGPercy.txd",
  470. "vc_IGPhil.txd",
  471. "vc_IGPhil3.txd",
  472. "vc_IGSonny.txd",
  473. "vc_IGalscb.txd",
  474. "vc_IGmike.txd",
  475. "vc_IGphil2.txd",
  476. "vc_Mba.txd",
  477. "vc_Mbb.txd",
  478. "vc_Pgb.txd",
  479. "vc_S_keep.txd",
  480. "vc_Sga.txd",
  481. "vc_Stripa.txd",
  482. "vc_WFYLG.txd",
  483. "vc_WMYLG.txd",
  484. "vc_army.txd",
  485. "vc_avery.txd",
  486. "vc_bfori.txd",
  487. "vc_bfost.txd",
  488. "vc_bfotr.txd",
  489. "vc_bfybe.txd",
  490. "vc_bfyri.txd",
  491. "vc_bga.txd",
  492. "vc_bgb.txd",
  493. "vc_bka.txd",
  494. "vc_bkb.txd",
  495. "vc_bmodk.txd",
  496. "vc_bmost.txd",
  497. "vc_bmotr.txd",
  498. "vc_bmybb.txd",
  499. "vc_bmybe.txd",
  500. "vc_bmybu.txd",
  501. "vc_bmycr.txd",
  502. "vc_bmypi.txd",
  503. "vc_bmyri.txd",
  504. "vc_bmyst.txd",
  505. "vc_buddy.txd",
  506. "vc_burger.txd",
  507. "vc_cbb.txd",
  508. "vc_chef.txd",
  509. "vc_colonel.txd",
  510. "vc_cop.txd",
  511. "vc_courier.txd",
  512. "vc_csapoulet.txd",
  513. "vc_csdeal.txd",
  514. "vc_csdirec.txd",
  515. "vc_csdwayn.txd",
  516. "vc_csjetro.txd",
  517. "vc_cskelly.txd",
  518. "vc_cskentpaul.txd",
  519. "vc_csmaude.txd",
  520. "vc_cspapa.txd",
  521. "vc_csumbto.txd",
  522. "vc_dgoon1.txd",
  523. "vc_diaz.txd",
  524. "vc_fbi.txd",
  525. "vc_fsfa.txd",
  526. "vc_hfobe.txd",
  527. "vc_hfori.txd",
  528. "vc_hfybe.txd",
  529. "vc_hfybu.txd",
  530. "vc_hmobe.txd",
  531. "vc_hmoca.txd",
  532. "vc_hmodk.txd",
  533. "vc_hmori.txd",
  534. "vc_hmost.txd",
  535. "vc_hmotr.txd",
  536. "vc_hmyap.txd",
  537. "vc_hmybe.txd",
  538. "vc_hmyri.txd",
  539. "vc_hmyst.txd",
  540. "vc_hnc.txd",
  541. "vc_igbuddy.txd",
  542. "vc_igmerc2.txd",
  543. "vc_jfoto.txd",
  544. "vc_jmoto.txd",
  545. "vc_kentpaul.txd",
  546. "vc_lawyer.txd",
  547. "vc_male01.txd",
  548. "vc_medic.txd",
  549. "vc_mitch.txd",
  550. "vc_pga.txd",
  551. "vc_play10.txd",
  552. "vc_play11.txd",
  553. "vc_play12.txd",
  554. "vc_player.txd",
  555. "vc_player2.txd",
  556. "vc_player3.txd",
  557. "vc_player4.txd",
  558. "vc_player5.txd",
  559. "vc_player6.txd",
  560. "vc_player7.txd",
  561. "vc_player8.txd",
  562. "vc_player9.txd",
  563. "vc_psycho.txd",
  564. "vc_sam.txd",
  565. "vc_sgb.txd",
  566. "vc_sgc.txd",
  567. "vc_soonygoona.txd",
  568. "vc_soonygoonb.txd",
  569. "vc_spandxa.txd",
  570. "vc_spandxb.txd",
  571. "vc_stripb.txd",
  572. "vc_stripc.txd",
  573. "vc_swat.txd",
  574. "vc_taxi_d.txd",
  575. "vc_vcfd01.txd",
  576. "vc_vice1.txd",
  577. "vc_vice2.txd",
  578. "vc_vice3.txd",
  579. "vc_vice4.txd",
  580. "vc_vice5.txd",
  581. "vc_vice6.txd",
  582. "vc_vice7.txd",
  583. "vc_vice8.txd",
  584. "vc_wfobe.txd",
  585. "vc_wfogo.txd",
  586. "vc_wfori.txd",
  587. "vc_wfosh.txd",
  588. "vc_wfost.txd",
  589. "vc_wfotr.txd",
  590. "vc_wfybe.txd",
  591. "vc_wfybu.txd",
  592. "vc_wfycst.txd",
  593. "vc_wfyg1.txd",
  594. "vc_wfyg2.txd",
  595. "vc_wfyjg.txd",
  596. "vc_wfypr.txd",
  597. "vc_wfyri.txd",
  598. "vc_wfysh.txd",
  599. "vc_wfysk.txd",
  600. "vc_wfyst.txd",
  601. "vc_wmobe.txd",
  602. "vc_wmobu.txd",
  603. "vc_wmoca.txd",
  604. "vc_wmogo.txd",
  605. "vc_wmori.txd",
  606. "vc_wmost.txd",
  607. "vc_wmotr.txd",
  608. "vc_wmybe.txd",
  609. "vc_wmybu.txd",
  610. "vc_wmycr.txd",
  611. "vc_wmycw.txd",
  612. "vc_wmygo.txd",
  613. "vc_wmyjg.txd",
  614. "vc_wmypi.txd",
  615. "vc_wmyri.txd",
  616. "vc_wmysk.txd",
  617. "vc_wmyst.txd"};
  618. ///////////////////////////////////////////
  619. // Nome dos arquivos DFF de LCS
  620. new files_skin_dff_lcs[][]={"lcs_HITMAN.dff",
  621. "lcs_army.dff",
  622. "lcs_avery.dff",
  623. "lcs_b_man2.dff",
  624. "lcs_b_man3.dff",
  625. "lcs_b_wom1.dff",
  626. "lcs_b_wom2.dff",
  627. "lcs_baby.dff",
  628. "lcs_biker1.dff",
  629. "lcs_biker2.dff",
  630. "lcs_camp_man.dff",
  631. "lcs_camp_wom.dff",
  632. "lcs_cas_man.dff",
  633. "lcs_cas_wom.dff",
  634. "lcs_casa.dff",
  635. "lcs_const1.dff",
  636. "lcs_const2.dff",
  637. "lcs_cop.dff",
  638. "lcs_criminal01.dff",
  639. "lcs_criminal02.dff",
  640. "lcs_cscheryl.dff",
  641. "lcs_csgimp.dff",
  642. "lcs_csguard.dff",
  643. "lcs_cshobo.dff",
  644. "lcs_cskas.dff",
  645. "lcs_cslove.dff",
  646. "lcs_csmac.dff",
  647. "lcs_csmar.dff",
  648. "lcs_csmarb.dff",
  649. "lcs_csray.dff",
  650. "lcs_cssal.dff",
  651. "lcs_cssalp.dff",
  652. "lcs_cstool.dff",
  653. "lcs_csuncle.dff",
  654. "lcs_csvinc.dff",
  655. "lcs_ct_man1.dff",
  656. "lcs_ct_man2.dff",
  657. "lcs_ct_wom1.dff",
  658. "lcs_ct_wom2.dff",
  659. "lcs_deliass.dff",
  660. "lcs_docker1.dff",
  661. "lcs_docker2.dff",
  662. "lcs_donovan.dff",
  663. "lcs_fan_man1.dff",
  664. "lcs_fan_man2.dff",
  665. "lcs_fan_wom.dff",
  666. "lcs_fatfemale01.dff",
  667. "lcs_fatfemale02.dff",
  668. "lcs_fatmale01.dff",
  669. "lcs_fatmale02.dff",
  670. "lcs_fbi.dff",
  671. "lcs_female01.dff",
  672. "lcs_female02.dff",
  673. "lcs_female03.dff",
  674. "lcs_fireman.dff",
  675. "lcs_gang01.dff",
  676. "lcs_gang02.dff",
  677. "lcs_gang03.dff",
  678. "lcs_gang04.dff",
  679. "lcs_gang05.dff",
  680. "lcs_gang06.dff",
  681. "lcs_gang07.dff",
  682. "lcs_gang08.dff",
  683. "lcs_gang09.dff",
  684. "lcs_gang10.dff",
  685. "lcs_gang11.dff",
  686. "lcs_gang12.dff",
  687. "lcs_gang13.dff",
  688. "lcs_gang14.dff",
  689. "lcs_gang15.dff",
  690. "lcs_gang16.dff",
  691. "lcs_gang17.dff",
  692. "lcs_gang18.dff",
  693. "lcs_grdang1.dff",
  694. "lcs_grdang2.dff",
  695. "lcs_grease.dff",
  696. "lcs_gun_ass.dff",
  697. "lcs_holejog.dff",
  698. "lcs_hopper.dff",
  699. "lcs_hos_man.dff",
  700. "lcs_hos_wom.dff",
  701. "lcs_kas_01.dff",
  702. "lcs_kazuki.dff",
  703. "lcs_li_man1.dff",
  704. "lcs_li_man2.dff",
  705. "lcs_li_wom1.dff",
  706. "lcs_li_wom2.dff",
  707. "lcs_m_hole.dff",
  708. "lcs_male01.dff",
  709. "lcs_male02.dff",
  710. "lcs_male03.dff",
  711. "lcs_mastor.dff",
  712. "lcs_medic.dff",
  713. "lcs_mickeyh.dff",
  714. "lcs_miguel.dff",
  715. "lcs_mod_man.dff",
  716. "lcs_mod_wom.dff",
  717. "lcs_ned_01.dff",
  718. "lcs_p_man1.dff",
  719. "lcs_p_man2.dff",
  720. "lcs_p_wom1.dff",
  721. "lcs_p_wom2.dff",
  722. "lcs_paulie.dff",
  723. "lcs_philc.dff",
  724. "lcs_pimp.dff",
  725. "lcs_plr11.dff",
  726. "lcs_plr9.dff",
  727. "lcs_pman2.dff",
  728. "lcs_prostitute.dff",
  729. "lcs_prostitute2.dff",
  730. "lcs_sal_01.dff",
  731. "lcs_sal_con.dff",
  732. "lcs_scum_man.dff",
  733. "lcs_scum_wom.dff",
  734. "lcs_shopper1.dff",
  735. "lcs_shopper2.dff",
  736. "lcs_shopper3.dff",
  737. "lcs_st_man.dff",
  738. "lcs_st_wom.dff",
  739. "lcs_stud_man.dff",
  740. "lcs_stud_wom.dff",
  741. "lcs_swat.dff",
  742. "lcs_taxi_d.dff",
  743. "lcs_thug_01.dff",
  744. "lcs_thug_02.dff",
  745. "lcs_tool_01.dff",
  746. "lcs_toolsuit.dff",
  747. "lcs_vinc_01.dff",
  748. "lcs_wayne.dff",
  749. "lcs_wkas01.dff",
  750. "lcs_wom3.dff",
  751. "lcs_worker1.dff",
  752. "lcs_worker2.dff"};
  753. // Nome dos arquivos TXD de LCS
  754. new files_skin_txd_lcs[][]={"lcs_HITMAN.txd",
  755. "lcs_army.txd",
  756. "lcs_avery.txd",
  757. "lcs_b_man2.txd",
  758. "lcs_b_man3.txd",
  759. "lcs_b_wom1.txd",
  760. "lcs_b_wom2.txd",
  761. "lcs_baby.txd",
  762. "lcs_biker1.txd",
  763. "lcs_biker2.txd",
  764. "lcs_camp_man.txd",
  765. "lcs_camp_wom.txd",
  766. "lcs_cas_man.txd",
  767. "lcs_cas_wom.txd",
  768. "lcs_casa.txd",
  769. "lcs_const1.txd",
  770. "lcs_const2.txd",
  771. "lcs_cop.txd",
  772. "lcs_criminal01.txd",
  773. "lcs_criminal02.txd",
  774. "lcs_cscheryl.txd",
  775. "lcs_csgimp.txd",
  776. "lcs_csguard.txd",
  777. "lcs_cshobo.txd",
  778. "lcs_cskas.txd",
  779. "lcs_cslove.txd",
  780. "lcs_csmac.txd",
  781. "lcs_csmar.txd",
  782. "lcs_csmarb.txd",
  783. "lcs_csray.txd",
  784. "lcs_cssal.txd",
  785. "lcs_cssalp.txd",
  786. "lcs_cstool.txd",
  787. "lcs_csuncle.txd",
  788. "lcs_csvinc.txd",
  789. "lcs_ct_man1.txd",
  790. "lcs_ct_man2.txd",
  791. "lcs_ct_wom1.txd",
  792. "lcs_ct_wom2.txd",
  793. "lcs_deliass.txd",
  794. "lcs_docker1.txd",
  795. "lcs_docker2.txd",
  796. "lcs_donovan.txd",
  797. "lcs_fan_man1.txd",
  798. "lcs_fan_man2.txd",
  799. "lcs_fan_wom.txd",
  800. "lcs_fatfemale01.txd",
  801. "lcs_fatfemale02.txd",
  802. "lcs_fatmale01.txd",
  803. "lcs_fatmale02.txd",
  804. "lcs_fbi.txd",
  805. "lcs_female01.txd",
  806. "lcs_female02.txd",
  807. "lcs_female03.txd",
  808. "lcs_fireman.txd",
  809. "lcs_gang01.txd",
  810. "lcs_gang02.txd",
  811. "lcs_gang03.txd",
  812. "lcs_gang04.txd",
  813. "lcs_gang05.txd",
  814. "lcs_gang06.txd",
  815. "lcs_gang07.txd",
  816. "lcs_gang08.txd",
  817. "lcs_gang09.txd",
  818. "lcs_gang10.txd",
  819. "lcs_gang11.txd",
  820. "lcs_gang12.txd",
  821. "lcs_gang13.txd",
  822. "lcs_gang14.txd",
  823. "lcs_gang15.txd",
  824. "lcs_gang16.txd",
  825. "lcs_gang17.txd",
  826. "lcs_gang18.txd",
  827. "lcs_grdang1.txd",
  828. "lcs_grdang2.txd",
  829. "lcs_grease.txd",
  830. "lcs_gun_ass.txd",
  831. "lcs_holejog.txd",
  832. "lcs_hopper.txd",
  833. "lcs_hos_man.txd",
  834. "lcs_hos_wom.txd",
  835. "lcs_kas_01.txd",
  836. "lcs_kazuki.txd",
  837. "lcs_li_man1.txd",
  838. "lcs_li_man2.txd",
  839. "lcs_li_wom1.txd",
  840. "lcs_li_wom2.txd",
  841. "lcs_m_hole.txd",
  842. "lcs_male01.txd",
  843. "lcs_male02.txd",
  844. "lcs_male03.txd",
  845. "lcs_mastor.txd",
  846. "lcs_medic.txd",
  847. "lcs_mickeyh.txd",
  848. "lcs_miguel.txd",
  849. "lcs_mod_man.txd",
  850. "lcs_mod_wom.txd",
  851. "lcs_ned_01.txd",
  852. "lcs_p_man1.txd",
  853. "lcs_p_man2.txd",
  854. "lcs_p_wom1.txd",
  855. "lcs_p_wom2.txd",
  856. "lcs_paulie.txd",
  857. "lcs_philc.txd",
  858. "lcs_pimp.txd",
  859. "lcs_plr11.txd",
  860. "lcs_plr9.txd",
  861. "lcs_pman2.txd",
  862. "lcs_prostitute.txd",
  863. "lcs_prostitute2.txd",
  864. "lcs_sal_01.txd",
  865. "lcs_sal_con.txd",
  866. "lcs_scum_man.txd",
  867. "lcs_scum_wom.txd",
  868. "lcs_shopper1.txd",
  869. "lcs_shopper2.txd",
  870. "lcs_shopper3.txd",
  871. "lcs_st_man.txd",
  872. "lcs_st_wom.txd",
  873. "lcs_stud_man.txd",
  874. "lcs_stud_wom.txd",
  875. "lcs_swat.txd",
  876. "lcs_taxi_d.txd",
  877. "lcs_thug_01.txd",
  878. "lcs_thug_02.txd",
  879. "lcs_tool_01.txd",
  880. "lcs_toolsuit.txd",
  881. "lcs_vinc_01.txd",
  882. "lcs_wayne.txd",
  883. "lcs_wkas01.txd",
  884. "lcs_wom3.txd",
  885. "lcs_worker1.txd",
  886. "lcs_worker2.txd"};
  887. /////////////////////////////////////////
  888. new SelectSkinIII, SelectSkinVC, SelectSkinLCS;
  889.  
  890. public OnFilterScriptInit()
  891. {
  892.     // Carregando arquivos de modelo (dff e txd)
  893.     new filedff[64],filetxd[64],lastskinid=21000, SkinsID[3][180];
  894.     // Modelos do GTA III
  895.     for(new i; i < sizeof(files_skin_dff_III); i++) {
  896.         format(filedff, sizeof(filedff), "%s%s",DIR_III,files_skin_dff_III[i]);
  897.         format(filetxd, sizeof(filetxd), "%s%s",DIR_III,files_skin_txd_III[i]);
  898.         AddCharModel(0, SkinsID[0][i]=lastskinid++, filedff, filetxd);
  899.         //printf("AddCharModel(%i, %i, \"%s\", \"%s\");", 0, SkinsID[0][i], filedff, filetxd);
  900.     }
  901.     // Modelos do GTA VC
  902.     for(new i; i < sizeof(files_skin_dff_vc); i++) {
  903.         format(filedff, sizeof(filedff), "%s%s",DIR_VC,files_skin_dff_vc[i]);
  904.         format(filetxd, sizeof(filetxd), "%s%s",DIR_VC,files_skin_txd_vc[i]);
  905.         AddCharModel(0, SkinsID[1][i]=lastskinid++, filedff, filetxd);
  906.         //printf("AddCharModel(%i, %i, \"%s\", \"%s\");", 0, SkinsID[1][i], filedff, filetxd);
  907.     }
  908.     // Modelos do GTA LCS
  909.     for(new i; i < sizeof(files_skin_dff_lcs); i++) {
  910.         format(filedff, sizeof(filedff), "%s%s",DIR_LCS,files_skin_dff_lcs[i]);
  911.         format(filetxd, sizeof(filetxd), "%s%s",DIR_LCS,files_skin_txd_lcs[i]);
  912.         AddCharModel(0, SkinsID[2][i]=lastskinid++, filedff, filetxd);
  913.         //printf("AddCharModel(%i, %i, \"%s\", \"%s\");", 0, SkinsID[2][i], filedff, filetxd);
  914.     }
  915.     /////////////////////////////////////
  916.     if(!fexist("skins_gtaiii.txt")) {
  917.         new line[10], File:fp = fopen("skins_gtaiii.txt", io_write);
  918.         if(fp) {
  919.             for(new s = 0; s < sizeof(files_skin_dff_III); s++) {
  920.                 if(SkinsID[0][s] == 0) break;
  921.                 format(line, sizeof(line), "%i\r\n", SkinsID[0][s]);
  922.                 fwrite(fp, line);
  923.             }
  924.             fclose(fp);
  925.         } else print("Falha ao gravar em skins_gtaiii.txt");
  926.     }
  927.     if(!fexist("skins_gtavc.txt")) {
  928.         new line[10], File:fp = fopen("skins_gtavc.txt", io_write);
  929.         if(fp) {
  930.             for(new s = 0; s < sizeof(files_skin_dff_vc); s++) {
  931.                 if(SkinsID[1][s] == 0) break;
  932.                 format(line, sizeof(line), "%i\r\n", SkinsID[1][s]);
  933.                 fwrite(fp, line);
  934.             }
  935.             fclose(fp);
  936.         } else print("Falha ao gravar em skins_gtavc.txt");
  937.     }
  938.     if(!fexist("skins_gtalcs.txt")) {
  939.         new line[10], File:fp = fopen("skins_gtalcs.txt", io_write);
  940.         if(fp) {
  941.             for(new s = 0; s < sizeof(files_skin_dff_lcs); s++) {
  942.                 if(SkinsID[2][s] == 0) break;
  943.                 format(line, sizeof(line), "%i\r\n", SkinsID[2][s]);
  944.                 fwrite(fp, line);
  945.             }
  946.             fclose(fp);
  947.         } else print("Falha ao gravar em skins_gtalcs.txt");
  948.     }
  949.     // Carregando arquivo com as skins destes games
  950.     SelectSkinIII=LoadModelSelectionMenu("skins_gtaiii.txt");
  951.     SelectSkinVC=LoadModelSelectionMenu("skins_gtavc.txt");
  952.     SelectSkinLCS=LoadModelSelectionMenu("skins_gtalcs.txt");
  953.     return print("Skins: III|VC|LCS - Carregado");
  954. }
  955.  
  956.  
  957. public OnPlayerModelSelection(playerid, response, listid, modelid)
  958. {
  959.     if((listid == SelectSkinIII || listid == SelectSkinVC || listid == SelectSkinLCS) && response)
  960.         return SetPlayerSkin(playerid, modelid);
  961.     return 1;
  962. }
  963. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
  964.     if(dialogid == DialogSelectSkin) {
  965.         if(!response) return 1;
  966.         switch(listitem) {
  967.             case 0: ShowModelSelectionMenu(playerid, SelectSkinIII, "GTA III");
  968.             case 1: ShowModelSelectionMenu(playerid, SelectSkinVC, "GTA VC");
  969.             case 2: ShowModelSelectionMenu(playerid, SelectSkinLCS, "GTA LCS");
  970.         }
  971.         return 1;
  972.     }
  973.     return 1;
  974. }
  975.  
  976. public OnPlayerCommandText(playerid, cmdtext[])
  977. {
  978.     if (strcmp("/cskin", cmdtext, true) == 0)
  979.     {
  980.         return ShowPlayerDialog(playerid, DialogSelectSkin, DIALOG_STYLE_LIST, "{FF0000}# {FFFFFF}Skins GTA: Underground", "GTA III\r\nGTA Vice City\r\nGTA Liberty City (Stories)", "Selecionar", "Cancelar");
  981.     }
  982.     return 0;
  983. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement