Arizard / deathrun

Arizard's Deathrun gamemode for Garry's Mod
63 stars 38 forks source link

Where do you put Hooks and Convars? #80

Closed TigheJF closed 8 years ago

TigheJF commented 8 years ago

I want to use these ConVars on my server;

deathrun_round_limit 10
deathrun_pointshop_finish_reward 100
deathrun_pointshop_kill_reward 15
deathrun_pointshop_win_reward 15
deathrun_autoslay_delay 90

But have no idea where to put them. If you could give me a pointing that would be great :)

nubpro commented 8 years ago

Naviate to cfg folder > server.cfg

TigheJF commented 8 years ago

@nubpro - I did that, however, it gave me an unknown command error in console.

SunRed commented 8 years ago

A similar issue has been created a while back where I answered this: https://github.com/Arizard/deathrun/issues/35#issuecomment-196908008

Just paste "deathrun_round_limit 10" on your server command line and this value will be saved for every new server start. You should define your ConVars directly in server.vdf or paste your stuff in server.cfg for the first run / start.

Same thing goes for your other ConVars.

TigheJF commented 8 years ago

@SunRed - Thank you so much. I'll test when I get home, and report back to you.

TigheJF commented 8 years ago

@SunRed - It seems to be working, as it as added them to "server.vdf" but I'm not exactly sure. Get back to you with results soon.

TigheJF commented 8 years ago

@SunRed - It works. Thanks everyone!