Guest User

Untitled

a guest
Nov 6th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.00 KB | None | 0 0
  1. -- Everyone's model
  2. local ttt_playermodels = {
  3.    ttt_phoenix,
  4.    ttt_leet,
  5.    ttt_professional,
  6.    ttt_separatist
  7. };
  8.  
  9. local ttt_phoenix = {
  10.    Model("models/player/csgo48.mdl"),
  11.    Model("models/player/csgo49.mdl"),
  12.    Model("models/player/csgo50.mdl"),
  13.    Model("models/player/csgo51.mdl")
  14. };
  15.  
  16. local ttt_leet = {
  17.    Model("models/player/csgo31.mdl"),
  18.    Model("models/player/csgo32.mdl"),
  19.    Model("models/player/csgo33.mdl"),
  20.    Model("models/player/csgo34.mdl")
  21. };
  22.  
  23. local ttt_professional = {
  24.    Model("models/player/csgo44.mdl"),
  25.    Model("models/player/csgo45.mdl"),
  26.    Model("models/player/csgo46.mdl"),
  27.    Model("models/player/csgo47.mdl")
  28. };
  29.  
  30. local ttt_separatist = {
  31.    Model("models/player/csgo35.mdl"),
  32.    Model("models/player/csgo36.mdl"),
  33.    Model("models/player/csgo37.mdl"),
  34.    Model("models/player/csgo38.mdl")
  35. };
  36.  
  37. function GetRandomPlayerModel()
  38.   local ttt_playermodel = table.Random(ttt_playermodels)
  39.   return table.Random(ttt_playermodels[ttt_playermodel])
  40. end
Advertisement
Add Comment
Please, Sign In to add comment