JaysKneel
RP command for civs to get down on there knees. Made for FXServers.
Please let me know in the comments if any bugs occur.
Enjoy!
Features:
- Ability to kneel but still move if needed.
- Forces command author out of vehicle if they are in one.
- If command author is armed with anything other then fist script will forcibly drop gun before kneeling.
Installation:
- Place JaysKneel in resource folder.
- Start JaysKneel in your server.cfg.
- Type /k in game.
Download:
JaysKneel With Drop Gun
Github
Jays Kneel Without Drop Gun
Github
Video: https://youtu.be/QlSUt8FW9nc
Image:
Let me know what you think by leaving a heart!
19 Likes
Looks cool but a suggestion instead of teleporting out. You can make it get out normally and close door then do your animation. https://runtime.fivem.net/doc/natives/#_0xD3DBCE61A490BE02
1 Like
Can you credit the author of the drop gun script.
oi, its mine. he can use it, he is my friend. 
1 Like
Looks good going to add it to my server

1 Like
When I drop the weapon with 0 ammo, I take it again and ammo is added, could that be changed in any way?
Kato
10
I changed a little the script so that the person dosen’t drop the gun .
But now im trying to make so that if the person surrenders he can aim not shoot , but no luck
Hello sorry for the late response I have been really busy with work.
I will see what I can do about this. This happens because when you drop the gun it becomes a “pickup” and when you pickup the “pickup” its has a preset ammo count. I need to find a way to disable that. If anyone has any ideas or references that might work feel free to dm me. Thanks!
1 Like
That would fix the problem. For those wanting just the kneel That will be added to the post very soon.
1 Like
Nice script thx bro. Writing the command while in the game is a waste of time, instead I assigned the command key. You can add to client.lua who want to use.
Command Line:
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlJustPressed(1, 73) and IsControlPressed(1, 19) then
HandsupKneel()
end
end
end)
Register Command is more functional if you disable it.
Keys : Leftalt+X
3 Likes
Good job. @OgZn6155 You should zip it up and attach to your comment. therefore owners can use it in their servers.
I got a problem with the animation. When he puts the gun on the ground and puts his hands on his head, after 1 sec he puts his hands next to him. That happen only when you have a gun in your hand.
https://gyazo.com/f6a3ac71205a2e9dffc044f4438f68d6
it works just fine but when placing the weapon on the ground it will replace by other weapons you have anyway how to disable switch weapons ? thanks