Glow entity
any ideas to make the glow throw cvar?
Example Cvar Glow 255 255 255 this script is now with random glow i want make it work trhow 1 cvar and config it as 255 255 025 and if the cvar is "" so it make the random glow as default PHP Code:
|
Re: Glow entity
I try this but it has 3 cvars :|
if( bool: get_pcvar_num( cvar_glow ) ) { new Float: vector_render[ 3 ]; vector_render[ 0 ] = get_pcvar_float( cvar_red ); vector_render[ 1 ] = get_pcvar_float( cvar_green ); vector_render[ 2 ] = get_pcvar_float( cvar_blue ); entity_set_vector( entity, EV_VEC_rendercolor, vector_render ); } |
Re: Glow entity
Read the cvar as a string and use parse to get each number, then str_to_num.
|
Re: Glow entity
Any Example?
|
Re: Glow entity
|
Re: Glow entity
|
Re: Glow entity
thanx but not helpfull
|
Re: Glow entity
PHP Code:
|
Re: Glow entity
Quote:
|
| All times are GMT -4. The time now is 23:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.