Garry's Mod
GlowLib [1.2]
Stupid question.
Can I somehow set it on PM?
< >
Đang hiển thị 1-5 trong 5 bình luận
bloodycop  [nhà phát triển] 9 Thg07, 2024 @ 6:01pm 
Yes, you can follow the tutorial simply and use
CustomColor = function(self, ent, sprite) if ( ent:IsPlayer() ) then return ent:GetPlayerColor():ToColor() end end
Nguyên văn bởi eon (bloodycop):
Yes, you can follow the tutorial simply and use
CustomColor = function(self, ent, sprite) if ( ent:IsPlayer() ) then return ent:GetPlayerColor():ToColor() end end

oh yeah, thanks
im kinda stupid
bloodycop  [nhà phát triển] 10 Thg07, 2024 @ 7:02am 
You actually figured it out? I'm surprised that tutorial is helpful at all
Nguyên văn bởi bloodycop:
Yes, you can follow the tutorial simply and use
CustomColor = function(self, ent, sprite) if ( ent:IsPlayer() ) then return ent:GetPlayerColor():ToColor() end end


Is this method still relevant? Not sure If I'm just dense, but I'm struggling to understand if I need to do what's referenced in your tutorial OR can I solely rely on the Creation Menu you added in-game. Or do I have to use both? I ask this because I can't seem to get the creation menu to add a glowlib sprite to anything. NPC, prop or PM.

Excellent mod btw.
bloodycop  [nhà phát triển] 10 Thg08 @ 10:53am 
You do not have to use that method. Also the creation menu just outputs code, you need to place that in a .lua file (just follow the tutorial start-end)
< >
Đang hiển thị 1-5 trong 5 bình luận
Mỗi trang: 1530 50