GetTrainSpeed: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Server client function}} Gets the speed at which a train is traveling on the rails. ==Syntax== <syntaxhighlight lang="lua">float getTrainSpeed ( vehicle train )</syntaxhighlight> ===Required Arguments=...)
(No difference)

Revision as of 21:10, 22 February 2009

Gets the speed at which a train is traveling on the rails.

Syntax

float getTrainSpeed ( vehicle train )

Required Arguments

  • train: the train of which to retrieve the speed.

Returns

Returns the train's speed if successful, false otherwise.

See Also

Shared