![]() |
Where do i put the cvar?
ok i have mods... lets say when i load the game i want the mod to have a cvar set to something... lets say i was using headshot_mod. where would i put a cvar so that everytime i start a game the headshot_mod would always be headshot only? and remember i am not just using headshot i was just using it as an example
|
Re: Where do i put the cvar?
don't say mod... it makes it sound like cs or tfc or something..
make a file called exec.cfg in your metamod directory.. it'll be runned when metamod is done loading all the plugins.. |
Re: Where do i put the cvar?
can i also use it for AMXX 'plugins' also
|
Re: Where do i put the cvar?
Quote:
|
Re: Where do i put the cvar?
server.cfg (for dedicated servers)
listenserver.cfg (for servers you play on, eg "listenservers") these files should exist already. the syntax is explicit. |
Re: Where do i put the cvar?
i tried all of them... i got it to work but for some reason they won't work in the listenserver config
|
Re: Where do i put the cvar?
post the contents of your listenserver.cfg, and game.cfg if this latter exists
|
Re: Where do i put the cvar?
Code:
mp_limitteams 0 |
Re: Where do i put the cvar?
weird, I don't see why this wouldn't work.
Maybe the game tries to set the CVAR before the plugin has registered it. |
Re: Where do i put the cvar?
well as i stated before i already got it to work another way so it's all good
|
All times are GMT +2. The time now is 21:10. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.