Skip to main content

AreaClearAllPeds

Description​

Removes all ambient pedestrians in the area. Note that this does not clear mission-specific peds—only those not marked as mission-critical. Pedestrians created by scripts won’t be deleted unless they have been marked with PedMakeAmbient.

function AreaClearAllPeds() --[[ ... ]] end

Parameters​

None.

Return Values​

None.

Example​

None.