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

PlayPedScenario

Материал из RAGE MP Wiki Archive
Версия от 15:09, 23 декабря 2022; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Makes the Ped play a scenario.


<syntaxhighlight lang="csharp">void NAPI.Ped.PlayPedScenario(Ped ped, string scenario);</syntaxhighlight>

Parameters

  • ped: The Ped playing the scenario.
  • scenario: The name of the scenario to play.


Example

<syntaxhighlight lang="csharp"> // Code here... </syntaxhighlight>