Jump to content

Hiding car bumpers


ivan8065

Recommended Posts

  • Moderators
-- CLIENT SIDE

addCommandHandler("hide", function()
    local vehicle = getPedOccupiedVehicle(localPlayer)
    if not vehicle then return outputChatBox("ERROR: You have to sit in a vehicle!") end
    
    setVehicleComponentVisible(vehicle, "bump_front_dummy", false)
    setVehicleComponentVisible(vehicle, "bump_rear_dummy", false)
    outputChatBox("SUCCESS: Bumpers are hided!")
end)

 

  • Thanks 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...