Advertisement
Guest User

Untitled

a guest
May 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. local tnb_models = {}
  2. local default_models = {
  3. "models/humans/group01/female_01.mdl",
  4. "models/humans/group01/female_02.mdl",
  5. "models/humans/group01/female_03.mdl",
  6. "models/humans/group01/female_04.mdl",
  7. "models/humans/group01/female_06.mdl",
  8. "models/humans/group01/female_07.mdl",
  9. "models/humans/group01/male_01.mdl",
  10. "models/humans/group01/male_02.mdl",
  11. "models/humans/group01/male_03.mdl",
  12. "models/humans/group01/male_04.mdl",
  13. "models/humans/group01/male_05.mdl",
  14. "models/humans/group01/male_06.mdl",
  15. "models/humans/group01/male_07.mdl",
  16. "models/humans/group01/male_08.mdl",
  17. "models/humans/group01/male_09.mdl"
  18. }
  19.  
  20. local groups = {01, 03}
  21.  
  22. for k, v in pairs(groups) do
  23. local groupName = "group" .. v
  24.  
  25. for kk, vv in pairs(_file.Find("models/humans/" .. groupName .. "/*.mdl")) do
  26. table.insert(vv, tnbModels)
  27. end
  28.  
  29. for kk, vv in pairs(_file.Find("models/humans/" .. groupName .. "m/*.mdl")) do
  30. table.insert(vv, tnbModels)
  31. end
  32. end
  33.  
  34. print(tnb_models)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement