MaxHero
Gold Elite
İ have below client.lua cardealer script part i need add more than one ['Class'] how can i add it ?
i mean i have only 'custom' Class ............ i want more than one class ... 'custom'+ 'coupe' +'suv' etc..
"function IsModelASellVehicle(Entity)
for k, v in pairs(QBCore.Shared.HashVehicles) do
if k == GetEntityModel(Entity) and v['Class'] == 'custom' then
return true
end
end
return false
end"
i mean i have only 'custom' Class ............ i want more than one class ... 'custom'+ 'coupe' +'suv' etc..
"function IsModelASellVehicle(Entity)
for k, v in pairs(QBCore.Shared.HashVehicles) do
if k == GetEntityModel(Entity) and v['Class'] == 'custom' then
return true
end
end
return false
end"