Max Players
Dumb question.
I've seen in many amxx native functions, players array dimensioned to 32, just like Code:
get_players ( players[32], &num, const flags = ) |
Ignore the extra spawns.
Besides that, what's your question? |
Suppose there are 36 players in a server, I wonder if this function would work for retrieving an id from a player indexed as "34" for instance.
|
I don't think so.
Depends on what you're doing, if you really want, for example, to find all bots, just do this: Code:
|
not for counting...
i.e. suppose you want to change the model of that 34th player... you'd have to use something like cs_set_user_model (34,...) but it's out there at the documentation Code:
cs_set_user_model ( index, const model[] ) |
I don't think it would work.
It's hardcoded into the engine to have a max of 32 players. The 36 might just be to randomize the location people spawn in. |
That's what I needed to know.
Thank you. |
Quote:
Quote:
|
Quote:
|
:lol:
|
| All times are GMT -4. The time now is 15:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.