RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _COUNT_PEDS_AWARE_OF_EVENT

_COUNT_PEDS_AWARE_OF_EVENT

Only used in SP Scripts counts how many peds that the ADD_SHOCKING_EVENT_FOR_ENTITY were add to based on position and radius, p0 is handleId from ADD_SHOCKING_EVENT_FOR_ENTITY p3 is a collection of entities where max is 15 (in source code), its using itemSet to get them from a volume this count seems to be used to add a task reactions etc to these peds

PEDBuild 1207

Signature

lua
CountPedsAwareOfEvent(0, 0.0, 0.0, 0.0, 0.0, entities)
-- returns int

Parameters

NameTypeDescription
ScrHandle—
float—
float—
float—
float—
int*—

Usage

lua
CountPedsAwareOfEvent(0, 0.0, 0.0, 0.0, 0.0, entities)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details