LUA:Remove FAdmin

From Official DarkRP Wiki
Revision as of 17:54, 7 June 2013 by FPtje (talk | contribs) (Created page with "= Removing FAdmin = First of all, '''don't remove any FAdmin files'''. DarkRP depends on them, don't be an idiot. Do it right. == How to do it == 1. Go to darkrp/gamemode/mod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Removing FAdmin

First of all, don't remove any FAdmin files. DarkRP depends on them, don't be an idiot. Do it right.

How to do it

1. Go to darkrp/gamemode/modules 2. make a file called sh_removeFAdmin.lua (make sure it isn't secretly sh_removeFAdmin.lua.txt, make sure "show file extensions" is turned on) 3. Paste the following code in it:

timer.Simple(0, function() FAdmin.GlobalSetting.FAdmin = false end)

4. restart server or change level.