Quote:
Originally Posted by Exolent[jNr]
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 }
|
so what if it has more than 1 model listed ? like SAS, JILL, BOXER ?
just put without the .mdl ?
another question if i have a model menu.
when someone chooses sas then how to make it next round then change into sas rather than changing to sas right away.