Headlamp

Me and a couple friends were playing gm_ghosthunt, and we thought it’d be cool if everyone could see other people’s flashlights. We knew it wouldn’t work, so one guy ran around with a lamp, but it proved to be really annoying. The only thing we need is a lamp parented to a head, but no one knows how to do that

**[G.DynamicLight

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=G.DynamicLight)** This should be what you need.

I’d love to act as if that was useful to me (it probably would be if I knew how to code) but it really isn’t. Thanks for the help anyways, though.

Ok, well i myself have never used DynamicLights but shouldnt be too hard.

How do you want this to work? A swep, command, menu?

Command or menu, whichever is easiest for you.

Last time i checked headlamps dont emit 360 degrees of light, Science your an idiot.

Your going to have to use render beams and what not.

A temporary solution could be parenting a lamp to a spawned weapon, then pick that weapon up.
I’ll look into finding a good solution.