UseScriptCamForAmbientPopulationOriginThisFrame
DocsUseScriptCamForAmbientPopulationOriginThisFrame(vehicles, peds)Description
Sets the ambient ped & vehicle population spawning origin to be based around the active scripted camera for this frame
This will prevent vehicles from being created close to the camera and/or on-screen
Parameters
| Name | Type | Description |
|---|---|---|
vehicles | BOOL | — |
peds | BOOL | — |
Returns
voidThis native does not return a value.