From 43fdddc00597aee198b78c55c1aed1b0eb350dba Mon Sep 17 00:00:00 2001 From: Linventif Date: Sat, 9 Sep 2023 11:21:14 +0000 Subject: [PATCH] remove prevent message --- lua/autorun/gmod_integration.lua | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/lua/autorun/gmod_integration.lua b/lua/autorun/gmod_integration.lua index 277265e..0bcdf8a 100644 --- a/lua/autorun/gmod_integration.lua +++ b/lua/autorun/gmod_integration.lua @@ -1,26 +1,7 @@ -// If is singleplayer, don't load +// + if game.SinglePlayer() then return end -// -// Prevent the user from using a static version of the addon -// - -if SERVER then - if !file.Exists("steam_cache/content/4000/2882747990", "BASE_PATH") then - timer.Simple(5, function() - print([[ - // -- // -- // -- // -- // -- // -- // -- // -- // -- // - // Please don't use a static version of Gmod Integration. - // -- // -- // -- // -- // -- // -- // -- // -- // -- // - // Please use the workshop version : https://gmod-integration.com/workshop - // If you don't use the workshop version, you will not receive any update and you will not be able to use new features or bug fixes. - // If you need help, please contact us : https://gmod-integration.com/discord - // -- // -- // -- // -- // -- // -- // -- // -- // -- // - ]]) - end) - end -end - // // Variables //