mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
26
lua/autorun/saveents_funcs_2.lua
Normal file
26
lua/autorun/saveents_funcs_2.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
AddCSLuaFile( "autorun/client/campaignents_clientfuncs_2.lua" )
|
||||
AddCSLuaFile()
|
||||
|
||||
local aiVar = GetConVar( "ai_disabled" )
|
||||
|
||||
function saveents_EnabledAi()
|
||||
return aiVar:GetInt() == 0
|
||||
|
||||
end
|
||||
|
||||
local ignorePly = GetConVar( "ai_ignoreplayers" )
|
||||
|
||||
function saveents_IgnoringPlayers()
|
||||
return ignorePly:GetInt() == 1
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user