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 community.

Ares

Head Admin
Joined
May 6, 2021
Messages
520
Reaction score
361
Points
331
Location
Turkey
Website
vag.gg
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)
 

Athelion

Bronze Elite
Joined
Jun 30, 2021
Messages
29
Reaction score
4
Points
96
Thanks a lot, totally worked.
 

Gothicsinz

Bronze Elite
Joined
Aug 5, 2021
Messages
5
Reaction score
0
Points
51
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