callback DoWithBlockEntityAt why not work
#12
(08-30-2016, 01:44 AM)DrMasik Wrote:
(08-30-2016, 01:43 AM)as123456 Wrote: Not the reason!

Show your updated code

Code:
function OnPlayerRightClick(Player, BlockX, BlockY, BlockZ, BlockFace, CursorX, CursorY, CursorZ)
    
    local world=Player:GetWorld()

    world:DoWithBlockEntityAt(BlockX, BlockY, BlockZ,
    function  (a_BlockEntity)
    LOG("a_BlockEntity")
    LOG(a_BlockEntity.GetBlockType)
    end
    
    )
    LOG("End")
    return false
end
Reply
Thanks given by:


Messages In This Thread
RE: callback DoWithBlockEntityAt why not work - by as123456 - 08-30-2016, 01:47 AM



Users browsing this thread: 1 Guest(s)