From d6aa2422bf7495443534cb8955b6b843146f27c4 Mon Sep 17 00:00:00 2001 From: Fernando-A-Rocha Date: Thu, 1 Aug 2024 15:42:41 +0100 Subject: [PATCH] . --- newmodels_reborn/models/vehicle/490/-1.txt | 3 ++- newmodels_reborn/scripts/core/client_logic.lua | 1 - newmodels_reborn/scripts/core/server_logic.lua | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/newmodels_reborn/models/vehicle/490/-1.txt b/newmodels_reborn/models/vehicle/490/-1.txt index 3c57bb2..af3b4cf 100644 --- a/newmodels_reborn/models/vehicle/490/-1.txt +++ b/newmodels_reborn/models/vehicle/490/-1.txt @@ -1,3 +1,4 @@ +-- These are the optional model settings. Any line that doesn't contain these words is ignored. disableAutoFree disableTXDTextureFiltering -enableDFFAlphaTransparency \ No newline at end of file +enableDFFAlphaTransparency diff --git a/newmodels_reborn/scripts/core/client_logic.lua b/newmodels_reborn/scripts/core/client_logic.lua index 50c854a..2a211a3 100644 --- a/newmodels_reborn/scripts/core/client_logic.lua +++ b/newmodels_reborn/scripts/core/client_logic.lua @@ -183,7 +183,6 @@ end local function freeAllocatedModel(customModel, loadedModel) if loadedModel.disableAutoFree then - print("Not freeing custom model " .. customModel .. " because it has disableAutoFree set") return end diff --git a/newmodels_reborn/scripts/core/server_logic.lua b/newmodels_reborn/scripts/core/server_logic.lua index 99527b7..91d5451 100644 --- a/newmodels_reborn/scripts/core/server_logic.lua +++ b/newmodels_reborn/scripts/core/server_logic.lua @@ -69,7 +69,6 @@ local function loadModels() end end customModelInfo[customModel].settings = customModelSettings - iprint(customModelSettings) else customModelInfo[customModel][fileType] = thisFullPath if name then