gta.setTrainsEnabled

From GTA Connected
(Redirected from Gta.setTrainsEnabled)
Jump to navigation Jump to search

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

icon-iii.png icon-vc.png icon-sa.png icon-iv.png addToWorld
icon-iii.png icon-vc.png icon-sa.png gta.findGroundZCoordinate
icon-iii.png icon-vc.png icon-sa.png gta.findRoofZCoordinate
icon-iii.png icon-vc.png icon-sa.png gta.gravity
icon-iii.png icon-vc.png gta.moonSize
icon-iii.png icon-vc.png icon-sa.png icon-iv.png removeFromWorld