- Documentation
- Server functions
- isTrainDerailed
Function
isTrainDerailed
Returns the value stored with setTrainDerailed (false by default).
Syntax
bool isTrainDerailed(vehicle element)Arguments
elementvehicle- The train.
Returns
The stored value.
Example
local train = createVehicle(538, 1700, -1950, 14)
outputDebugString(tostring(isTrainDerailed(train)))