DetachPlayerInput

From Spheriki

Jump to: navigation, search

Removes player input control from a named person.


Contents

Usage

DetachPlayerInput(person_name);
  • 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

  • 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.


See also

Personal tools