Difference between revisions of "ForceUserOutOfRC"

From Nomad DB
(Created page with "Forces a player to exit the currently connected remote control entity like drones or forklifts. == Syntax == <syntaxhighlight lang="lua"> ForceUserOutOfRC(userEnti...")
 
(No difference)

Latest revision as of 19:06, 16 April 2020

Forces a player to exit the currently connected remote control entity like drones or forklifts.

Syntax

ForceUserOutOfRC(userEntityId)
  • userEntityId (string): Entity ID of the RC user

Example

Forces the local player out of the currently used RC entity.

ForceUserOutOfRC(GetLocalPlayerEntityId())

Related Pages