Skip to content
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

Add Team Name to parsePlayerInfo or Way To Get Player's Team Name #42

Open
dbalders opened this issue Oct 12, 2023 · 2 comments
Open

Add Team Name to parsePlayerInfo or Way To Get Player's Team Name #42

dbalders opened this issue Oct 12, 2023 · 2 comments

Comments

@dbalders
Copy link
Contributor

Hello,

Is it possible to add the team name to the parsePlayerInfo function? Or is there a way to convert the team_number into the team they are on easily?

Thanks!

@LaihoE
Copy link
Owner

LaihoE commented Oct 12, 2023

For now u can use

1 = spectator
2 = terrorist
3 = CT

I think it is also the team the player was on when the game ENDED. Yes its a bit goofy (this comes directly from the demo).

@dbalders
Copy link
Contributor Author

Ah, kk. I'll probably loop through one of the ticks then to get the players. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants