Garry's Mod

Garry's Mod

GlowLib [1.2]
Stupid question.
Can I somehow set it on PM?
< >
1-5 van 5 reacties weergegeven
bloodycop  [ontwikkelaar] 9 jul 2024 om 18: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
Origineel geplaatst door 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  [ontwikkelaar] 10 jul 2024 om 7:02 
You actually figured it out? I'm surprised that tutorial is helpful at all
Origineel geplaatst door 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  [ontwikkelaar] 10 aug om 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 van 5 reacties weergegeven
Per pagina: 1530 50