Quote:
Originally Posted by zombieplague
i understand it pretty easy for you.
cs_get_user_model == SAS.mdl ?
and i asked for how to get the user glow not set them.
@Exolent so i have to use xs ?
@meta i will try.
|
cs_get_user_model() gives a string representation of the player's model.
You have to use
equali() to compare the string.
Code:
new szModel[ 32 ];
cs_get_user_model( iPlayer, szModel, charsmax( szModel ) );
if( equal( szModel, "model name") )
{
// player has "model name" model
}
You don't need xs to check that color.
It really just does this:
Code:
if( vecGlowColors[ 0 ] == 0.0 && vecGlowColors[ 1 ] == 0.0 && vecGlowColors[ 2 ] == 255.0 )
{
// blue glow
}
__________________