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