Hello Community,
I am currently trying to set up a gungame server.
The gamemode maker said I should set up this:
Server Convars
gg_ammo_on_kill - Should players get a full clip if they get a kill?
gg_spawnprotection - How many seconds should players have spawn protection?
gg_maxrounds - How many rounds per map?
gg_freforall - Are you using a TTT or GM map? (free for all only works with gmod spawns)
gg_end_dm - How long should the round end last (good if you have round end music)
Hooks
gg_round_end(Winner player) - Serverside
gg_round_begin() - Shared
gg_demote(victim player,killer player) - Serverside
gg_levelup(player,level) - Serverside
Where should I put this?
What are the values of that convars and hooks, e.g. "gg_round_end 1" or what?
Greetings
Tezou
The Server Convars goes in [B]cfg/server.cfg[/B].
If you want anything custom, you use yourself of the hooks when coding your lua.
I put this into the into the server.cfg
gg_ammo_on_kill 1
gg_spawnprotection 5
gg_maxrounds 3
gg_freforall 0
gg_end_dm 15
Is everything correct?
Yes although I think it's gm_freeforall instead of gm_freforall, but try it out.
Okay, and how do I use the hooks?
[QUOTE=Tezou;44697430]Okay, and how do I use the hooks?[/QUOTE]
If you don't know how to use the hooks, you probably don't know what to do with them either.
Alright :D
But I still have one problem:
When a player wins, the next round doesn't begin and I have to change or reload the entire map to play again.
I think I MUST use these hooks somehow.
Sorry, you need to Log In to post a reply to this thread.