mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
39
lua/autorun/server/player_ai.lua
Normal file
39
lua/autorun/server/player_ai.lua
Normal file
@@ -0,0 +1,39 @@
|
||||
--[[
|
||||
| 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/
|
||||
--]]
|
||||
|
||||
|
||||
local function CombineSuitsOS()
|
||||
|
||||
|
||||
for k, v in pairs( player.GetAll() ) do
|
||||
if v:IsValid() && v:IsPlayer() && v:Alive() && v:Visible(self) then
|
||||
|
||||
if v then
|
||||
|
||||
|
||||
if v:IsPlayer() and v.PlayerAIUser == false then
|
||||
|
||||
v.friclass = "CLASS_NEUTRAL" and "CLASS_NEUTRALS"
|
||||
v.SquadName = "vj_neutral"
|
||||
v.Class = "CLASS_NEUTRAL" and "CLASS_NEUTRALS"
|
||||
v.Classify = "CLASS_NEUTRAL" and "CLASS_NEUTRALS"
|
||||
v.VJ_NPC_Class = {"CLASS_HERO_NEUTRAL","CLASS_HERO_BANDIT","CLASS_HERO_FREEDOM","CLASS_HERO_DUTY","CLASS_HERO_CS","CLASS_HERO_HUNTER","CLASS_HERO_SKIT","CLASS_HERO_UCHENIY","CLASS_HERO_KILLER","CLASS_HERO_GREH"}
|
||||
v.GetClass = "CLASS_NEUTRAL" and "CLASS_NEUTRALS"
|
||||
v.SetClass = "CLASS_NEUTRAL" and "CLASS_NEUTRALS"
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user