Changed The Key From X To U

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

View File

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