Update client.lua

This commit is contained in:
Miho931 2025-06-11 12:19:03 +02:00
parent 5eeb52f005
commit b4a87e4a04

View file

@ -47,8 +47,9 @@ end)
function OpenMenu(vehicles)
local opt = {}
local Player = QBCore.Functions.GetPlayerData()
if QBCore.PlayerData.job.grade.level == Zone.Chiefrang then
if Player.job.grade.level == Zone.Chiefrang then
table.insert(opt, {
title = "Fahrzeug Einstellungen",
description = "Fahrzeuge verwalten",