This repository has been archived on 2022-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
ragdoll-keybind/client.lua

10 lines
325 B
Lua
Raw Permalink Normal View History

2020-03-26 23:26:31 -07:00
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
2020-04-16 18:43:02 -07:00
if IsControlPressed(1, 303 --[[ "u" key ]]) then
2020-04-16 18:44:14 -07:00
-- https://runtime.fivem.net/doc/natives/#_0xAE99FB955581844A
2020-03-26 23:26:31 -07:00
SetPedToRagdoll(GetPlayerPed(-1), 1000, 1000, 0, true, true, false)
end
end
end)