Advertisement
Julianozns

Untitled

Jul 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. --OtClient
  2.  
  3. >> Embaixo de \/
  4. if useThing:isRotateable() then
  5. menu:addOption(tr('Rotate'), function() g_game.rotate(useThing) end)
  6. end
  7.  
  8. adiciona
  9.  
  10.  
  11. if lookThing and not lookThing:isCreature() and lookThing:isNotMoveable() and not lookThing:isPickupable() then
  12. local clientidd_embrulhar = {14034, 14033, 14036, 14035, 18250} -- id do client
  13. for _, itemid in pairs (clientidd_embrulhar) do
  14. if itemid == g_map.getTile(useThing:getPosition()):getTopThing():getId() then
  15. 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)
  16. break
  17. end
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement