IsTrainDerailable

From Multi Theft Auto: Wiki
Revision as of 16:59, 5 March 2009 by Mekorea (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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