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​

mp.game.ped.setScenarioPedsToBeReturnedByNextCommand(value);

Required Arguments​

  • value: Boolean

Return value​

  • Undefined

Example​

// todo