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

Check player team for rg_give_defusekit #233

Closed
byjumpe opened this issue Nov 25, 2021 · 1 comment · Fixed by #234
Closed

Check player team for rg_give_defusekit #233

byjumpe opened this issue Nov 25, 2021 · 1 comment · Fixed by #234

Comments

@byjumpe
Copy link

byjumpe commented Nov 25, 2021

`

// on the map there is not bomb places
if (CSGameRules() != nullptr && !CSGameRules()->m_bMapHasBombTarget && !CSGameRules()->m_bMapHasBombZone) {
	return FALSE;
}

if (pPlayer->m_iTeam == TERRORIST) {
	return FALSE;
}

`

@byjumpe
Copy link
Author

byjumpe commented Jan 5, 2024

#234

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 a pull request may close this issue.

1 participant