Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get team information from player #61

Closed
Kikerechu opened this issue Mar 19, 2018 · 1 comment
Closed

How to get team information from player #61

Kikerechu opened this issue Mar 19, 2018 · 1 comment

Comments

@Kikerechu
Copy link

Hello,

I want to take the team information that corresponds to a player. I've read the documentation but I wasn't able to get it done.

Thanks in advance.

@Kikerechu
Copy link
Author

Kikerechu commented Mar 19, 2018

Found the solution after messing around and testing.

For anyone interested in the future:

var player= demoFile.entities.getByUserId(e.userid);
console.log(player.team.clanName);

Sorry for the inconvenience.

@saul saul reopened this Feb 28, 2021
@saul saul closed this as completed Feb 28, 2021
Repository owner locked and limited conversation to collaborators Feb 28, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

2 participants