Help Animations

Kriso_Anderson

Active member
Joined
Apr 27, 2014
Messages
56
Reaction score
1
I trying to make /getanimid cmd to show me what animations is player using but its notworking

0AC8: 30@ = allocate_memory_size 260
0AC8: 31@ = allocate_memory_size 260
0B57: samp 32@ = player $PLAYER_ACTOR animation_id
0B58: samp get_animation_name_to 30@ file_to 31@ by_id 32@
chatmsg "%s %s" -1 30@ 31@
0AC9: free_allocated_memory 30@
0AC9: free_allocated_memory 31@
 

GoodMan

Active member
Joined
Jun 4, 2014
Messages
144
Reaction score
0
i had the same problem when i tried to get other players animations, it never worked but for main actor. the only solution i found is to check if player is performing animation and then draw a format with that animation name.
i'll give you a piece from my personal project, figure out how you can adapt it to your script. it contains 12k lines, with ALL animation names.
 

Attachments

  • ugbase.txt
    232.3 KB · Views: 2
Top