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

PlayPedScenario

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

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>