Raised This Month: $ Target: $400
 0% 

Giving Spawned Entity RGB Color


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
akysiev
Junior Member
Join Date: Mar 2006
Location: Earth
Old 03-22-2006 , 11:22  
Reply With Quote #1

floatstr accepts a string parameter, not an array of floats. Just pass colorvec like so:

Code:
entity_set_vector(avatar[id], EV_VEC_rendercolor, colorvec);
akysiev 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 16:35.


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