gta.setCiviliansEnabled

From GTA Connected
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.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

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