IsTrainDerailable: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ Category:Needs_Example {{Server client function}} This function will check if a train or tram is derailable. ==Syntax== <syntaxhighlight lang="lua"> bool isTrainDerailable ( vehicle vehi...)
(No difference)

Revision as of 16:59, 5 March 2009

This function will check if a train or tram is derailable.

Syntax

bool isTrainDerailable ( vehicle vehicleToCheck )              

Required Arguments

  • vehicleToCheck: The vehicle you wish to check.


Returns

Returns true if the train is derailable, false otherwise.


Example

Click to collapse [-]
Example
-- TODO


See Also

Shared