Player SetTeam: Difference between revisions

This is an action special too
No edit summary
Tag: Source edit
(This is an action special too)
Tag: Source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Player_SetTeam}}
{{DISPLAYTITLE:Player_SetTeam}}
{{Template:ACSWarning}}
{{Template:ACSWarning}}
int '''Player_SetTeam''' (int ''team''[, bool ''nobroadcast''])
'''145:Player_SetTeam (int ''team''[, bool ''nobroadcast''])'''


== Usage ==
== Usage ==
Line 8: Line 8:
=== Parameters ===
=== Parameters ===
* ''team'': ID of the team for the player to join.
* ''team'': ID of the team for the player to join.
* ''nobroadcast'': When trye, the team switch will not be announced in chat.
* ''nobroadcast'': When true, the team switch will not be announced in chat.


=== Return value ===
=== Return value ===
Line 16: Line 16:
{{noexamples}}
{{noexamples}}


[[Category:ACS functions]]
[[Category: ACS functions]]
[[Category: Action specials]]