Skip to main content

PlayPedScenario

This feature is currently not implemented server-side.

Makes the Ped play a scenario.

C#​

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