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 casted property .Team to CCSPlayerController #259

Merged
merged 2 commits into from
Jan 15, 2024
Merged

Add casted property .Team to CCSPlayerController #259

merged 2 commits into from
Jan 15, 2024

Conversation

B3none
Copy link
Collaborator

@B3none B3none commented Jan 14, 2024

This means that people don't have to constantly cast the player.TeamNum to CsTeam in their plugins.

@B3none B3none changed the title Add casted value .Team to CCSPlayerController Add casted property .Team to CCSPlayerController Jan 14, 2024
@roflmuffin roflmuffin merged commit 204850f into roflmuffin:main Jan 15, 2024
3 checks passed
@roflmuffin
Copy link
Owner

Hope you don't mind, just changed it to expression syntax and rebased :)

@B3none
Copy link
Collaborator Author

B3none commented Jan 15, 2024

Hope you don't mind, just changed it to expression syntax and rebased :)

Looks much cleaner, I just made sure to copy what was above as I didn’t want to change it 👍

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

Successfully merging this pull request may close these issues.

None yet

2 participants