Ulysses

General => Developers Corner => Topic started by: Nuclear_Ice on February 06, 2009, 11:03:46 PM

Title: LUA addon?
Post by: Nuclear_Ice on February 06, 2009, 11:03:46 PM
Is there any lua addons someone could teach me or make for me?

It would be simple.

Just needs to display a message at the top of the screen on all the players screens.

Not in a box just at the very very top where you can see it, but it won't bug you, in red text, and a fair font size?


thanks, facepunch was no help
Title: Re: LUA addon?
Post by: Nuclear_Ice on February 06, 2009, 11:05:52 PM
Crap sorry wrong section.  :'(
Title: Re: LUA addon?
Post by: MrPresident on February 10, 2009, 06:50:38 AM
This shouldn't be too hard to do.. give me 10 minutes.
Title: Re: LUA addon?
Post by: MrPresident on February 10, 2009, 07:12:47 AM
Done.. Wasn't too hard.. Enjoy!

the lua file is attached to this post.. just open it up in a word editor and change the config section and then drop it in garrysmod/lua/autorun.
Title: Re: LUA addon?
Post by: JamminR on February 10, 2009, 04:53:37 PM
I forget...won't this follow people to the next server?
Title: Re: LUA addon?
Post by: MrPresident on February 10, 2009, 06:45:22 PM
No, because it would put it in their cache folder and if the server doesn't have it it wouldn't initialize. If you physically put this in your lua/autorun folder it will follow you around everywhere... yes.