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
#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)