Author Topic: Animations  (Read 3628 times)

0 Members and 3 Guests are viewing this topic.

Offline OKStyle

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Animations
« on: January 23, 2010, 08:00:08 pm »
I'm trying use animation command, but it's don't return any result...
Code: [Select]
SetPlayerAnimation(playerid, anim);
I'm decompile main.scm of Vice-City and found some anims:
Quote
02E6: set_cutscene_anim $208 'AIRPLAN'
02E6: set_cutscene_anim $131 'BRFCASE'
02E6: set_cutscene_anim 7@ 'CGONA'
02E6: set_cutscene_anim $140 'COLPHON'
02E6: set_cutscene_anim $148 'CS_CHOP'
02E6: set_cutscene_anim 10@ 'CSALSB'
02E6: set_cutscene_anim $145 'CSASSA'
02E6: set_cutscene_anim $146 'CSASSB'
02E6: set_cutscene_anim $147 'CSASSC'
02E6: set_cutscene_anim $149 'CSAVERY'
02E6: set_cutscene_anim $177 'CSBJ'
02E6: set_cutscene_anim $165 'CSCANDY'
02E6: set_cutscene_anim $150 'CSCOLO'
02E6: set_cutscene_anim $143 'CSDEAL'
etc.

What anim? Library or numbers? I think, this command must be modificated like fo SA-MP, but some coordintates are not necessary:
Code: [Select]
ApplyAnimation(playerid,"anim_library","anim_name");
Also i found in script anims by numbers, but in game it's not give a result.

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: Animations
« Reply #1 on: January 23, 2010, 08:35:06 pm »

Offline OKStyle

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Re: Animations
« Reply #2 on: January 24, 2010, 08:12:29 am »
Thanks... Should I loaded library of animations before to use a command? Command has no effect.
« Last Edit: January 24, 2010, 08:58:39 am by OKStyle »

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: Animations
« Reply #3 on: January 24, 2010, 05:55:35 pm »
nothing needed for it, just playerdid and the number ;)

Offline OKStyle

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Re: Animations
« Reply #4 on: January 25, 2010, 08:45:25 pm »
nothing needed for it, just playerdid and the number ;)
Captain Evidence ;) Strange but any animation has not worked ???