GetTeamFriendlyFire: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
This | This function returns the friendly fire value for the specified team. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool getTeamFriendlyFire ( team theTeam ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''theTeam:''' The client that will be checked | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if | Returns ''true'' if friendly fire is on for the specified team, ''false'' if friendly fire is turned off for the specified team or if invalid arguments are specified. | ||
==Example== | ==Example== |
Revision as of 18:04, 19 November 2006
This function returns the friendly fire value for the specified team.
Syntax
bool getTeamFriendlyFire ( team theTeam )
Required Arguments
- theTeam: The client that will be checked
Returns
Returns true if friendly fire is on for the specified team, false if friendly fire is turned off for the specified team or if invalid arguments are specified.
Example
This example does...
--This line does... blabhalbalhb --abababa --This line does this... mooo