PED

CREATE_RANDOM_PED

0xB4AC7D0CF06BFE8F Jenkins: 0x5A949543

Signature

// PED
Ped CREATE_RANDOM_PED(float posX, float posY, float posZ)

Parameters

Type Name
float posX
float posY
float posZ

Return type Ped

Build 323

Documentation

vb.net Dim ped_handle As Integer With Game.Player.Character Dim pos As Vector3 = .Position + .ForwardVector * 3 ped_handle = Native.Function.Call(Of Integer)(Hash.CREATE_RANDOM_PED, pos.X, pos.Y, pos.Z) End With Creates a Ped at the specified location, returns the Ped Handle. Ped will not act until SET_PED_AS_NO_LONGER_NEEDED is called.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.