Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function SetJobWhiteListByVall( ply )
- local whitelist = ZJOBwhitelist or nil
- local SteamID64 = ply:SteamID64() or nil
- local jobs_all = team.GetAllTeams() or nil
- for one, two in pairs(jobs_all) do
- for k, v in pairs(whitelist) do
- if two.Name == v[4] then
- if v[2]==SteamID64 then
- ply:changeTeam( one, true )
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement