gta.setCiviliansEnabled
Function
Client Only
Online and Offline
Available since Client 1.0.0
void gta.setCiviliansEnabled(bool enabled)
The gta.setCiviliansEnabled function is used to set the enabled status of civilians moving around on internal path data for the local client.
Parameters
1) | bool | enabled | Whether civilians are to move around on internal path data for the local client. |
Return
void | This function doesn't return a value. |
Notes
- The civilians are not synchronised.
Examples
There aren't any examples for this function.
Compatibility
- This function was previously named
game.setCiviliansEnabled
in client version 1.0.71.
Related
Client Related
gta.setCiviliansEnabled
gta.setTrafficEnabled
gta.trafficDensity