get_maxplayers

Syntax

native get_maxplayers();

Description

Returns the maxplayers setting of the current server, that is how many
clients it supports.

Note

As of AMXX 1.8.3, this value is also exposed through a dynamic constant
via the MaxClients variable, declared in amxconst.inc

Return

Maxplayers setting