Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GetTraitorCount = nil
- GetDetectiveCount = nil
- GetAvoidDetective = nil
- function Initialize()
- for i = 1, math.huge do
- local k, v = debug.getupvalue( SelectRoles, i )
- if k == "GetTraitorCount" then
- GetTraitorCount = v
- end
- if k == "GetDetectiveCount" then
- GetDetectiveCount = v
- end
- if k == "GetAvoidDetective" then
- GetAvoidDetective = v
- end
- if GetTraitorCount ~= nil and GetDetectiveCount ~= nil and GetAvoidDetective ~= nil or k == nil then
- break;
- end
- end
- end
- hook.Add( "PostGamemodeLoaded", "InitializeExternal", Initialize)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement