Raised This Month: $ Target: $400
 0% 

[Question] about render player rainbow colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 08-10-2008 , 18:31   [Question] about render player rainbow colors
Reply With Quote #1

hi everyboby...
i've got one question...
is it possible to make player glow
in random colors changing his color permanently???
i have no idea how to do this.

i would be happy about every help i get !!!

thx in advance

regards vato
__________________
vato loco [GE-S] is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-11-2008 , 12:34   Re: [Question] about render player rainbow colors
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>

#define PLUGIN    "Script"
#define AUTHOR    "OT"
#define VERSION    "0"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
client_connect(id)
{
    
set_task(0.1,"render_change",id)
}

public 
client_disconnect(id)
{
    
remove_task(id)
}

public 
render_change(id)
{
    if (
is_user_alive(id))
        
set_user_rendering(idkRenderFxGlowShellrandom_num(0,255), random_num(0,255), random_num(0,255),kRenderTransAlpha255)
    
set_task(0.1,"render_change",id)

__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 08-11-2008 at 12:53.
ot_207 is offline
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 08-11-2008 , 13:23   Re: [Question] about render player rainbow colors
Reply With Quote #3

hehehe very nice...

it works fine....

thank u so much !!! +karma

king regards

vato
__________________
vato loco [GE-S] is offline
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 03:15.


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