CreatePed

From RAGE Multiplayer Wiki
Revision as of 09:04, 29 November 2019 by Xabi (talk | contribs) (Created page with "Creates a new Ped. {{CSharpContainer| {{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Ped.CreatePed(PedHash model, Vector3 pos, float heading, uint dimen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates a new Ped.


C# Syntax

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