Jump to content

SET_PED_TO_RAGDOLL


Native Details

  • NameSET_PED_TO_RAGDOLL
  • NamespacePED
  • Native Hash0xAE99FB955581844A
  • TypeBOOL
  • First seen version1207

Native Parameters

  • Parameter 0Ped ped
  • Parameter 1int timeMin
  • Parameter 2int timeMax
  • Parameter 3int ragdollType
  • Parameter 4BOOL p4
    normally true
  • Parameter 5BOOL p5
    normally true
  • Parameter 6BOOL p6
    normally false

DESCRIPTION

Example use in C# by Hayden Almeida 🧲

public static void SetPedRagdoll(int ped, int RagdollType, int time_ms)
{
	API.SetPedToRagdoll(ped, time_ms, time_ms, RagdollType, true, true, false);
	//0=Normal ragdoll 1=Falls with stiff legs/body 2=stumble 3=wide leg stumble
}

 



User Feedback

Recommended Comments

klerta

Posted


This is from the gta 5 natives for the int ragdollType
0 : Normal ragdoll
1 : Falls with stiff legs/body
2 : Narrow leg
stumble(may not fall)
3 : Wide leg
stumble(may not fall)

  • Like 2


Join the conversation

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

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Red Dead Redemption 2 Native Database by www.mod-rdr.com, includes contributions by gudmunduro and alloc8or.

  • Recently Browsing   0 members

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