|
Author
|
Message
|
|
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
|

01-24-2014
, 05:30
Re: simple, efficient, glow in function
|
#1
|
Quote:
Originally Posted by Leonidddd
PHP Code:
stock fm_set_rendering(entity, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16)
{
static Float:color[3]
color[0] = float(r)
color[1] = float(g)
color[2] = float(b)
set_pev(entity, pev_renderfx, fx)
set_pev(entity, pev_rendercolor, color)
set_pev(entity, pev_rendermode, render)
set_pev(entity, pev_renderamt, float(amount))
}
Maybe it will be better?
|
Most definitely not - your calling 4 natives to achieve the same result of which can be achieved with 1 native.
__________________
Quote:
|
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
|
|
|
|
|