Guest User

Untitled

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