Raised This Month: $ Target: $400
 0% 

Rendercolor


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Stephen
Senior Member
Join Date: Aug 2004
Old 03-10-2006 , 10:07   Rendercolor
Reply With Quote #1

Hi.

How would i make it so i can choose the rendercolor of an created Entity ?

entity_set_vector(id,EV_VEC_rendercolor, ???? )

I tried that but somehow i got errors when compiling so i removed it again.

I wanna be able to create Red , Green, Blue colors.
_________

This is what i have now. But i dont get an effect once im trying to change the colors in the console when spawning the entity

read_argv(7, rencol, 33)
new Float:RenderColor[3]
RenderColor[0] = float(str_to_num(r))
RenderColor[1] = float(str_to_num(g))
RenderColor[2] = float(str_to_num(b))
__________________
www.corona-bytes.net (ECX = ESF Addon)
Stephen 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 20:26.


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