Postado Agosto 11, 2019 5 anos . Q servidor UAL o sitio web utiliza como una base? Servidor Pokemon HuatsonOT (DXP) ¿Cuál es la razón de este tema? Error no aparece lo que especifica el lua y quiero agregar cambio de nombre y agregar mas dias para la venta ¿Está surgiendo un error? Si es así ponlo aquí. Nombre agregar cambio de nombre y dias vips al scrip y que aparesca de momento solo salen los default aunque esta modificadoemerald_shop.lua ¿Tienes el código disponible? Si lo has publicado aquí: local market = { [0] = {emeralds = 25}, [1] = {emeralds = 10, vipdays = 30}, [2] = {emeralds = 28, vipdays = 90}, [3] = {emeralds = 45, vipdays = 180}, [3] = {emeralds = 100, vipdays = 360}, [4] = {emeralds = 15, pokemon = "Ditto"}, [4] = {emeralds = 350, pokemon = "ShinyDitto"}, [5] = {emeralds = 2, blessings = 2}, [6] = {emeralds = 5, blessings = 5}, [7] = {emeralds = 5}, } local OPCODE_EMERALD_SHOP = opcodes.OPCODE_EMERALD_SHOP function onExtendedOpcode(cid, opcode, buffer) local t = string.explode(buffer, "|") if opcode == OPCODE_EMERALD_SHOP then if t[1] == "Market" then if tonumber(t[2]) >= 1 and tonumber(t[2]) <= 3 then doPlayerAddPremiumDays(cid, market[tonumber(t[2])].vipdays) elseif tonumber(t[2]) == 4 then doPlayerAddPoke(cid, market[tonumber(t[2])].pokemon, "poke") elseif tonumber(t[2]) >= 5 and tonumber(t[2]) <= 6 then for blessings = 1, market[tonumber(t[2])].blessings do if getPlayerBlessing(cid, market[tonumber(t[2])].blessings) then return doSendPlayerExtendedOpcode(cid, OPCODE_EMERALD_SHOP, "You already have the blessing.") end doPlayerAddBlessing(cid, blessings) end elseif tonumber(t[2]) == 7 then doPlayerSetSex(cid, (getPlayerSex(cid) == 0 and 1 or 0)) end end return doPlayerRemoveItem(cid, 2145, market[tonumber(t[2])].emeralds) and doSendPlayerExtendedOpcode(cid, OPCODE_EMERALD_SHOP, "True") end end ¿Tienes alguna imagen que pueda ayudar con el problema? Si es así, ponlo aquí.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.