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

PlayPedScenario

Материал из RAGE MP Wiki Archive
This feature is currently not implemented server-side.

Makes the Ped play a scenario.


C# Syntax

<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>