CreatePed

From RAGE Multiplayer Wiki

Creates a new Ped.


C# Syntax

Ped NAPI.Ped.CreatePed(PedHash model, Vector3 pos, float heading, uint dimension = NAPI.GlobalDimension);

Parameters

  • model: The hash defining the Ped's model.
  • pos: The position where the Ped will be created.
  • heading: The angle the Ped will be looking to.
  • dimension: Optional, defaults to Global Dimension.


Example

// Code here...