Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
/code Shpigun.TeamWL = {
"Combine",
"Rebels"
}
end)
Shpigun.TeamWL = {
[1]=true,
[2]=true,
}
try that?
[code]local function SetPlayerTurretRelationship(ply)
for k, v in pairs(ents.FindByClass( "npc_turret_floor")) do
local turretTeam = -1
if v:GetName() == "turret_Rebel" then
turretTeam = 1
elseif v:GetName() == "turret_Combine" then
turretTeam = 2
end
if turretTeam == ply:Team() or ply:Team() == TEAM_SPECTATOR or ply:Team() == TEAM_UNASSIGNED then
v:AddEntityRelationship(ply, D_LI, 99)
else
v:AddEntityRelationship(ply, D_HT, 99)
end
end
end[/code]
seems like fortfights gamemode already has functionality similiar to what's been done in this addon?
We run TTT2 (which has a built-in shop editor), so I can normally see all the items which are loaded, even if they're not currently linked to any roles, or are set to not-buyable by default. But I can't seem to find either of these weapons anywhere.