Created
December 28, 2022 23:10
-
-
Save Mkeefeus/a75d2b323a3cc823191d2fa5e26ddd17 to your computer and use it in GitHub Desktop.
Get vehicles missing from vehicle list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RegisterCommand('models', function () | |
local models = GetAllVehicleModels() | |
local missingVehicles = {} | |
for i = 1, #models do | |
if not VehicleList[models[i]] then | |
missingVehicles[#missingVehicles+1] = models[i] | |
end | |
end | |
lib.setClipboard(json.encode(missingVehicles)) | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment