Added some get commands

This commit is contained in:
Cooldude2606
2017-08-20 20:26:06 +01:00
parent 75e3c904f0
commit 3a5c73f0a0
5 changed files with 44 additions and 3 deletions

View File

@@ -73,7 +73,10 @@ local preset_ranks = {
Jail={}
}
-- returns this list, or just one rank if given
function get_rank_presets(rank)
if rank then return global.preset_ranks[rank] else return global.preset_ranks end
end
Event.register(-1,function() global.preset_ranks = preset_ranks end)
--Please Only Edit Above This Line-----------------------------------------------------------
return credits