Raised This Month: $ Target: $400
 0% 

Rendering In TS.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
dutchmeat
Senior Member
Join Date: Sep 2006
Old 01-19-2007 , 14:01   Re: Rendering In TS.
Reply With Quote #2

take a look at this:

Code:
// Taken from csdm_protection.sma by BAILOPAN.  
     stock _set_rendering(index, fx=kRenderFxNone, r=255, g=255, b=255, render=kRenderNormal, amount=16)  
     {  
     set_pev(index, pev_renderfx, fx);  
     new Float:RenderColor[3];  
     RenderColor[0] = float(r);  
     RenderColor[1] = float(g);  
     RenderColor[2] = float(b);  
     set_pev(index, pev_rendercolor, RenderColor);  
     set_pev(index, pev_rendermode, render);  
     set_pev(index, pev_renderamt, float(amount));  
      
     return 1;  
     }
but i think you should use 'set_user_rendering' instead:
http://www.amxmodx.org/funcwiki.php?go=func&id=119
__________________
before you criticize someone, you should walk a mile in their shoes. that way, when you criticize them, you're a mile away and you have their shoes.
dutchmeat 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 22:30.


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