Weapons Cvar

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
BBmac
Sergeant
Posts: 54
Joined: Sat Oct 28, 2006 6:05 am

Weapons Cvar

Post 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?
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Re: Weapons Cvar

Post 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?
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

This should give you the basic idea :wink:
/forum/viewtopic.php?t=10461
Image
BBmac
Sergeant
Posts: 54
Joined: Sat Oct 28, 2006 6:05 am

Post 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...
Post Reply