srh Posted August 28, 2018 Posted August 28, 2018 mp.events.add('peds', () => { Ped = mp.peds.new(mp.game.joaat('MP_F_Freemode_01'), new mp.Vector3( mp.players.local.position.x,mp.players.local.position.y,mp.players.local.position.z), mp.players.local.getHeading(), (streamPed) => { }, mp.players.local.dimension); Ped.taskPlayAnim("random@shop_gunstore","_greeting", 1.0, -1.0, 4000, 0, 1, true, true, true); }); The NPC spawn normally, but the animation does not work. What could be the problem ?
kemperrr Posted August 28, 2018 Posted August 28, 2018 before playing animation u need request them https://wiki.rage.mp/index.php?title=Streaming::requestAnimDict
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