Jump to content

Help with animation


Tycka

Recommended Posts

Posted

Hello, when I start animation they didn't end, in mta 1.3 ist work correctly but in mta 1.4 animation didn't stop.

Code :

setPedAnimation(source, "VENDING", "VEND_Drink2_P", nil, false, false, nil, false) 

Dayz (y)

Posted
setPedAnimation(source, false) 
  
-- if you want the time to end after some time use : 
setTimer() 

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted

All of you din't see the arguments. Go to wiki instead of timer

  
seconds = 5 -- set your seconds 
setPedAnimation(source, "VENDING", "VEND_Drink2_P", seconds*1000, false, false, nil, false) 
  

Posted

I forget this :)

#include <iostream>

int main() {

    std::cout << "C++ is amazing <3" << std::endl;

    return 0;

}

I left MTA !... I m doing some tuts about (servers and scripting here) subscribe please

Posted
All of you din't see the arguments. Go to wiki instead of timer
  
seconds = 5 -- set your seconds 
setPedAnimation(source, "VENDING", "VEND_Drink2_P", seconds*1000, false, false, nil, false) 
  

Thanks for help :)

Dayz (y)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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