Debuging Gloabl

This commit is contained in:
Cooldude2606 committed 2018-10-14 20:37:27 +01:00
1 parent 99450cd02d
commit 05f6fa4657
2 files changed
+15 -3

No files matched your search

+1
View File
@@ -326,6 +326,7 @@ end
function Role._prototype:get_players(online)
if not self_test(self,'role','get_players') then return end
if online and not type_error(online,'boolean','Invalid argument #1 to role:get_players, online is not a boolean.') then return end
log(serpent.line(global))
if not global.roles[self.name] then global.roles[self.name] = {} end
local rtn = {}
for _,player_index in pairs(global.roles[self.name]) do