Files
wnsrc/lua/autorun/server/player_ai.lua
lifestorm df294d03aa Upload
2024-08-04 23:54:45 +03:00

39 lines
1.0 KiB
Lua

--[[
| 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