Hi,
Suppose the following function:
Is there any way to do something like this?
It's because I don't like the ideia of determining the BlockType by experimental ways, are there any constants like these? I couldn't find any.
Suppose the following function:
1 | function OnPlayerPlacingBlock(Player, BlockX, BlockY, BlockZ, BlockType, BlockMeta) |
Is there any way to do something like this?
1 2 3 | if BlockType == BLOCKTYPE_CHEST then -- Do something end |
It's because I don't like the ideia of determining the BlockType by experimental ways, are there any constants like these? I couldn't find any.