Raised This Month: $ Target: $400
 0% 

models & Glow


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-20-2010 , 00:16   Re: models & Glow
Reply With Quote #7

Quote:
Originally Posted by zombieplague View Post
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 }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode