ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. isTrainDerailed

Function

isTrainDerailed

ServerVehiclesIdentical to MTA:SA

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)))

See also