Jump to content
  • 0

ApplyAnimation


Guest Alxxie

Question

Pentru animatii este functia:

ApplyAnimation(playerid, animlib[], animname[], Float:fS, opt1, opt2, opt3, opt4, opt5)

playerid, animlib, animname si Float:fS stiu ce semnifica.

Dar ce inseamna(explicati-mi ce face fiecare):

opt1

opt2

opt3

opt4

opt5

P.S M-am uitat pe wiki.sa-mp.com dar nu am inteles...

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest Mariachi

ApplyAnimation

Aplica o animatie unui player

Parametri:

(playerid, animlib[], animname[], Float:fS, opt1, opt2, opt3, opt4, opt5)

playerid The id of the player to apply the animation to.

opt1 Loop 0/1. Adica daca sa se repete sau sa fie o singura data.

opt2 This can be named LockX. This basically stores the player position when they perform an animation that requires them to move. When the animation is done, it puts them back to their original position before the animation started, if set to 0. Opposite effect if it's set to 1.

opt3 This can be named LockY. This basically stores the player position when they perform an animation that requires them to move. When the animation is done, it puts them back to their original position before the animation started, if set to 0. Opposite effect if it's set to 1.

opt4 Will freeze the player in the position the animation finishes.

opt5 Timer in millisecconds. For a never ending loop it should be 0.

Eu zic ca e pe intelesul tuturor, dar uite traducerea.

opt1 - 0/1. Daca vrei sa se repete sau sa fie o singura data.

opt2 - Cum zice si mai sus stocheaza X-ul playerului atunci cand acesta foloseste anim-ul. De ce ? Pentru ca in unele animuri playerul se deplaseaza de la locul initial.

opt3 - Stocheaza Y-ul playerului.

opt4 - Blocheaza playerul pe toata durata anim-ului.

opt5 - Durata anim-ului in milisecunde.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.