Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --OtClient
- >> Embaixo de \/
- if useThing:isRotateable() then
- menu:addOption(tr('Rotate'), function() g_game.rotate(useThing) end)
- end
- adiciona
- if lookThing and not lookThing:isCreature() and lookThing:isNotMoveable() and not lookThing:isPickupable() then
- local clientidd_embrulhar = {14034, 14033, 14036, 14035, 18250} -- id do client
- for _, itemid in pairs (clientidd_embrulhar) do
- if itemid == g_map.getTile(useThing:getPosition()):getTopThing():getId() then
- menu:addOption(tr('Embrulhar'), function() startEmbrulhoWith(lookThing) print("hehe") g_game.getProtocolGame():sendExtendedOpcode(98, itemid.."|"..useThing:getPosition().x..","..useThing:getPosition().y..","..useThing:getPosition().z.."|") end)
- break
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement