linnik 2 Posted August 9, 2018 Hello, how to give a wepon to ped? Share this post Link to post Share on other sites
Joshua 169 Posted August 9, 2018 Here, https://wiki.rage.mp/index.php?title=Player::giveWeapon. 1 Share this post Link to post Share on other sites
linnik 2 Posted August 9, 2018 (edited) 6 минут назад, Joshua сказал: Here, https://wiki.rage.mp/index.php?title=Player::giveWeapon. I haven't had found this function in Client-side functions. Do you also know how to make ped movable? Because now it's frozen by default. Ped.giveWeapon is not a function. Edited August 9, 2018 by linnik Share this post Link to post Share on other sites
MrPancakers 108 Posted August 13, 2018 Have you tried https://wiki.rage.mp/index.php?title=Weapon::giveWeaponObjectToPed Share this post Link to post Share on other sites
linnik 2 Posted August 18, 2018 В 14.08.2018 в 01:56, MrPancakers сказал: Have you tried https://wiki.rage.mp/index.php?title=Weapon::giveWeaponObjectToPed Yep, no effect. Share this post Link to post Share on other sites
notsosmart 51 Posted August 21, 2018 (edited) 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 August 21, 2018 by notsosmart Share this post Link to post Share on other sites
MrPancakers 108 Posted August 21, 2018 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. Share this post Link to post Share on other sites