Jump to content
View in the app

A better way to browse. Learn more.

RDR2Mods.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Native Details

Name
CREATE_PED
Namespace
PED
Native Hash0xD49F9B0955C367DE
TypePed
First seen version1207

DESCRIPTION

Creates a Ped at the specified position with the model hash and heading provided.  Note that you should ensure the model is loaded beforehand.


CODE EXAMPLE

pedHandle = CREATE_PED(0x93B09465, -305.8457, 792.7352, 118.0212, 45.0, false, false, 0);
if (DOES_ENTITY_EXIST(pedHandle)) { ...

Native Parameters

  • Parameter 0
    Hash modelHash
    Hashed model name of the ped, must be loaded first or function won't work!
  • Parameter 1
    float x
    The x coordinate to spawn the Ped at.
  • Parameter 2
    float y
    The y coordinate to spawn the Ped at.
  • Parameter 3
    float z
    The z coordinate to spawn the Ped at.
  • Parameter 4
    float heading
    The angle in degrees to spawn the Ped facing.
  • Parameter 5
    BOOL isNetwork
    Unused, keep as false.
  • Parameter 6
    Unknown, keep as false.
  • Parameter 7
    Any p8
    Unknown, use 0.
  • Parameter 8
    BOOL p8

User Feedback

Recommended Comments

Tryall

Members

Use REQUEST_MODEL (native function 0xFA28FE3A6246FC30) to load the ped model first.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

Recently Browsing 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.