Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do i play some animations, where can i find a solid list?

Featured Replies

Some time ago i needed to play an somking animation. I quickly found how to play ANY animation.

But i didnt know which one is the right one.

I found the list in rph docs but it was just names in code.

 

Where is a good animation list?

Can somebody explain how to play an animation, what argument do, how long will it play etc.

by xTagz_

On 1/5/2024 at 9:10 PM, xTagz said:

Where is a good animation list?

I only know this one
https://docs.ragepluginhook.net/html/62951c37-a440-478c-b389-c471230ddfc5.htm#amb@code_human_cower@female@enterSection

 

On 1/5/2024 at 9:10 PM, xTagz said:

explain how to play an animation

This will fetch the nearest Ped and make it strike a pose looping, if D3 is pressed
if (Game.IsKeyDown(System.Windows.Forms.Keys.D3))
{
  Ped[] pGrp = Game.LocalPlayer.Character.GetNearbyPeds(1);
  if (pGrp[0])
  {
      Ped dancer = pGrp[0];
      dancer.BlockPermanentEvents = true;
      dancer.Tasks.PlayAnimation(
      "amb@world_human_prostitute@hooker@idle_a",
      "idle_a",
      -1f,
      AnimationFlags.Loop);
      dancer.KeepTasks = true;
  }

Analysis:
From the list i linked we have

amb@world_human_prostitute@hooker@idle_a

idle_a

idle_b

idle_c

idle_d
So in Default GTAV there is a folder named

amb@world_human_prostitute@hooker@idle_a
Inside that folder there are 4 animations
idle_a.._d

-1 is timeout == never

AnimationFlags.Loop

is one of several flags-See them via Intellisence

There are overloads for starting and stopping animation, blendin , blendout in msecd
Also see Intellisence for these

 

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.