train.trackPosition: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = trackPosition
|side = shared
|type = property
|type = property
|games = III & SA
|class = Train
|class = Train
|name = trackPosition
|games = iii vc sa iv
|desc = fetch or set the track position of the train
|return = float a floating point number representing the train's track position
|readonly = false
|readonly = false
|returnTypes = float
|usage = fetch or set the track position of the train
|returnInfo = a floating point number representing the train's track position
}}
}}

Latest revision as of 20:37, 19 November 2022

Property Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read and Set

Available since Server 1.0.0, Client 1.0.0

float train.trackPosition

The train.trackPosition property is used to fetch or set the track position of the train.

Value

float A floating point number representing the train's track position.
read/set This property can be changed, as well as read.

Types

Shared Train

Notes

There aren't any notes for this property.

Examples

There aren't any examples for this property.

Compatibility

There isn't any compatibility information for this property.