DetachPlayerInput
From Spheriki
Removes player input control from a named person.
Contents |
Usage
- person_name string. The name of the person to remove a player's control from.
Examples
To stop a person named "Eddie" from being controlled by a player:
DetachPlayerInput("Eddie");
Notes
- Unlike with AttachPlayerInput(), the player index is not given to this function.
- There is no way to directly detect from which player control was released. Therefore, you may wish to set up a secondary system in JavaScript which can tell which player maps to which person, if you need that information later.