04.10.2014, 23:40
Quote:
Yes, I believe so.
I'm not 100% sure if it would return accurate values though, you should wait for someone to reply who has experimented with it. |
Quote:
You can't use a function call as an array size since array sizes must be known at compile time. The compiler knows that MAX_PLAYERS means 500 because it's just a define directive (effectively just search & replace before compile time). GetMaxPlayers is unknown because it's a function call that returns whatever the server read from server.cfg.
|