hud colors with cvar
How can i put hud message color in cvar? So that i wouldn't need to recompile plugin if i want to change its collor.
PHP Code:
|
Re: hud colors with cvar
You will need a cvar string for colors in rgb format and after parse them 3 by 3 or split them after some delimitator in a vector or how do you want and then replace the first 3 values with your own in the hud set_hudmessage(val1,val2,val3,rest of code..);
|
Re: hud colors with cvar
Try something like this:
Code:
|
Re: hud colors with cvar
Quote:
PHP Code:
|
Re: hud colors with cvar
Quote:
|
| All times are GMT -4. The time now is 16:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.