GetMaxClients Function

W przyszlosci ta funkcja stanie sie przestarzala. Uzyj zamiast niej zmiennej MaxClients.

Returns the maximum number of clients allowed on the server. This may return 0 if called before OnMapStart(), and thus should not be called in OnPluginStart().

You should not globally cache the value to GetMaxClients() because it can change from SourceTV or TF2's arena mode. Use the "MaxClients" dynamic variable documented at the top of this file.

int GetMaxClients()

Return Value

Maximum number of clients allowed.