Reading the value of a cvar
How can I get the value of a cvar? for example, how can i store in a variable the value of mp_timelimit? (i dont remember if there's an actual cvar of mp_timelimit but you get my point)
|
Re: Reading the value of a cvar
you mean how to you read what cvars are set to?
If yes than you must have admin with access to cvar. (The g flag) If you have access to it than just type in console amx_cvar mp_timelimit or amx_cvar "CvarNameYouWishToView" |
Re: Reading the value of a cvar
Existing cvar value that you will need to read only once:
PHP Code:
PHP Code:
|
Re: Reading the value of a cvar
Quote:
To the one who helped me - thanks! |
| All times are GMT -4. The time now is 00:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.