Jump to content

Recommended Posts

Posted
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 ?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...