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

Ped::setScenarioPedsToBeReturnedByNextCommand

Материал из RAGE MP Wiki Archive
Версия от 21:29, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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