AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Question] about render player rainbow colors (https://forums.alliedmods.net/showthread.php?t=75713)

vato loco [GE-S] 08-10-2008 18:31

[Question] about render player rainbow colors
 
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

ot_207 08-11-2008 12:34

Re: [Question] about render player rainbow colors
 
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)



vato loco [GE-S] 08-11-2008 13:23

Re: [Question] about render player rainbow colors
 
hehehe very nice...:mrgreen:

it works fine....

thank u so much !!!:mrgreen::up: +karma

king regards

vato


All times are GMT -4. The time now is 03:15.

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