Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Specifying a client's team
« previous
next »
Print
Pages: [
1
]
Author
Topic: Specifying a client's team (Read 471 times)
Radíowave
December 30, 2015, 07:41:26 PM
How do I get somebody's team name? What I'm trying to do is allow people to use a command
ONLY if they're on a specific team.
Ad Bot
Advertisement
Dannu
December 30, 2015, 08:17:22 PM
%client.getTeam().getName() was it?
Radíowave
December 30, 2015, 08:29:30 PM
Quote from: Dannu on December 30, 2015, 08:17:22 PM
%client.getTeam().getName() was it?
I tried that out, it doesn't seem to work. That line is definitely reasonable though
Shift Kitty
December 30, 2015, 08:29:51 PM
.getName() gets the object name. I highly doubt the object would be named after the team.
%client.getTeam().name is what you're looking for.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Specifying a client's team