Jump to content

Item Natives For Give and Wich Using


bazante
 Share

Recommended Posts

Giving a player weapons can be accomplished like this:

Ped ped = new Ped("PED_MODEL_HERE"), new Vector3(100f, 100f, 100f), 100f);
ped.TempEnsureWeapon(WeaponHash.RevolverDoubleAction, -1, true);

For items, I think you should look through the NativeDB on this site searching for the "item" keyword.

This one looks promising, but there really isn't all that much documentation for red dead natives yet, so it will require trial and error to find exactly which native you want.

 

Everyone wants happiness, no one wants pain. But you can't have a rainbow, without a little rain.

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

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

 Share

×
×
  • Create New...