This is the code:
if IsButtonPressed(0, 0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")
end
You can change the first number in (0, 0) if you want to use a different button.
(0, 0) = left arrow
(1, 0) = right arrow
(14, 0) = X
(15, 0) = C
This is the powerbomb animation:
"/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act"
You can look for animations in act.img if you want to change it.
if you want 2 animations in 2 different buttons then do this:
if IsButtonPressed(0, 0) then
PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/PowerBomb", "Globals/BOSS_Russell.act")
elseif IsButtonPressed(1, 0) then
PedSetActionNode(gPlayer, "/Global/G_Johnny/Cinematic/ThroatGrab", "Act/Anim/G_Johnny.act")
end
You may also add this to your code:
LoadAnimationGroup("Russell")
If you don't add that, then Jimmy will open his arms because the animation is missing.