Ulysses

General => Developers Corner => Topic started by: Ballzz on November 30, 2018, 11:10:24 AM

Title: Need help making a custom command
Post by: Ballzz on November 30, 2018, 11:10:24 AM
Hello, so what I wanted to do is make a command for admins. I want the command to be !adminmode and i want the command to switch to the admin model and give god mode.
If anyone can help id really appreciate it thanks.
Title: Re: Need help making a custom command
Post by: iViscosity on November 30, 2018, 01:43:23 PM
Have you tried making anything? If so, what do you have? Are you getting any errors (if so, what)?

This is a very easy thing to make yourself, so I'm going to leave you some links to point you in the right direction.

http://wiki.garrysmod.com/page/Player/GodEnable
http://wiki.garrysmod.com/page/Entity/SetModel (Player == Entity)
Title: Re: Need help making a custom command
Post by: Ballzz on December 02, 2018, 10:44:25 AM
Still dont get it i havnt done anything with lua before so if you could make it for me that would be great.
Title: Re: Need help making a custom command
Post by: BlueNova on December 21, 2018, 12:27:50 PM
Still dont get it i havnt done anything with lua before so if you could make it for me that would be great.

Perhaps you should learn some lua so that you can make the command yourself instead of asking for someone else to just do it for you? Granted I'm late on this topic but still