Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Brick owner
« previous
next »
Print
Pages: [
1
]
Author
Topic: Brick owner (Read 389 times)
Mawpius
July 26, 2011, 06:31:38 PM
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.
Ad Bot
Advertisement
otto-san
July 26, 2011, 06:32:57 PM
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.
Mawpius
July 26, 2011, 06:43:06 PM
I have no idea what the code is to return the brick owner's bl_id/name though.
otto-san
July 26, 2011, 06:52:18 PM
Quote from: Mawpius on July 26, 2011, 06:43:06 PM
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
Mawpius
July 26, 2011, 06:59:31 PM
Thanks for that :p
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Brick owner