aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared
diff options
context:
space:
mode:
authorAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2015-12-31 12:54:00 -0500
committerAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2015-12-31 12:54:00 -0500
commitac3ec246b1061e59ebf70cfafc0f0fc362cbc550 (patch)
treea7cd2edb2793e1fbfbb4bab2934e23f8b8e007ed /gamemode/shared
parent58c66eed1870687ae0eefd3b050c16e8f50af27e (diff)
downloadwintersurvival2-ac3ec246b1061e59ebf70cfafc0f0fc362cbc550.tar.gz
wintersurvival2-ac3ec246b1061e59ebf70cfafc0f0fc362cbc550.tar.bz2
wintersurvival2-ac3ec246b1061e59ebf70cfafc0f0fc362cbc550.zip
Moved around some commands for organization
Diffstat (limited to 'gamemode/shared')
-rw-r--r--gamemode/shared/system_admin.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/gamemode/shared/system_admin.lua b/gamemode/shared/system_admin.lua
index 2274a7e..09b223b 100644
--- a/gamemode/shared/system_admin.lua
+++ b/gamemode/shared/system_admin.lua
@@ -71,35 +71,35 @@ if (SERVER) then
end
end)
- --Useage: mas_vanish string_playername
- concommand.Add("mas_vanish", function(pl,com,arg)
+ --Useage: mas_ungod string_playername
+ concommand.Add("mas_ungod", function(pl,com,arg)
if (!IsValid(pl) or !pl:IsAdmin()) then return end
if(!arg[1]) then return end
for k,v in pairs(player.GetAll()) do
if(v:Name():lower():find(arg[1]:lower())) then
- v:SetAlpha(0)
+ v:GodDisable()
end
end
end)
- --Useage: mas_unvanish string_playername
- concommand.Add("mas_unvanish", function(pl,com,arg)
+ --Useage: mas_vanish string_playername
+ concommand.Add("mas_vanish", function(pl,com,arg)
if (!IsValid(pl) or !pl:IsAdmin()) then return end
if(!arg[1]) then return end
for k,v in pairs(player.GetAll()) do
if(v:Name():lower():find(arg[1]:lower())) then
- v:SetAlpha(255)
+ v:SetAlpha(0)
end
end
end)
- --Useage: mas_ungod string_playername
- concommand.Add("mas_ungod", function(pl,com,arg)
+ --Useage: mas_unvanish string_playername
+ concommand.Add("mas_unvanish", function(pl,com,arg)
if (!IsValid(pl) or !pl:IsAdmin()) then return end
if(!arg[1]) then return end
for k,v in pairs(player.GetAll()) do
if(v:Name():lower():find(arg[1]:lower())) then
- v:GodDisable()
+ v:SetAlpha(255)
end
end
end)