Running a command automatically when server starts. ( client

Post Reply
Desire
New to forums
New to forums
Posts: 7
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri May 31, 2013 2:18 pm

Running a command automatically when server starts. ( client

Post by Desire »

I've been trying to make this command run auto but I can't. M9KGasEffect "0"
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Running a command automatically when server starts. ( cl

Post by kraze »

Are you wanting to run this command on the server or on the client? On the client you can just add it to your autoexe.cfg(\SteamApps\common\GarrysMod\garrysmod\cfg\autoexec.cfg), on the server you can add it to your server.cfg.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Desire
New to forums
New to forums
Posts: 7
Joined: Fri May 31, 2013 2:18 pm

Re: Running a command automatically when server starts. ( cl

Post by Desire »

It's already added to both, for some reason it isn't working.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Running a command automatically when server starts. ( cl

Post by kraze »

What kind of command is this? If this is an extra command for a mod running your server it would need to be placed in the server.cfg, unless your mod have another config.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Desire
New to forums
New to forums
Posts: 7
Joined: Fri May 31, 2013 2:18 pm

Re: Running a command automatically when server starts. ( cl

Post by Desire »

It's for a addon to stop lag, I believe it is clientside. but for some reason it isn't working in server.cfg or autoexe
Desire
New to forums
New to forums
Posts: 7
Joined: Fri May 31, 2013 2:18 pm

Re: Running a command automatically when server starts. ( cl

Post by Desire »

Bump, Still isn't working!
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Running a command automatically when server starts. ( cl

Post by kraze »

What happens if you type this command into console?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Post Reply