Guest User

Untitled

a guest
Jul 21st, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.54 KB | None | 0 0
  1. addhook("serveraction","class")
  2. function class(id,a)
  3. if a == 1 then --F2
  4. menu(id, "SKINS MENU, Horse | Vehicle, Black dragon | Vehicle, Pig | Vehicle, Car | Vehicle, Wing Evil | Vehicle, Wing Good | Vehicle, Fire Horse | Vehicle,, NEXT")
  5. end
  6. end
  7.         addhook("menu", "menus")
  8.         function menus(id, title, but)
  9.  
  10. if (title=="SKINS MENU") then
  11. if(but==1) then
  12.     freeimage(id)
  13.     id=image("gfx/mod de transporte/horse.png",1,1,100+id)
  14.         parse ("speedmod "..id.." 30")
  15.  elseif horse == id then
  16.     freeimage(id)
  17.     id=image("gfx/mod de transporte/horse.png",1,1,100+id)
  18.         parse ("speedmod "..id.." 30")
  19. end
  20. if(but==2) then
  21.     freeimage(id)
  22.     id=image("gfx/mod de transporte/blackdragon.png",1,1,100+id)
  23.         parse ("speedmod "..id.." 40")
  24. end
  25. if(but==3) then
  26.     freeimage(id)
  27.     id=image("gfx/mod de transporte/pig.png",1,1,100+id)
  28.         parse ("speedmod "..id.." 25")
  29. end
  30. if(but==4) then
  31.     freeimage(id)
  32.     id=image("gfx/mod de transporte/car.png",1,1,200+id)
  33.         parse ("speedmod "..id.." 45")     
  34. end
  35. if(but==5) then
  36.     freeimage(id)
  37.     id=image("gfx/mod de transporte/evil.png",1,1,100+id)
  38.     id=image("gfx/mod de transporte/devil.png",1,1,200+id)
  39.         parse ("speedmod "..id.." 45")
  40. end
  41. if(but==6) then
  42.     freeimage(id)
  43.     id=image("gfx/mod de transporte/goldw.png",1,1,100+id)
  44.     id=image("gfx/mod de transporte/angel .png",1,1,200+id)
  45.         parse ("speedmod "..id.." 35")
  46. end
  47. if(but==7) then
  48.     freeimage(id)
  49.     id=image("gfx/mod de transporte/fire_horse.png",1,1,100+id)
  50.         parse ("speedmod "..id.." 40")
  51. end
  52. if(but==8) then
  53. end
  54. if(but==9) then
  55. menu(id, "SKINS MENU 2, Sonic | Head, Goku | Hair, Devil | Horns, Horse | Pet, Brasil | Hat, Yoshi | Head,, BACK, NEXT")
  56. end
  57. end
  58.  
  59. if (title=="SKINS MENU 2") then
  60. if(but==1) then
  61.     freeimage(id)
  62.     id=image("gfx/mod de transporte/sonic.png",1,1,200+id)
  63. end
  64. if(but==2) then
  65.     freeimage(id)
  66.     id=image("gfx/mod de transporte/goku .bmp",1,1,200+id)
  67. end
  68. if(but==3) then
  69.     freeimage(id)
  70.     id=image("gfx/mod de transporte/devil.png",1,1,200+id)
  71. end    
  72. if(but==4) then
  73.     freeimage(id)
  74.     id=image("gfx/mod de transporte/horse.png",1,1,100+id)
  75. end
  76. if(but==5) then
  77.     freeimage(id)
  78.     id=image("gfx/mod de transporte/brasil.png",1,1,200+id)
  79. end
  80. if(but==6) then
  81.     freeimage(id)
  82.     id=image("gfx/mod de transporte/yoshi.png",1,1,200+id)
  83. end
  84. if(but==7) then
  85. end
  86. if(but==8) then
  87. menu(id, "SKINS MENU, Horse | Vehicle, Black dragon | Vehicle, Pig | Vehicle, Car | Vehicle, Wing Evil | Vehicle, Wing Good | Vehicle, Fire Horse | Vehicle,, NEXT")
  88. end
  89. if(but==9) then
  90. menu(id, "SKINS MENU 3, Drag | Wings, Dragon | Transformation, Dark Demon | Wings, Dark Devil | Wings, Gold Angel | Wings, Vulcan | MiniGun Skin,, BACK, NEXT")
  91. end
  92. end
  93.  
  94. if (title=="SKINS MENU 3") then
  95. if(but==1) then
  96.     freeimage(id)
  97.     id=image("gfx/mod de transporte/dragon.png",1,1,200+id)
  98. end
  99. if(but==2) then
  100.     freeimage(id)
  101.     id1=image("gfx/mod de transporte/drago.png",1,1,200+id)
  102. end
  103. if(but==3) then
  104.     freeimage(id)
  105.     id1=image("gfx/mod de transporte/dark.png",1,1,200+id)
  106. end
  107. if(but==4) then
  108.     freeimage(id)
  109.     id1=image("gfx/mod de transporte/evil.png",1,1,200+id)
  110. end
  111. if(but==5) then
  112.     freeimage(id)
  113.     id1=image("gfx/mod de transporte/goldw.png",1,1,200+id)
  114. end
  115. if(but==6) then
  116.     freeimage(id)
  117.     id=image("gfx/mod de transporte/minigun_.png",1,1,200+id)
  118.     parse("equip "..id.." 40")
  119.     parse("setweapon "..id.." 40")
  120. end
  121. if(but==7) then
  122. end
  123. if(but==8) then
  124. menu(id, "SKINS MENU 2, Sonic | Head, Goku | Hair, Devil | Horns, Flame | Bag, Horse | Pet, Brasil | Hat, Yoshi | Head,, NEXT")
  125. end
  126. if(but==9) then
  127. menu(id, "SKINS MENU 4, Wolf | Head, Toad | Hair, Pirate | Hat, Angel | Wings, Umbrella Blue | Shadow, Umbrella Red | Shadow,,BACK, NEXT")
  128. end
  129. end
  130.  
  131. if (title=="SKINS MENU 4") then
  132. if(but==1) then
  133.     freeimage(id)
  134.     id=image("gfx/mod de transporte/wolf.png",1,1,200+id)
  135. end
  136. if(but==2) then
  137.     freeimage(id)
  138.     id=image("gfx/mod de transporte/toad.png",1,1,200+id)
  139. end
  140. if(but==3) then
  141.     freeimage(id)
  142.     id=image("gfx/mod de transporte/pirate_hat.png",1,1,200+id)
  143. end
  144. if(but==4) then
  145.     freeimage(id)
  146.     id=image("gfx/mod de transporte/angel.png",1,1,200+id)
  147. end
  148. if(but==5) then
  149.     freeimage(id)
  150.     id=image("gfx/mod de transporte/umbrella_ct.png",1,1,100+id)
  151. end
  152. if(but==6) then
  153.     freeimage(id)
  154.     id=image("gfx/mod de transporte/umbrella_t.png",1,1,100+id)
  155. end
  156. if(but==7) then
  157. end
  158. if(but==8) then
  159. menu(id, "SKINS MENU 3, Drag | Wings, Dragon | Transformation, Dark Demon | Wings, Dark Devil | Wings, Gold Angel | Wings, Vulcan | MiniGun Skin,, BACK, NEXT")
  160. end
  161. if(but==9) then
  162. menu(id, "SKINS MENU 5, Fairy | Wings, Pikachu | Head, Phoenix | Helm, MegaMan | Head, Spear | Hat, Knife | Hat, S.W.A.T | Armor,,BACK")
  163. end
  164. end
  165.  
  166.  
  167. if (title=="SKINS MENU 5") then
  168. if(but==1) then
  169.     freeimage(id)
  170.     id1=image("gfx/mod de transporte/fairy.png",1,1,200+id)
  171. end
  172. if(but==2) then
  173.     freeimage(id)
  174.     id=image("gfx/mod de transporte/pikachu.png",1,1,200+id)
  175. end
  176. if(but==3) then
  177.     freeimage(id)
  178.     id=image("gfx/mod de transporte/phoenix.png",1,1,200+id)
  179. end
  180. if(but==4) then
  181.     freeimage(id)
  182.     id=image("gfx/mod de transporte/megaman.png",1,1,200+id)
  183. end
  184. if(but==5) then
  185.     freeimage(id)
  186.     id=image("gfx/mod de transporte/spear.png",1,1,200+id)
  187. end
  188. if(but==6) then
  189.     freeimage(id)
  190.     id=image("gfx/mod de transporte/29.bmp",1,1,200+id)
  191. end
  192. if(but==7) then
  193.     freeimage(id)
  194.     id=image("gfx/mod de transporte/23.bmp",1,1,200+id)
  195. end
  196. if(but==8) then
  197. end
  198. if(but==9) then
  199. menu(id, "SKINS MENU 4, Wolf | Head, Toad | Hair, Pirate | Hat, Angel | Wings, Umbrella Blue | Shadow, Umbrella Red | Shadow,,BACK, NEXT")
  200. end
  201. end
  202. end
  203.  
  204. addhook("say","save_sayy")
  205. function save_sayy(id,txt)
  206.     if txt == "!bsashouse" then
  207.                 msg2(id,"©100255100Casa de Bs As - Abierta/Cerrada")
  208.         parse ("trigger w1")
  209.                 return 1
  210.     end
  211.     if txt == "!vhouse" then
  212.                 msg2(id,"©100255100Casa de Verano - Abierta/Cerrada")
  213.         parse ("trigger casaplaya")
  214.         return 1
  215.     end
  216.     if txt == "!esphouse" then
  217.                 msg2(id,"©100255100Casa de España - Abierta/Cerrada")
  218.         parse ("trigger cp3")
  219.         return 1
  220.     end
  221.         if txt == "!xhouse1" then
  222.                 msg2(id,"©100255100Casa de Bs As - Abierta/Cerrada")
  223.                 parse ("trigger h4.5")
  224.                 return 1
  225.         end
  226.         if txt == "!xhouse2" then
  227.                 msg2(id,"©100255100Casa de Verano - Abierta/Cerrada")
  228.                 parse ("trigger 12")
  229.                 return 1
  230.         end
  231.         if txt == "!xhouse3" then
  232.                 msg2(id,"©100255100Casa de España - Abierta/Cerrada")
  233.                 parse (" trigger tt")
  234.                 return 1
  235.         end
  236. end
Add Comment
Please, Sign In to add comment