Press U
Please remark any bugs or requests!
Thanks To @Kattrigerkatta for doing the important thing mapping!
Code is accessible | Sure |
Subscription-based | No |
Strains (roughly) | 17 |
Necessities | Standalone |
Help | Sure |
1 Like
That is very unperformant. I might recommend investigating key mapping to mitigate the pointless use of two threads.
thanks, unwell look into that hyperlink! Vry new to scripting
shopper.lua
native ragdoll = false
Citizen.CreateThread(operate()
whereas true do
if ragdoll then
SetPedToRagdoll(PlayerPedId(), 1000, 1000, 0, 0, 0, 0)
else
Citizen.Wait(800)
finish
Citizen.Wait(0)
finish
finish)
RegisterCommand('ragdoll', operate()
ragdoll = not ragdoll
finish)
RegisterKeyMapping('ragdoll', 'Toggle ragdoll mode', 'keyboard', 'U')
1 Like
properly thanks for doing it for me lol I up to date the file!
1 Like