gta.setTrainsEnabled

(Redirected from Gta.setTrainsEnabled)

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.72

void gta.setTrainsEnabled(bool enabled)

The gta.setTrainsEnabled function is used to set the enabled status of trains.

Parameters

1) bool enabled Whether trains are to be enabled.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

        addToWorld
      gta.findGroundZCoordinate
      gta.findRoofZCoordinate
      gta.gravity
    gta.moonSize
        removeFromWorld