Перейти к содержанию

Ped::setScenarioPedsToBeReturnedByNextCommand

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">mp.game.ped.setScenarioPedsToBeReturnedByNextCommand(value);</syntaxhighlight>

Required Arguments

  • value: Boolean

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also