gta.setTrafficEnabled: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Latest revision as of 18:27, 4 October 2019
Function
Client Only
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
gta.setCiviliansEnabled
gta.setTrafficEnabled
gta.trafficDensity