ScriptEvent:getObject

From Mod Wiki

Parameters

string name -- Name of the component to find.

Result

object

Supported By

sdTransport

Comments

  • If no component with the given name can be found, or it doesn't have a script object, the result will be null.

Functionality

Returns the vehicle component with the given name.