Advertisement
Pjor1

Untitled

Aug 13th, 2014
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. if SERVER then
  2. AddCSLuaFile()
  3. resource.AddFile("materials/models/player/elis/po/cleaner_face_e.vmt")
  4. resource.AddFile("materials/models/player/elis/po/cleaner_face_e.vtf")
  5. resource.AddFile("materials/models/player/elis/po/clearner_face_e_n.vtf")
  6. resource.AddFile("materials/models/player/elis/po/estuche.vmt")
  7. resource.AddFile("materials/models/player/elis/po/estuche.vtf")
  8. resource.AddFile("materials/models/player/elis/po/hand_white_a.vmt")
  9. resource.AddFile("materials/models/player/elis/po/hand_white_a.vtf")
  10. resource.AddFile("materials/models/player/elis/po/hand_white_a_n.vtf")
  11. resource.AddFile("materials/models/player/elis/po/nypd_body_a_coat.vmt")
  12. resource.AddFile("materials/models/player/elis/po/nypd_body_a_coat.vtf")
  13. resource.AddFile("materials/models/player/elis/po/nypd_body_a_coat_n.vtf")
  14. resource.AddFile("materials/models/player/elis/po/nypd_legs_a.vmt")
  15. resource.AddFile("materials/models/player/elis/po/nypd_legs_a.vtf")
  16. resource.AddFile("materials/models/player/elis/po/nypd_legs_a_n.vtf")
  17. resource.AddFile("materials/vgui/entities/npc_epoliceally.vmt")
  18. resource.AddFile("materials/vgui/entities/npc_epoliceenemy.vmt")
  19. resource.AddFile("materials/vgui/entities/npc_epoliceenemy.vtf")
  20. resource.AddFile("elispolice/police.mdl")
  21.  
  22.  
  23. hook.Add("TTTBeginRound", "BeginRoundDetectiveSkin", function()
  24. for k,v in pairs(player.GetAll()) do
  25. if v:IsActiveDetective() then
  26. v:SetModel(Model("elispolice/police.mdl"))
  27. end
  28. end
  29. end)
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement