Jump to content
RAGE Multiplayer Community

How to give a weapon to ped?


linnik
 Share

Recommended Posts

Note you have to do this every time you stream the ped in, also you can only do this IF the ped exists. (Ped.doesExist())

mp.game.invoke("0xBF0FD6E56C964FCB", Ped.handle,  mp.game.joaat("weapon_SpecialCarbine"), 100, 0, 1);

 

And to unfreeze;

mp.game.invoke("0x428CA6DBD1094446", Ped.handle, 0);

Edited by notsosmart
Link to comment
Share on other sites

3 hours ago, notsosmart said:

Note you have to do this every time you stream the ped in, also you can only do this IF the ped exists. (Ped.doesExist())

mp.game.invoke("0xBF0FD6E56C964FCB", Ped.handle,  mp.game.joaat("weapon_SpecialCarbine"), 100, 0, 1);

 

And to unfreeze;

mp.game.invoke("0x428CA6DBD1094446", Ped.handle, 0);

entity.freezePosition(false); should work on peds, wouldn't need to use the native.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...