Resource:Battlefield/setPlayerSquad: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Purpose== This function sets the player squad. ==Syntax== <syntaxhighlight lang="lua"> bool setPlayerSquad(player thePlayer, squad squadTeam) </syntaxhighlight> =Required Arguments= '''thePlayer''': The...") |
(No difference)
|
Revision as of 04:12, 22 May 2012
Purpose
This function sets the player squad.
Syntax
bool setPlayerSquad(player thePlayer, squad squadTeam)
Required Arguments
thePlayer: The player you wish to add to a squad. squadTeam: The squad you want the player to be added to.
Returns
Returns true if the player was successfully added to the squad, else false.