Update client.lua

This commit is contained in:
ethancantcode 2020-04-16 18:43:02 -07:00 committed by GitHub
parent f0af1afc29
commit 3eb8068628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlPressed(1, 73 --[[ "x" key ]]) then
-- https://runtime.fivem.net/doc/natives/#_0xAE99FB955581844A
if IsControlPressed(1, 303 --[[ "u" key ]]) then
SetPedToRagdoll(GetPlayerPed(-1), 1000, 1000, 0, true, true, false)
end
end