kickPlayer
Jump to navigation
Jump to search
Description
- Description:
- Kick the player controlling the provided unit from the server.
- Groups:
- Argo
Syntax
- Syntax:
- kickPlayer [unit, kickMessage]
- Parameters:
- unit: Object - the player to kick
- kickMessage: String - (Optional) shown as disconnect message on the kicked client
- Return Value:
- Boolean - true on success, false otherwise
Examples
- Example 1:
- kickPlayer [_teamKiller, "We don't do that here."];
- Example 2:
Additional Information
- See also:
- getClientState
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note