Raised This Month: $ Target: $400
 0% 

Giving Spawned Entity RGB Color


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Stephen
Senior Member
Join Date: Aug 2004
Old 03-22-2006 , 08:58  
Reply With Quote #1

This is what i have

Code:
new Float:colorvec[3];     colorvec[0] = Float:floatstr(red)     colorvec[1] = Float:floatstr(green)     colorvec[2] = Float:floatstr(blue)       entity_set_vector(avatar[id], EV_VEC_rendercolor, Float:floatstr(colorvec) );

But im getting 1 error and 1 Warning on the last line.

Warning 213: tag mismatch
Error 035: argument type mismatch (argument 3)
__________________
www.corona-bytes.net (ECX = ESF Addon)
Stephen 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