This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz getTeamPlayerLimit: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
New page: {{BZFS_API_Doc}} {{BZFS_API_Funcs}} ==Prototype== BZF_API unsigned int bz_getTeamPlayerLimit ( bz_eTeamType team ); ==Paramaters== * team ( the team the plug-in wishes to get t...
 
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{BZFS_API_Doc}}
{{BZFS_API_Doc}}
{{BZFS_API_Funcs}}
{{BZFS_API_Funcs}}
==Prototype==
==Prototype==
BZF_API unsigned int [[bz_getTeamPlayerLimit]] ( [[bz_eTeamType]] team );
BZF_API unsigned int bz_getTeamPlayerLimit ( [[bz_eTeamType]] team );


==Paramaters==
==Parameters==


* team ( the team the plug-in wishes to get the limit for. Only playable teams are valid .
{| border="1" cellpadding="3" cellspacing="0"
  !name
  !type
  !value desription
  |-
  |team  
  |[[bz_eTeamType]]
  |the team the plug-in wishes to get the limit for. Only playable teams are valid
  |}


==Description==
==Description==
This API function will return the maximum number of players that the server is configured to allow for the specified team.
This API function will return the maximum number of players that the server is configured to allow for the specified team.

Latest revision as of 20:33, 14 August 2007

BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.
BZFS API Function. This page documents a BZFS_API Function, that is provided by the BZFS game server for plug-ins to call.


Prototype

BZF_API unsigned int bz_getTeamPlayerLimit ( bz_eTeamType team );

Parameters

name type value desription
team bz_eTeamType the team the plug-in wishes to get the limit for. Only playable teams are valid

Description

This API function will return the maximum number of players that the server is configured to allow for the specified team.