Difference between revisions of "ScriptEvent:getSurfaceType"

From Mod Wiki
 
(No difference)

Latest revision as of 16:56, 5 November 2007

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.