bazante 0 Posted January 27, 2023 Share Posted January 27, 2023 Hello guys, i'm trying to make an script to give items and get wich item the player used. Yours know if exists some natives how do that? And if yes can explain how they work? Quote Link to comment Share on other sites More sharing options...
SteveOhByte 17 Posted February 2, 2023 Share Posted February 2, 2023 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. Quote 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 More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.