CVAR question
Is it possible to set a cvar through scripting thats allready a built-in cvar?
EXAMPLE: mp_timelimit |
Re: CVAR question
Code:
Other way is pcvar Code:
If your going to use this cvar alot I would store the pointer in an global variable and would use pcvar vs the old cvar retrieval |
Re: CVAR question
Thanks, i'm doing a simple plugin and didn't know how :D
EDIT: Would I have to register anything if i'm JUST setting that cvar and a message? |
| All times are GMT -4. The time now is 06:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.