ScriptEvent:getSurfaceType

From Mod Wiki
Revision as of 16:56, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.