gta.setTrafficEnabled: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 18:27, 4 October 2019

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

Available since Client 1.0.0

void gta.setTrafficEnabled(bool enabled)

The gta.setTrafficEnabled function is used to set the enabled status of vehicle traffic moving around on internal path data for the local client.

Parameters

1) bool enabled Whether vehicle traffic is to move around on internal path data for the local client.

Return

void This function doesn't return a value.

Notes

  • The traffic is not synchronised.

Examples

There aren't any examples for this function.

Compatibility

  • This function was previously named game.setTrafficEnabled in client version 1.0.71.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png gta.setCiviliansEnabled
icon-iii.png icon-vc.png icon-sa.png gta.setTrafficEnabled
icon-iii.png icon-vc.png icon-sa.png gta.trafficDensity