Entity:IsControllingEntity(Entity, Entity)
server
Whether we are controlling the given entity (train, tank, etc.)
Arguments
Returns
-
boolean
true if on controls, false otherwise.
Examples
Entity:IsControllingEntity – Whether we are controlling the given entity (train, tank, etc.)