Joshua Posted August 9, 2018 Posted August 9, 2018 Here, https://wiki.rage.mp/index.php?title=Player::giveWeapon. 1
linnik Posted August 9, 2018 Author 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
MrPancakers Posted August 13, 2018 Posted August 13, 2018 Have you tried https://wiki.rage.mp/index.php?title=Weapon::giveWeaponObjectToPed
linnik Posted August 18, 2018 Author 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.
notsosmart Posted August 21, 2018 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
MrPancakers Posted August 21, 2018 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now