Skip to main content

Ped::setScenarioPedsToBeReturnedByNextCommand

Sets a value indicating whether scenario peds should be returned by the next call to a command that returns peds. Eg. GET_CLOSEST_PED.

Syntax

```js mp.game.ped.setScenarioPedsToBeReturnedByNextCommand(value); ```

Required Arguments

  • value: Boolean

Return value

  • Undefined

Example

```js // todo ```

See also