Jump to content

CREATE_PICKUP


Native Details

  • NameCREATE_PICKUP
  • NamespaceOBJECT
  • Native Hash0xFBA08C503DD5FA58
  • TypePickup
  • First seen version1207

Native Parameters

  • Parameter 0Hash pickupHash
  • Parameter 1float x
  • Parameter 2Any p10
  • Parameter 3float y
  • Parameter 4float z
  • Parameter 5int flags
  • Parameter 6int value
    Like amount of money
  • Parameter 7BOOL p6
  • Parameter 8Hash modelHash
  • Parameter 9int p8

DESCRIPTION

There is no description yet for this native, why not edit it and add one?

CODE EXAMPLE

Vector3 pos = GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS(PLAYER_PED_ID(), 0, 3, 0);
Hash pickup_type = GET_HASH_KEY("PICKUP_HEALTH_STANDARD"); //All pickups names: https://tinyurl.com/vfmkuzy8
int blabla = CREATE_PICKUP(pickup_type, pos.x, pos.y, pos.z, false, 0, 0, 0, 0, 0.0, 0);

User Feedback

Recommended Comments

Shabbat

Posted

 

Parameter5 int flags

it seems like  it places pickup onto ground (0 = object is on a ground, 1 =  placed by the given coords)



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

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Red Dead Redemption 2 Native Database by www.mod-rdr.com, includes contributions by gudmunduro and alloc8or.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...