DetachPlayerInput
From Spheriki
Removes player input control from a named person.
Contents |
[edit]
Usage
DetachPlayerInput(person_name);
- person_name string. The name of the person to remove a player's control from.
[edit]
Examples
To stop a person named "Eddie" from being controlled by a player:
DetachPlayerInput("Eddie");
[edit]
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.
[edit]

