PlayPedScenario: Difference between revisions

From RAGE Multiplayer Wiki
(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...")
 
No edit summary
 
Line 1: Line 1:
{{Warning|This feature is currently not implemented server-side.}}
Makes the Ped play a scenario.
Makes the Ped play a scenario.



Latest revision as of 15:09, 23 December 2022

This feature is currently not implemented server-side.

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