Raised This Month: $ Target: $400
 0% 

models & Glow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 11-19-2010 , 13:08   Re: models & Glow
Reply With Quote #1

Code:
new Float:vecGlowColors[3]     entity_get_vector(iId, EV_VEC_rendercolor, vecGlowColors)         if(xs_vec_equal(vecGlowColors, {0.0, 255.0, 0.0})     {         // Blue color as glow.     }
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-19-2010 , 16:37   Re: models & Glow
Reply With Quote #2

Quote:
Originally Posted by meTaLiCroSS View Post
Code:
new Float:vecGlowColors[3]     entity_get_vector(iId, EV_VEC_rendercolor, vecGlowColors)         if(xs_vec_equal(vecGlowColors, {0.0, 255.0, 0.0})     {         // Blue color as glow.     }
1. You should tag it as Float.
2. Blue is 0,0,255 not 0,255,0.

Code:
new Float:vecGlowColors[3]     entity_get_vector(iId, EV_VEC_rendercolor, vecGlowColors)         if(xs_vec_equal(vecGlowColors, Float:{0.0, 0.0, 255.0})     {         // Blue color as glow.     }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



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