Server Entity Vehicle:VC_unLock()
concommand.Add("vehicle_togglegodmode", function() local ent = player.GetAll()[1]:GetEyeTraceNoCursor().Entity if IsValid(ent) then if ent:VC_isLocked() then ent:VC_unLock() else ent:VC_lock() end else print("Invalid entity.") end print("Toggled vehicles locks.") end)