Giter Club home page Giter Club logo

mth-animations's Introduction

Description ๐Ÿ“ƒ :

๐Ÿ‘‹ Hey guys, I've always wanted to easily test the animations in FiveM and I never really found the script that fits the purpose, so I decided to make my own and today I'm releasing it for free!

This script has been updated for gamebuild mp2023_01 / b2944 / San Andreas Mercenaries thanks to TayMcKenzieNZ for the pull request.

Animations found by DurtyFree gta v data dumps.


Usage ๐Ÿ› ๏ธ :

To use the resource, download it, put the mth-animations folder in your main resources folder. Add start mth-animations to your server.cfg. Then, once you're in game, use the command /animations to toggle the menu.


Config.lua:

By changing this to true will make the /animations command only accessible for server admins.

Config.AdminOnly = false 

Features โœจ :

  • Accessible json file for all animations dict and names
  • Search button to specify what you're looking for
  • STANDALONE : this means that you don't need any dependencies to start this script on your server
  • Change permissions of the command
  • Up to date animations list
  • Easy to use

Demo ๐Ÿ‘€ :

๐ŸŽฅ Video: https://streamable.com/yfl6us

Feel free to open an Issue or make a PR to help me improve this resource !

mth-animations's People

Contributors

mathu-lmn avatar mrmrvls avatar taymckenzienz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mth-animations's Issues

Animations From All Gamebuilds

Hey, awesome work! Sorry, not a issue but you can use this GitHub page to find all animation directories and names up to the latest gamebuild, and then in the code, I believe if you add DoesAnimDictExist what'll happen is, if a server isn't on the latest gamebuild, animations from a higher gamebuild, won't appear in the menu; something like this:

function LoadAnim(dict)
    if not DoesAnimDictExist(dict) then
        return false
    end

    while not HasAnimDictLoaded(dict) do
        RequestAnimDict(dict)
        Wait(10)
    end

    return true
end

Also make sure to credit @DurtyFree for the GitHub page thing ๐Ÿ™‚

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.