Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 mods.
Ares Online

Ares

vFivem Founder
Head Admin
May 6, 2021
548
27,959
411
root
hello vag forum users, I will tell you the solution to a problem I encountered today. The players on the server were giving the engine a separate helmet when they knew it, so I used a code block to prevent this and I wanted to share it with you, I hope it will be useful for you.


#It will be enough to paste the code I gave below into any client.lua



Code:
Citizen.CreateThread( function()
  while true do Wait(10)
    SetPedConfigFlag(PlayerPedId(), 35, false)
  end
end)
 
Çevrimdışı

Gothicsinz

Member
Aug 5, 2021
10
0
166
Ares Ares does this prevents any helmet usage or just the automatic one from motorcycles and bikes? any chance you know also how to disable the armor on helmets?
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds