Raised This Month: $ Target: $400
 0% 

Player Glow Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Giass
Member
Join Date: Aug 2011
Location: {Israel}
Old 12-23-2011 , 13:29   Re: Player Glow Plugin
Reply With Quote #1

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

#define user_vip(%1) (get_user_flags(%1) & ADMIN_RESERVATION)

public plugin_init()
{
    
register_plugin("Glow""1.0""RuRuRu612754")
    
register_clcmd("say /glow_blue""glow_blue")
    
register_clcmd("say /glow_green""glow_green")
    
register_clcmd("say /glow_red""glow_red")
    
register_clcmd("say /glow_off""glow_off")
}

public 
glow_blue(id)
{
    if(
user_vip(id))
    {
        
set_user_rendering(idkRenderFxGlowShell00255kRenderNormal51)
    }
}

public 
glow_green(id)
{
    if(
user_vip(id))
    {
        
set_user_rendering(idkRenderFxGlowShell02550kRenderNormal51)
    }
}

public 
glow_red(id)
{
    if(
user_vip(id))
    {
        
set_user_rendering(idkRenderFxGlowShell25500kRenderNormal51)
    }
}

public 
glow_off(id)
{
    if(
user_vip(id))
    {
        
set_user_rendering(idkRenderFxGlowShell000kRenderNormal255)
    }


http://www.amxmodx.org/webcompiler.cgi?go=dl&id=1275039

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Header size: 292 bytes
Code size: 1004 bytes
Data size: 484 bytes
Stack/heap size: 16384 bytes; estimated max. usage=40 cells (160 bytes)
Total requirements: 18164 bytes
Done.
__________________
All you need is carb

Last edited by Giass; 12-23-2011 at 13:34.
Giass 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 12:03.


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