Garry's Mod

Garry's Mod

GlowLib [1.2]
76561199443230520 2024 年 7 月 9 日 上午 9:21
Stupid question.
Can I somehow set it on PM?
< >
目前顯示第 1-5 則留言,共 5
bloodycop  [開發人員] 2024 年 7 月 9 日 下午 6:01 
Yes, you can follow the tutorial simply and use
CustomColor = function(self, ent, sprite) if ( ent:IsPlayer() ) then return ent:GetPlayerColor():ToColor() end end
76561199443230520 2024 年 7 月 10 日 上午 3:11 
引用自 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  [開發人員] 2024 年 7 月 10 日 上午 7:02 
You actually figured it out? I'm surprised that tutorial is helpful at all
Ripper 8 月 7 日 下午 8:31 
引用自 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  [開發人員] 8 月 10 日 上午 10:53 
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)
< >
目前顯示第 1-5 則留言,共 5
每頁顯示: 1530 50