Raised This Month: $ Target: $400
 0% 

Rendering Entites?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lunarwolfx
Member
Join Date: Feb 2005
Old 01-30-2007 , 08:54   Re: Rendering Entites?
Reply With Quote #3

Quote:
Originally Posted by SixTwin View Post
Iv been trying to figure out how to render NPC's/Entites with fakemeta, this is what i have no far:
Code:
public render_test(id) {     new Ent,body     get_user_aiming(id,Ent,body,300)     if(!is_valid_ent(Ent)) return PLUGIN_HANDLED     set_pev(Ent, pev_renderfx, kRenderFxNone)     set_pev(Ent, pev_rendercolor, 255,0,0)     set_pev(Ent, pev_rendermode, kRenderNormal)     set_pev(Ent, pev_renderamt, 135.0)     return PLUGIN_HANDLED }
But doesn't seem todo anything, no errors or anything.

that's because KRenderFxNone and KRenderNormal are used to make the entity go back to normal.

Replace KRenderNormal with KRenderTransAlpha, and that will make the entity transparent.
lunarwolfx 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 00:34.


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