PDA

View Full Version : Cvars


aeinema
11-29-2006, 09:56 AM
Hey, this is TGL_disturbed dwarf. I've added several plugins from your server and they work awesome. My question is this: I'll use the Unlimited Grenades for an example. I know hot to install the plugin on my server. But that is pretty much it. I'm very new so I'm still figuring this all out. When I want to add code or cvars into my amxx.config, I'm screwing it up. Do I just copy and paste into my config like this: Cvars: dod_grenades (0|1) . Or do I skip the numbers and make it look like this : Cvars: dod_grenades. Or is there another way I'm missing. Please let me know, any help is greatly appreciated. Thanks.


TGL_disturbed dwarf

=|[76AD]|= TatsuSaisei
11-29-2006, 12:16 PM
Hey, this is TGL_disturbed dwarf. I've added several plugins from your server and they work awesome. My question is this: I'll use the Unlimited Grenades for an example. I know hot to install the plugin on my server. But that is pretty much it. I'm very new so I'm still figuring this all out. When I want to add code or cvars into my amxx.config, I'm screwing it up. Do I just copy and paste into my config like this: Cvars: dod_grenades (0|1) . Or do I skip the numbers and make it look like this : Cvars: dod_grenades. Or is there another way I'm missing. Please let me know, any help is greatly appreciated. Thanks.


TGL_disturbed dwarf
cvars go in amxx.cfg.. example...

dod_grenades 1

aeinema
11-30-2006, 05:38 AM
Thanks for the help. Can I type that in console with a zero to shut off, after I've put in the cfg with only a 1?

=|[76AD]|= TatsuSaisei
11-30-2006, 10:36 AM
Thanks for the help. Can I type that in console with a zero to shut off, after I've put in the cfg with only a 1?

Yes

Through some back door program like HLSW you would type dod_grenades 0 in console...

If you are ON the server and want to change it live while you are playing you would type:

amx_rcon dod_grenades 0

aeinema
11-30-2006, 02:05 PM
Cool. I have hlsw. Thank you TatsuSaisei, I greatly appreciate your help. A whole world is now open to me. You guys kick ass. I will tell everyone that asks about plugins about your site. Peace.





TGL_disturbed dwarf