GetMaxPlayers: Difference between revisions
Jump to navigation
Jump to search
JonChappell (talk | contribs) No edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
==Syntax== | ==Syntax== | ||
int getMaxPlayers () | int getMaxPlayers () | ||
==Required Arguments== | |||
''This function has no arguments.'' | |||
==Example== | ==Example== | ||
playermax = | playermax = [[GetMaxPlayers]] (); | ||
serverChat ( "There are currently ", playermax, " player slots in this server." ); | [[serverChat]] ( "There are currently ", playermax, " player slots in this server." ); |
Revision as of 19:54, 25 March 2006
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." );