Advertisement
CapsAdmin

Untitled

May 26th, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function START()
  2.     _G.SWEP = {Primary = {}, Secondary = {}}
  3.     SWEP.Author = "Morshmellow"
  4.    
  5.     return SWEP
  6. end
  7.  
  8. local function END()
  9.     SWEP.ClassName = "weapon_" .. SWEP.ClassName
  10.     weapons.Register(SWEP, SWEP.ClassName, true)
  11.    
  12.     if CLIENT then
  13.         pac.AddEntityClassListener(SWEP.ClassName, SWEP.Outfit, nil, 0)
  14.     end
  15. end
  16.  
  17. START()
  18.  
  19.     SWEP.ClassName = "sultan_sword"
  20.     SWEP.Base = "weapon_crowbar_fixme"
  21.     SWEP.PrintName = "Sultan Sword"
  22.  
  23.     SWEP.Outfit = {
  24.         [1] = {
  25.             ["children"] = {
  26.                 [1] = {
  27.                     ["children"] = {
  28.                     },
  29.                     ["self"] = {
  30.                         ["ParentName"] = "group",
  31.                         ["Position"] = Vector(3.478515625, -1.4638671875, -0.14453125),
  32.                         ["Name"] = "c demo sultan sword",
  33.                         ["Angles"] = Angle(18.85160446167, -179.81611633301, -179.43119812012),
  34.                         ["ClassName"] = "model",
  35.                         ["Size"] = 0.75,
  36.                         ["UniqueID"] = "2344475380",
  37.                         ["GlobalID"] = "2582635650",
  38.                         ["Bone"] = "right hand",
  39.                         ["Model"] = "models/weapons/c_models/c_demo_sultan_sword/c_demo_sultan_sword.mdl",
  40.                         ["ParentUID"] = "2590158961",
  41.                     },
  42.                 },
  43.                 [2] = {
  44.                     ["children"] = {
  45.                     },
  46.                     ["self"] = {
  47.                         ["ParentUID"] = "2590158961",
  48.                         ["Invert"] = true,
  49.                         ["Name"] = "weapon class find simple\"crowbar@@1\"",
  50.                         ["ClassName"] = "event",
  51.                         ["ParentName"] = "group",
  52.                         ["Arguments"] = "sultan@@1",
  53.                         ["GlobalID"] = "3588439260",
  54.                         ["Event"] = "weapon_class",
  55.                         ["UniqueID"] = "3490534457",
  56.                     },
  57.                 },
  58.             },
  59.             ["self"] = {
  60.                 ["EditorExpand"] = true,
  61.                 ["UniqueID"] = "2590158961",
  62.                 ["GlobalID"] = "3117100554",
  63.                 ["Name"] = "group",
  64.                 ["ClassName"] = "group",
  65.             },
  66.         },
  67.         [2] = {
  68.             ["children"] = {
  69.                 [1] = {
  70.                     ["children"] = {
  71.                     },
  72.                     ["self"] = {
  73.                         ["ParentName"] = "my outfit",
  74.                         ["Position"] = Vector(2.2939999103546, -0.69300001859665, -3.0450000762939),
  75.                         ["Name"] = "c demo sultan sword",
  76.                         ["Scale"] = Vector(1.2000000476837, 1, 1.2000000476837),
  77.                         ["ClassName"] = "model",
  78.                         ["Angles"] = Angle(0, -90, 180),
  79.                         ["UniqueID"] = "2298308627",
  80.                         ["GlobalID"] = "3980264659",
  81.                         ["Bone"] = "right hand",
  82.                         ["Model"] = "models/weapons/c_models/c_demo_sultan_sword/c_demo_sultan_sword.mdl",
  83.                         ["ParentUID"] = "3547870179",
  84.                     },
  85.                 },
  86.                 [2] = {
  87.                     ["children"] = {
  88.                     },
  89.                     ["self"] = {
  90.                         ["ParentUID"] = "3547870179",
  91.                         ["ClassName"] = "bone",
  92.                         ["UniqueID"] = "1915696089",
  93.                         ["ParentName"] = "my outfit",
  94.                         ["Size"] = 0.35,
  95.                         ["Bone"] = "right hand",
  96.                         ["Name"] = "right hand",
  97.                         ["GlobalID"] = "2461427382",
  98.                     },
  99.                 },
  100.             },
  101.             ["self"] = {
  102.                 ["ClassName"] = "group",
  103.                 ["OwnerName"] = "viewmodel",
  104.                 ["UniqueID"] = "3547870179",
  105.                 ["EditorExpand"] = true,
  106.                 ["GlobalID"] = "2298719463",
  107.                 ["Name"] = "my outfit",
  108.                 ["Description"] = "add parts to me!",
  109.             },
  110.         },
  111.     }
  112.    
  113. END()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement