Raised This Month: $ Target: $400
 0% 

Weapons Arena Easy On/Off


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
greenstar
Member
Join Date: Sep 2007
Old 11-26-2007 , 14:45   Weapons Arena Easy On/Off
Reply With Quote #1

Okay... I know almost nothing about scripting, so I was hoping you guys could help me out with an idea. I use the weaponarena plugin and here's the deal:

1. Could someone make a script so that by pushing one key I could enable or disable the plugin with all of my cvars already set?

2. Would it be possible to write a script so that the plugin is automatically turned on on specified maps but not on others?

Thanks!
greenstar is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 11-26-2007 , 15:23   Re: Weapons Arena Easy On/Off
Reply With Quote #2

1. I'm guessing this could be done by alias.
2. That could be done by map config files, but it's really easy to make.
[ --<-@ ] Black Rose is offline
greenstar
Member
Join Date: Sep 2007
Old 11-26-2007 , 16:41   Re: Weapons Arena Easy On/Off
Reply With Quote #3

Are there links to walkthroughs for these? I'd really like to learn how xD
greenstar is offline
djmd378
Senior Member
Join Date: Sep 2004
Old 11-26-2007 , 23:45   Re: Weapons Arena Easy On/Off
Reply With Quote #4

1. edit the .sma to have your pre defined cvars
2. if there is a cvar/command to turn it on/off, in your configs directory make a folder called "maps" (If it isnt already there) then create <insert map's name that you want this to be on automatically>.cfg file and in that .cfg file, place the cvar that would turn it on in it. for example if "amx_turn_on 1" was the cvar/command that turns it on, then place that in there
__________________
djmd378 is offline
greenstar
Member
Join Date: Sep 2007
Old 11-27-2007 , 15:44   Re: Weapons Arena Easy On/Off
Reply With Quote #5

Well... I created scoutzknives.cfg and it looked like this:

Quote:
sv_airaccelerate 100
mp_gravity 250

weaponarena_on
weaponarena_delay .2
weaponarena_holdknife 0
weaponarena_randomteamspecific 0
It still didn't automatically load =(
greenstar is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode