Alliedassault           
FAQ Calendar
Go Back   Alliedassault > Lounge > Tech Questions & Problems
Reload this Page calling $args
Tech Questions & Problems Ask our resident experts about any military shooter game server administration and other technical issues.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
setcvar
Old
  (#3)
tltrude is Offline
Senior Member
 
Posts: 150
Join Date: Jan 2002
Location: Altus, OK, USA
   
Default setcvar - 05-03-2003, 03:30 AM

I think what you are looking for is "setcvar".

setcvar "mycvarname" "myvalue"

cvar is a 'console variable', i.e. a variable accessible through the console. So if you type mycvarname in the console it would bring up the message myvalue--if it was set before hand.

There is also "getcvar" and you can see a list of cvars that are already in the game by typing "cvarlist" in the console.

Hope that helps.
  
Reply With Quote
 



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



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.