Jump to content
RAGE Multiplayer Community

Recommended Posts


Hello everyone, help me find the animation I need animation on pressing a keychain and on a handshake.

Write a script for these animations,  please.

Link to post
Share on other sites
  • 2 months later...

Hey Buddy, you need to use some flags to handle any animation normally that you choose and you can use this scripts for Server-Side and Client-Side with Keybinds.

--------------------------	Add this script to your Server-Side (C#)	--------------------------
using System;
using System.Collections.Generic;
using System.Text;
using GTANetworkAPI;

namespace Roleplay.Animations
    class Animations : Script
      	/// You should add these flags to your script
        public enum AnimationFlags
            Loop = 1 << 0,
            StopOnLastFrame = 1 << 1,
            OnlyAnimateUpperBody = 1 << 4,
            AllowPlayerControl = 1 << 5,
            Cancellable = 1 << 7
      /// Start Animation with Numpad " 1 "
      public void FingerPointAnimation(Client client)
        NAPI.Player.PlayPlayerAnimation(client, (int)(AnimationFlags.Loop | AnimationFlags.OnlyAnimateUpperBody |AnimationFlags.AllowPlayerControl), "[email protected]@[email protected]", "gesture_point");
      /// Stop Animation with Numpad " 0 "
      public void StopAnimation(Client client)

--------------------------	Add this script to your Client-Side (js)	--------------------------

mp.keys.bind(0x61, true, function() {
    mp.events.callRemote("OnPlayerFingerPoint"); // Numb = 1

mp.keys.bind(0x60, true, function() {
    mp.events.callRemote("OnPlayerStopAnimation"); // Numb = 0

make index.js file then paste js script to your Client-Side, Don't forget to save " require('./index.js') " to your main index file for recognize your source.

You can use Call Remote to call animation that you want to use simply.


Also you can Download a txt file have source of GTA V animations.

here is the link: https://easyupload.io/gbtybz

Edited by LT.Steiner
Link to post
Share on other sites

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...