Skip to content

Instantly share code, notes, and snippets.

@SamShanks1
Created October 12, 2022 21:48
Show Gist options
  • Select an option

  • Save SamShanks1/3a4d74c9fd24fc7fee5be3e1c1768bad to your computer and use it in GitHub Desktop.

Select an option

Save SamShanks1/3a4d74c9fd24fc7fee5be3e1c1768bad to your computer and use it in GitHub Desktop.
FiveM Disable stealth one punch knockout
while true do
if GetPedStealthMovement(PlayerPedId()) then
SetPedStealthMovement(PlayerPedId(), 0)
end
wait(1)
end
@MrTurn1p73
Copy link

while true do
    if GetPedStealthMovement(PlayerPedId()) then
        SetPedStealthMovement(PlayerPedId(), 0)
    end
    Wait(1) -- Capital W!
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment