From ZDoom Wiki
(Redirected from SetUserCVar)
bool SetUserCVar (int playernumber, str cvar, int value);
- player: player number of the player .
- cvar: name of a console variable.
- value: value to apply to said console variable.
Returns FALSE if cvar is invalid, it is not writable, or the player doesn't exist. Returns TRUE if the cvar is set successfully.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.|
|Console variable functions|