Author Topic: Brick owner  (Read 391 times)

I was wondering what you would do if you wanted to, for example, click someone's brick and have it tell you who the owner of it is.

you could make it so it fires a short raycast in front of the player and if it hits a brick, it messages the brick's client's name.

I have no idea what the code is to return the brick owner's bl_id/name though.

I have no idea what the code is to return the brick owner's bl_id/name though.
%brick.client.getPlayerName()

%brick.client.bl_id