PlayPedScenario

From RAGE Multiplayer Wiki
Revision as of 09:10, 29 November 2019 by Xabi (talk | contribs) (Created page with "Makes the Ped play a scenario. {{CSharpContainer| {{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Ped.PlayPedScenario(Ped ped, string scenario);|lang=csh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Makes the Ped play a scenario.


C# Syntax

void NAPI.Ped.PlayPedScenario(Ped ped, string scenario);

Parameters

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


Example

// Code here...