Raised This Month: $ Target: $400
 0% 

Fakemeta Glow Shell


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Minimum
Senior Member
Join Date: Jun 2006
Old 04-05-2007 , 17:24   Fakemeta Glow Shell
Reply With Quote #1

Having problems with Fakemeta Glow Shell not working. I couldn't find anything to help me on making Glow Shell code so I'm posting here. Also, I have a function which is not here that sets the variables. I tested the variables and they were fine.

Code:
new cl_glow[33] = 0         // Player Glow On/Off new cl_glowred[33] = 255            // Player Glow: Red new cl_glowgreen[33] = 255      // Player Glow: Green new cl_glowblue[33] = 255       // Player Glow: Blue /*      Client Post Think */  public client_PostThink(id) {     if(get_cvar_num("gabion_speedsystem") > 0) set_pev(id,pev_maxspeed,cl_maxspeed[id])     if(cl_alpha[id] < 255) {         set_pev(id, pev_rendermode, kRenderTransAlpha)         set_pev(id, pev_renderamt, float(cl_alpha[id]))     }     if(cl_glow[id] > 0) {         set_pev(id, pev_renderfx, kRenderFxGlowShell)         set_pev(id, pev_rendercolor, cl_glowred[id], cl_glowgreen[id], cl_glowblue[id])     }     return PLUGIN_CONTINUE }

Last edited by Minimum; 04-05-2007 at 17:28.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-05-2007 , 18:16   Re: Fakemeta Glow Shell
Reply With Quote #2

Here an team06's function :

Code:
set_rendering2( player, kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 40 )

Code:
//teame06's function public set_rendering2(index,fx,r,g,b,render,amount) {     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)); }

It works fine. I hope that it will help you a little.
__________________

Last edited by Arkshine; 04-05-2007 at 20:29.
Arkshine is offline
Minimum
Senior Member
Join Date: Jun 2006
Old 04-05-2007 , 23:59   Re: Fakemeta Glow Shell
Reply With Quote #3

Works. Thank you.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
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 08:55.


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