Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Litleck on August 04, 2018, 03:49:51 PM

Title: Run !god on join?
Post by: Litleck on August 04, 2018, 03:49:51 PM
Hello,

So I recently made a Garry's mod server and I'm trying to get it so that upon joining the server the player will be put into god mode and if they want to remove god they can just use !ungod.  If there's any addons for ULX or anything else that I could be given that would be great.

Thanks.
Title: Re: Run !god on join?
Post by: MrPresident on August 05, 2018, 01:55:45 PM
Easily done.

Look at the code for !God to see how it's done and put it into a playerinitialspawn hook
Title: Re: Run !god on join?
Post by: Litleck on August 05, 2018, 07:27:02 PM
I have no idea how to do hooks and coding for garrys mod.  Where would I put the lua file and what would I put in it?