08-30-2016, 01:47 AM
(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