1
News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..
Messages | Topics | Attachments
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
/Global/P_Striker_A/Defense/Evade/EvadeCounter
/Global/P_Striker_A/Defense/Evade/EvadeBack
F_Evade = function()
PedSetStatsType(gPlayer, "STAT_P_BOXING_Bif")
local Ped = PedGetTargetPed(gPlayer)
if IsButtonPressed(15,0) and PedIsValid(Ped) then
PlayerSetControl(0)
PedSetAITree(gPlayer,"/Global/AI", "Act/AI.act")
PedAttack(gPlayer, Ped, 1)
PedSetFaction(gPlayer, 5)
PedOverrideStat(gPlayer, 12, 0)
PedOverrideStat(gPlayer, 8, 0)
PedOverrideStat(gPlayer, 13, 100)
Wait(500)
PlayerSetControl(1)
PedSetAITree(gPlayer, "/Global/PlayerAI", "Act/PlayerAI.act")
PedMakeAmbient(gPlayer, false)
PedLockTarget(gPlayer, -1)
PedStop(gPlayer)
PedSetFaction(gPlayer, 13)
end
end