ScriptEvent:getSurfaceType

From Mod Wiki

Parameters

None.

Result

string

Supported By

sdTransport

Comments

  • If the vehicle has no wheels or tracks, or they are currently sitting on a surface with no surfaceType, the result will be an empty string.

Functionality

Returns the name of a surfaceType on which the wheels or tracks of the vehicle are sitting.