Do you mean how everyone can use the fighting styles strafes rather than the cheering/spectating fight strafes?
No i mean, how to make jimmy or gPlayer can do other fighting style strafe,like
P_striker_a,g_striker_a, and etc.
Here's a example just copy and paste in ur luascript if u don't have it
elseif IsButtonPressed(10,0) and IsMoving() and not isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionNode(gPlayer,"/Global/P_Striker_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/P_Striker_A.act")
isStrafing = true
elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionTree(gPlayer,"/Global/P_Striker_A", "Act/Anim/P_Striker_A.act")
isStrafing = false
elseif isStrafing then
local x,y,z = PedGetPosXYZ(PedGetTargetPed())
PedFaceXYZ(gPlayer,x,y,z)
end
UpdateTextQueue()
Wait(0)
end
end
IsMoving = function()
local s = 0.08
return GetStickValue(16,0) > s or GetStickValue(16,0) < -s or GetStickValue(17,0) > s or GetStickValue(17,0) < -s
end
If you want to change other strafes just edit this
PedSetActionNode(gPlayer,"/Global
/P_Striker_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/
P_Striker_A.act")
isStrafing = true
elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionTree(gPlayer,"/Global/
P_Striker_A", "Act/Anim/
P_Striker_A.act")
Just change P_Striker_A to G_Striker_A or other styles
The first line is the strafe the second line if you use Nemesis style then you strafe it will has a anthoer styles (i'm bad at English forgive me)