SetTrainDerailed

From Multi Theft Auto: Wiki
Revision as of 17:38, 22 February 2009 by Cazomino05 (talk | contribs)
Jump to navigation Jump to search

This function will set a train or tram as derailed.

Syntax

bool setTrainDerailed ( vehicle vehicleToDerail, bool derailed )              

Required Arguments

  • vehicleToDerail: The vehicle that you wish to derail.
  • derailed: whether the train is derailed.

Returns

Returns true if the state was successfully set

See Also