Jump to content

TASK_GRAPPLE


Native Details

  • NameTASK_GRAPPLE
  • NamespaceTASK
  • Native Hash0x779A2FFACEFAEA7B
  • TypeBOOL
  • First seen version1207

Native Parameters

  • Parameter 0Ped attacker
  • Parameter 1Ped target
  • Parameter 2Hash p2
    Some kind of hash or enum, maybe for animal / human attack.
  • Parameter 3BOOL unk1
  • Parameter 4float speed
    1 = Walk, 2 = Run, 3 = Sprint
  • Parameter 5BOOL p5
    Unknown, no difference for what I've seen
  • Parameter 6Hash p6
    Some kind of hash, 0 should works

DESCRIPTION

Makes the attacker ped to grab and beat the victim to death. 

If he has any melee weapon equiped, he will use it.


CODE EXAMPLE

AI::TASK_GRAPPLE(ped, target, 0, 1, 2.0f, 1, 0); // this line makes the ped run towards the target, grab him  and beat him

User Feedback

Recommended Comments

There are no comments to display.



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