Quantcast

Jump to content

» «
Photo

[Anims Native] Problem for some Anims

6 replies to this topic
Transmet
  • Transmet

    LS:MP Leader & Developper

  • Members
  • Joined: 01 Aug 2014
  • France

#1

Posted 08 May 2015 - 01:47 AM

Hi ,

 

I have a problem , i create a programm for regrouped all sets of dictionnary anims and rearranged ( 11976 sets anims ) for create a list for my Trainer but much anims do not work   :/

 

I do not know if it comes from my animations or native here is the code that I use for all the animations :

AI::TASK_PLAY_ANIM(PLAYER::PLAYER_PED_ID(), "[email protected][email protected]@exit", "exit", 8.0f, 0xC1000000, -1, 0, 0, 0, 0, 0);

Anyone know where it comes from ?

(Animations that work well are weapons animations, swimming and "reaction_guns.")

 

Thanks you for your answers , bro bro   :santa:


bugmanfr
  • bugmanfr

    Bugs is everywhere

  • Members
  • Joined: 27 Jun 2011
  • None

#2

Posted 08 May 2015 - 01:51 AM

I have the same problem, need help too  :panic:

  • Transmet likes this

ffzero58
  • ffzero58

    Ninjaneer

  • Members
  • Joined: 28 Feb 2009
  • None

#3

Posted 08 May 2015 - 01:03 PM

Same here as well - like 

AI::TASK_PLAY_ANIM(l_78, "missheist_agency2aig_2", "look_at_phone_c", 1000f, -8f, -1, 1, 0, 0, 0, 0);
AI::TASK_PLAY_ANIM(0, "[email protected][email protected]@[email protected]@enter", "enter", 4f, -4f, -1, 0, 0, 0, 0, 0);
AI::TASK_PLAY_ANIM(PLAYER::PLAYER_PED_ID(), "[email protected]_wrestling", sub_2F05D(num1016, "win_a_ped_a_face", "win_b_ped_a_face"), 4f, -4f, -1, 32, 0, 0, 0, 0);

I've been looking through the decompiled scripts and it all seems straight forward but it seems we're missing the key to trigger all of these animations.


kallas
  • kallas

    Player Hater

  • Members
  • Joined: 25 Apr 2015
  • United-States

#4

Posted 08 May 2015 - 01:36 PM Edited by kallas, 08 May 2015 - 01:49 PM.

Seriously? I suggest you study the code more...

 

Anyhow, example:

STREAMING::REQUEST_ANIM_DICT("[email protected]");
while (!STREAMING::HAS_ANIM_DICT_LOADED("[email protected]")){
WAIT(0);
}
 
AI::TASK_PLAY_ANIM(PLAYER::PLAYER_PED_ID(), "[email protected]", "kneeling_arrest_idle", 8.0f, 0.0f, -1, 9, 0, 0, 0, 0);

EDIT:

Make sure to load the correct dict and give it time to load, then call an anim in the dict.

  • Transmet likes this

Transmet
  • Transmet

    LS:MP Leader & Developper

  • Members
  • Joined: 01 Aug 2014
  • France

#5

Posted 08 May 2015 - 05:51 PM

Seriously? I suggest you study the code more...

 

Anyhow, example:

STREAMING::REQUEST_ANIM_DICT("[email protected]");
while (!STREAMING::HAS_ANIM_DICT_LOADED("[email protected]")){
WAIT(0);
}
 
AI::TASK_PLAY_ANIM(PLAYER::PLAYER_PED_ID(), "[email protected]", "kneeling_arrest_idle", 8.0f, 0.0f, -1, 9, 0, 0, 0, 0);

EDIT:

Make sure to load the correct dict and give it time to load, then call an anim in the dict.

 

Nice job !

Thanks bro !  :lol:   :santa:


Swarm96
  • Swarm96

    Player Hater

  • Members
  • Joined: 25 Apr 2015
  • Canada

#6

Posted 09 May 2015 - 07:17 AM Edited by Swarm96, 09 May 2015 - 07:37 AM.

Any idea where I can find a list of animations? I'm looking for lester's dance in this video 


Maximus_
  • Maximus_

    Square Civilian

  • Members
  • Joined: 04 Nov 2013
  • United-States

#7

Posted 09 May 2015 - 01:07 PM

Any idea where I can find a list of animations? I'm looking for lester's dance in this video 

in the description it says this was made using the endeavor mod. Do they mean the endeavor mod menu?  





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users