Raised This Month: $ Target: $400
 0% 

simple, efficient, glow in function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shockblade
Member
Join Date: Dec 2012
Old 01-19-2014 , 04:51   simple, efficient, glow in function
Reply With Quote #1

Hello,
How can I set simple, efficient, glow for each person in function?
__________________
Spoiler
Shockblade is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 01-19-2014 , 06:51   Re: simple, efficient, glow in function
Reply With Quote #2

set_user_rendering
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-22-2014 , 18:29   Re: simple, efficient, glow in function
Reply With Quote #3

Quote:
Originally Posted by GuskiS View Post
set_user_rendering
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-19-2014 , 19:58   Re: simple, efficient, glow in function
Reply With Quote #4

Is this a request for a plugin or are you trying to learn?
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Shockblade
Member
Join Date: Dec 2012
Old 01-22-2014 , 12:15   Re: simple, efficient, glow in function
Reply With Quote #5

Quote:
Originally Posted by hornet View Post
Is this a request for a plugin or are you trying to learn?
What? I know only one method... and there is more and i dont know which is the best...
__________________
Spoiler
Shockblade is offline
Leonidddd
Member
Join Date: Apr 2012
Old 01-24-2014 , 04:44   Re: simple, efficient, glow in function
Reply With Quote #6

PHP Code:
stock fm_set_rendering(entityfx kRenderFxNone255255255render kRenderNormalamount 16)
{
    static 
Float:color[3]
    
color[0] = float(r)
    
color[1] = float(g)
    
color[2] = float(b)
    
    
set_pev(entitypev_renderfxfx)
    
set_pev(entitypev_rendercolorcolor)
    
set_pev(entitypev_rendermoderender)
    
set_pev(entitypev_renderamtfloat(amount))

Maybe it will be better?
Leonidddd is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-24-2014 , 05:30   Re: simple, efficient, glow in function
Reply With Quote #7

Quote:
Originally Posted by Leonidddd View Post
PHP Code:
stock fm_set_rendering(entityfx kRenderFxNone255255255render kRenderNormalamount 16)
{
    static 
Float:color[3]
    
color[0] = float(r)
    
color[1] = float(g)
    
color[2] = float(b)
    
    
set_pev(entitypev_renderfxfx)
    
set_pev(entitypev_rendercolorcolor)
    
set_pev(entitypev_rendermoderender)
    
set_pev(entitypev_renderamtfloat(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.
hornet is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 01-24-2014 , 04:49   Re: simple, efficient, glow in function
Reply With Quote #8

No.

set_user_rendering - players
fm_set_rendering - players / entities

Last edited by guipatinador; 01-24-2014 at 04:53.
guipatinador is offline
Leonidddd
Member
Join Date: Apr 2012
Old 01-24-2014 , 04:54   Re: simple, efficient, glow in function
Reply With Quote #9

Okey,thanks.
Leonidddd is offline
Reply


Thread Tools
Display Modes

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 10:05.


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