Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32017

addEvent

$
0
0
Code:
function onSay(player, words, param)
  
    
    
    local function removeitem(position)
    local removeitem = Tile(position):getItemById(1754) 
    
    if teleportItem then
        teleportItem:remove() 
        
        position:sendMagicEffect(CONST_ME_POFF)
    end
end
 
   
         player:addItem(1754, 1)
         

addEvent(removeitem, 10,position) 
         
      return true
end

I am trying to make the player create an item in his position and...

addEvent

Viewing all articles
Browse latest Browse all 32017

Trending Articles