aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/system_admin.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/shared/system_admin.lua')
-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)