OutPut Posted February 26, 2017 Share Posted February 26, 2017 I want to disable some animations Link to comment
keymetaphore Posted February 26, 2017 Share Posted February 26, 2017 Give more information. What animations? Did you mean - stop them? To prevent an animation from running just remove it from the code that runs it. Link to comment
Reinhard Posted February 26, 2017 Share Posted February 26, 2017 if you're talking about a ped's animation. setPedAnimation ( theElement, false ) Link to comment
OutPut Posted February 26, 2017 Author Share Posted February 26, 2017 2 hours ago, Gourmet. said: Give more information. What animations? Did you mean - stop them? To prevent an animation from running just remove it from the code that runs it. anim finale fin_jump_on Dam_JUMP DAM_Land I want to completely remove it Link to comment
keymetaphore Posted February 26, 2017 Share Posted February 26, 2017 (edited) Just don't trigger it from script. Do you have some kind of /animselect script that's leaked from OwlGaming? @OutPut Edited February 26, 2017 by Gourmet. Link to comment
OutPut Posted February 27, 2017 Author Share Posted February 27, 2017 @Gourmet. bind key anim animname Can be done with completely disabled key Link to comment
Reinhard Posted February 27, 2017 Share Posted February 27, 2017 just remove <anim name =" animation" /> line. if u want to remove a certain animation. Link to comment
OutPut Posted February 27, 2017 Author Share Posted February 27, 2017 10 minutes ago, Reinhard said: just remove <anim name =" animation" /> line. if u want to remove a certain animation. bind key anim animname. Link to comment
keymetaphore Posted March 1, 2017 Share Posted March 1, 2017 On 2/27/2017 at 06:43, OutPut said: @Gourmet. bind key anim animname Can be done with completely disabled key Stop stealing owlgaming scripts and you'll be fine. Link to comment
Moderators Citizen Posted March 1, 2017 Moderators Share Posted March 1, 2017 (edited) 7 hours ago, Gourmet. said: Stop stealing owlgaming scripts and you'll be fine. Or maybe he is just talking about the freeroam resource ? Check your facts before going into steal accusations Also, as I doubt you are part of the owlgaming dev group, how do you know there is that file in their gamemode ? Edited March 2, 2017 by Citizen 1 Link to comment
keymetaphore Posted March 2, 2017 Share Posted March 2, 2017 13 hours ago, Citizen said: Or maybe he is just talking about the freeroam resource ? Check your facts before going into steal accusations Also, as I doubt you are part of the owlgaming dev group, how do you know there is that file in their gamemode ? 21 hours ago, Gourmet. said: Stop stealing owlgaming scripts and you'll be fine. Sorry mate, I forgot that it's in freeroam, when I didn't know anything I just downloaded the leaked gamemode(im dumb) and checked those files, that's why I thought it's from owl. Link to comment
Moderators Citizen Posted March 2, 2017 Moderators Share Posted March 2, 2017 Downloading scripts from others is a good way to learn MTA scripting by concrete examples but as you should limit yourself to only publicly released scripts/gamemodes you can learn some bad practices. Inspecting how the default resources work is a really good way to learn how to code from simple scripts to more advanced ones. If you are more into RP gamemodes you can check those gamemodes out: MTA Paradise from Mabako: https://github.com/mabako/mta-paradise MTA Fairplay from SocialZ (this is my fork before it got removed): https://github.com/Citizen01/lua-mta-fairplay Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now