Ulysses Stuff > General Chat & Help and Support

Run !god on join?

(1/1)

Litleck:
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.

MrPresident:
Easily done.

Look at the code for !God to see how it's done and put it into a playerinitialspawn hook

Litleck:
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?

Navigation

[0] Message Index

Go to full version