[HELP] How do I count the number of players in both team?
I need a function that checks if there are 5 players in each team.
Something like this: Code:
|
Re: [HELP] How do I count the number of players in both team?
Can call get_players() twice using the team flag. The count is passed by reference to a variable.
|
Re: [HELP] How do I count the number of players in both team?
Quote:
Code:
|
Re: [HELP] How do I count the number of players in both team?
Quote:
Code:
|
Re: [HELP] How do I count the number of players in both team?
Also, to change cvars use set_pcvar_num instead of console_cmd.
|
Re: [HELP] How do I count the number of players in both team?
For cvars you are not creating use get_cvar_pointer() to get the pointer to pass to get_pcvar_X()
|
| All times are GMT -4. The time now is 04:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.