SA-MP Forums Archive
Actor Can't Apply Animations - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Actor Can't Apply Animations (/showthread.php?tid=601896)



Actor Can't Apply Animations - Amunra - 28.02.2016

I try to Make Actor In My Server But Actor Doesn't Apply The Animations .. Whats Wrong ?

I Follow This Instruction (Wiki Samp - Apply Actor Anim)

PHP код:
new ACTOR1;
public 
OnFilterScriptInit()
{
    
ACTOR1 CreateActor(246,-2050.2026,232.0027,35.4254,0);
    
ApplyActorAnimation(ACTOR1,"STRIP""strip_E"4.100000);
    return 
1;

Anyway Thanks


Re: Actor Can't Apply Animations - Amunra - 28.02.2016

Anyone ?
Bump


Re: Actor Can't Apply Animations - K0P - 28.02.2016

You are setting the time to 0
Try this
Код:
    ApplyActorAnimation(ACTOR1,"STRIP", "strip_E", 4.1, 0, 0, 0, 0, 1000*60); //Play the animation for 1 min



Re: Actor Can't Apply Animations - Amunra - 29.02.2016

Quote:
Originally Posted by K0P
Посмотреть сообщение
You are setting the time to 0
Try this
Код:
    ApplyActorAnimation(ACTOR1,"STRIP", "strip_E", 4.1, 0, 0, 0, 0, 1000*60); //Play the animation for 1 min
https://sampwiki.blast.hk/wiki/ApplyActorAnimation
I Read from Wiki SA-MP and Wiki Sa-mp Said :
Quote:

time Timer in milliseconds. For a never-ending loop it should be 0.

I Want to Make Actor Never Stop Anim


Re: Actor Can't Apply Animations - itsCody - 29.02.2016

Preload the anims for the actors.


Re: Actor Can't Apply Animations - Amunra - 29.02.2016

Quote:
Originally Posted by itsCody
Посмотреть сообщение
Preload the anims for the actors.
What your Mean ?


Re: Actor Can't Apply Animations - ]Rafaellos[ - 29.02.2016

I think there is an issue so you can't apply animation to the first Actor. Create another one and check if it works on him.

At least, this is what I did when I had the same problem.


Re: Actor Can't Apply Animations - Amunra - 29.02.2016

Quote:
Originally Posted by ]Rafaellos[
Посмотреть сообщение
I think there is an issue so you can't apply animation to the first Actor. Create another one and check if it works on him.

At least, this is what I did when I had the same problem.
Trying


Re: Actor Can't Apply Animations - Amunra - 29.02.2016

Quote:
Originally Posted by ]Rafaellos[
Посмотреть сообщение
I think there is an issue so you can't apply animation to the first Actor. Create another one and check if it works on him.

At least, this is what I did when I had the same problem.
Same Thing -_-


Re: Actor Can't Apply Animations - ]Rafaellos[ - 29.02.2016

Show me the code.