GetMaxPlayers

From Multi Theft Auto: Wiki
Revision as of 19:54, 25 March 2006 by Vandalite (talk | contribs)
Jump to navigation Jump to search

Description

This function returns the maximum number of player slots on the server.

Syntax

int getMaxPlayers ()

Required Arguments

This function has no arguments.

Example

playermax = GetMaxPlayers ();
serverChat ( "There are currently ", playermax, " player slots in this server." );