Page 1 of 1

Weapons Cvar

Posted: Wed Dec 27, 2006 3:59 am
by BBmac
Ok i need some help... I have some .scr files and I can exec them on server and they work... but im tired of execing them and i dont want to fill my .cfg up with anymore aliases. soo... can you help me on setting up a cvar for this... its a weapons only mod. I have tried thread one and it looks like it should be correct but looks are decieving. I need like the cvar named "weap" and the cases to be rifle, pistol, and all.

Also I would like to make a cvar that ables and disables our silenced pistol mod... like when we do rifles and pistol only I dont want the silencer mod there without shutting down the server and switching a pk3... can you help me with that also?

Re: Weapons Cvar

Posted: Wed Dec 27, 2006 11:10 pm
by Rookie One.pl
BBmac wrote:Ok i need some help... I have some .scr files and I can exec them on server and they work... but im tired of execing them and i dont want to fill my .cfg up with anymore aliases. soo... can you help me on setting up a cvar for this... its a weapons only mod. I have tried thread one and it looks like it should be correct but looks are decieving. I need like the cvar named "weap" and the cases to be rifle, pistol, and all.
Sorry, m8, but that's just meaningless rattle to me. What are you talking about?

Posted: Wed Dec 27, 2006 11:20 pm
by Green Beret
This should give you the basic idea :wink:
/forum/viewtopic.php?t=10461

Posted: Thu Dec 28, 2006 12:02 am
by BBmac
thx... i got one for silencer set up... and it works GREAT! but i have some .scr's that i exec in the game but at the end of round (ctf gametype), server doesnt restart properly. Does anyone know why this is? It only happens when i exec the file...