CountPlayersInTeam: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 12: Line 12:


===Returns===
===Returns===
Returns an integer containing the number of players in the team, false if it could not be retrived.
Returns an integer containing the number of players in the team, ''false'' if it could not be retrieved.


==Example==
==Example==

Revision as of 14:37, 21 August 2007

This function is for returning the number of players in the specified team.

Syntax

int countPlayersInTeam ( team theTeam )

Optional Arguments

  • theTeam: The team you wish to retrieve the player count of.

Returns

Returns an integer containing the number of players in the team, false if it could not be retrieved.

Example

Click to expand [+]
Example 1
Click to expand [+]
Example 2
Click to expand [+]
Example 3

See Also