Neru
May 24, 2020, 1:58pm
1
Hello
Looking for the resource where when you press Z, you fall down.
It’s become a running joke in my friend group and I want to add it to my server.
Thanks in advance!
All you need to do is search “ragdoll”
While on foot, press and hold U to ragdoll (or using a controller, UP on the D-Pad), release to stand back up. This script is meant to replace the ragdoll option on the Enhanced Reborn Trainer as that one is not synced for all players (yet!).
client.lua
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlPressed(1, 303) then
SetPedToRagdoll(GetPlayerPed(-1), 1000, 1000, 0, 0, 0, 0)
end
end
end)
__resource.lua
client_script 'client.lua'
So here’s a script that … toggles Ragdoll obviously.
There are 2 versions
One of them require you to type /rag in chat to toggle the script
The other can be toggled by pressing the key (U)
DOWNLOAD
Ragdoll Toggle via key "U"
Ragdoll Toggle via cmd “/rag”
OR
_resource.lua
-- Toggle Ragdoll written by JAF
-- Made for www.lacountyrp.com
-- Version 1.0.0
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
-- Add a client script
client_script 'client.lua'
(Toggle Via Key “U”…
[rag]
Really simple ragdoll script. You can activate it with H and cancel with E.
Video
Ped-Ragdol.7z (1.1 KB)
client.lua
> local Keys = {
> ["ESC"] = 322, ["F1"] = 288, ["F2"] = 289, ["F3"] = 170, ["F5"] = 166, ["F6"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["F10"] = 57,
> ["~"] = 243, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165, ["6"] = 159, ["7"] = 161, ["8"] = 162, ["9"] = 163, ["-"] = 84, ["="] = 83, ["BACKSPACE"] = 177,
> ["TAB"] = 37, ["Q"] =…
You can easily change the keybindings to your liking, and if you use things like Lambda menu you can enable keybindings and ragdoll using that I believe.
system
Closed
June 23, 2020, 3:11pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.