View difference between Paste ID: pNJm0XBi and PBtExJy3
SHOW: | | - or go back to the newest paste.
1-
easylua.StartWeapon("sultansword")
1+
local function START() 
2
	_G.SWEP = {Primary = {}, Secondary = {}} 
3-
SWEP.Base = "weapon_crowbar_fixme"
3+
	SWEP.Author = "Morshmellow"
4-
SWEP.PrintName = "Sultan Sword"
4+
5
	return SWEP
6-
if CLIENT and LocalPlayer() == me then easylua.PACSetClassListener("sultansword", "sultanswordoutfit") end 
6+
end
7
8-
easylua.EndWeapon()
8+
local function END()
9
	SWEP.ClassName = "weapon_" .. SWEP.ClassName 
10-
[][][]DUSTMUSIC, THE OUTFIT . . .
10+
	weapons.Register(SWEP, SWEP.ClassName, true)
11
	
12-
[1] = {
12+
	if CLIENT then
13-
	["children"] = {
13+
		pac.AddEntityClassListener(SWEP.ClassName, SWEP.Outfit, nil, 0)
14
	end
15
end
16
17
START()
18-
				["ParentName"] = "group",
18+
19-
				["Position"] = Vector(3.478515625, -1.4638671875, -0.14453125),
19+
	SWEP.ClassName = "sultan_sword"
20-
				["Name"] = "c demo sultan sword",
20+
	SWEP.Base = "weapon_crowbar_fixme"
21-
				["Angles"] = Angle(18.85160446167, -179.81611633301, -179.43119812012),
21+
	SWEP.PrintName = "Sultan Sword"
22-
				["ClassName"] = "model",
22+
23-
				["Size"] = 0.75,
23+
	SWEP.Outfit = {
24-
				["UniqueID"] = "2344475380",
24+
25-
				["GlobalID"] = "2582635650",
25+
26-
				["Bone"] = "right hand",
26+
				[1] = {
27-
				["Model"] = "models/weapons/c_models/c_demo_sultan_sword/c_demo_sultan_sword.mdl",
27+
					["children"] = {
28-
				["ParentUID"] = "2590158961",
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-
				["ParentUID"] = "2590158961",
35+
						["Size"] = 0.75,
36-
				["Invert"] = true,
36+
						["UniqueID"] = "2344475380",
37-
				["Name"] = "weapon class find simple\"crowbar@@1\"",
37+
						["GlobalID"] = "2582635650",
38-
				["ClassName"] = "event",
38+
						["Bone"] = "right hand",
39-
				["ParentName"] = "group",
39+
						["Model"] = "models/weapons/c_models/c_demo_sultan_sword/c_demo_sultan_sword.mdl",
40-
				["Arguments"] = "sultan@@1",
40+
						["ParentUID"] = "2590158961",
41-
				["GlobalID"] = "3588439260",
41+
					},
42-
				["Event"] = "weapon_class",
42+
				},
43-
				["UniqueID"] = "3490534457",
43+
				[2] = {
44
					["children"] = {
45
					},
46-
	},
46+
					["self"] = {
47-
	["self"] = {
47+
						["ParentUID"] = "2590158961",
48-
		["EditorExpand"] = true,
48+
						["Invert"] = true,
49-
		["UniqueID"] = "2590158961",
49+
						["Name"] = "weapon class find simple\"crowbar@@1\"",
50-
		["GlobalID"] = "3117100554",
50+
						["ClassName"] = "event",
51-
		["Name"] = "group",
51+
						["ParentName"] = "group",
52-
		["ClassName"] = "group",
52+
						["Arguments"] = "sultan@@1",
53-
	},
53+
						["GlobalID"] = "3588439260",
54-
},
54+
						["Event"] = "weapon_class",
55-
[2] = {
55+
						["UniqueID"] = "3490534457",
56-
	["children"] = {
56+
					},
57
				},
58
			},
59
			["self"] = {
60
				["EditorExpand"] = true,
61-
				["ParentName"] = "my outfit",
61+
				["UniqueID"] = "2590158961",
62-
				["Position"] = Vector(2.2939999103546, -0.69300001859665, -3.0450000762939),
62+
				["GlobalID"] = "3117100554",
63-
				["Name"] = "c demo sultan sword",
63+
				["Name"] = "group",
64-
				["Scale"] = Vector(1.2000000476837, 1, 1.2000000476837),
64+
				["ClassName"] = "group",
65-
				["ClassName"] = "model",
65+
66-
				["Angles"] = Angle(0, -90, 180),
66+
67-
				["UniqueID"] = "2298308627",
67+
68-
				["GlobalID"] = "3980264659",
68+
69-
				["Bone"] = "right hand",
69+
				[1] = {
70-
				["Model"] = "models/weapons/c_models/c_demo_sultan_sword/c_demo_sultan_sword.mdl",
70+
					["children"] = {
71-
				["ParentUID"] = "3547870179",
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-
				["ParentUID"] = "3547870179",
78+
						["Angles"] = Angle(0, -90, 180),
79-
				["ClassName"] = "bone",
79+
						["UniqueID"] = "2298308627",
80-
				["UniqueID"] = "1915696089",
80+
						["GlobalID"] = "3980264659",
81-
				["ParentName"] = "my outfit",
81+
						["Bone"] = "right hand",
82-
				["Size"] = 0.35,
82+
						["Model"] = "models/weapons/c_models/c_demo_sultan_sword/c_demo_sultan_sword.mdl",
83-
				["Bone"] = "right hand",
83+
						["ParentUID"] = "3547870179",
84-
				["Name"] = "right hand",
84+
					},
85-
				["GlobalID"] = "2461427382",
85+
				},
86
				[2] = {
87
					["children"] = {
88-
	},
88+
					},
89-
	["self"] = {
89+
					["self"] = {
90-
		["ClassName"] = "group",
90+
						["ParentUID"] = "3547870179",
91-
		["OwnerName"] = "viewmodel",
91+
						["ClassName"] = "bone",
92-
		["UniqueID"] = "3547870179",
92+
						["UniqueID"] = "1915696089",
93-
		["EditorExpand"] = true,
93+
						["ParentName"] = "my outfit",
94-
		["GlobalID"] = "2298719463",
94+
						["Size"] = 0.35,
95-
		["Name"] = "my outfit",
95+
						["Bone"] = "right hand",
96-
		["Description"] = "add parts to me!",
96+
						["Name"] = "right hand",
97-
	},
97+
						["GlobalID"] = "2461427382",
98-
},
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()