Raised This Month: $51 Target: $400
 12% 

Solved Help Me Plz


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 12-24-2021 , 15:06   Help Me Plz
Reply With Quote #1

Hi Guys I need Plugin Give Admins Red Glow Level H
and vips Green Glow Level B
QuickDroLLL is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-24-2021 , 15:27   Re: Help Me Plz
Reply With Quote #2

If your thread is "solved" why ask for help?

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

#define set_player_glow(%1,%2,%3,%4) set_user_rendering(%1, kRenderFxGlowShell, %2, %3, %4, kRenderTransAlpha, 40)

enum GlowList GlowFlagsGlowRedGlowGreenGlowBlue }

new const 
g_eGlowList[][GlowList] =
{
    { 
ADMIN_LEVEL_H2550},
    { 
ADMIN_LEVEL_B0255}
}

public 
plugin_init()
{
    
register_plugin("Admin Glow""1.0""OciXCrom")
    
RegisterHam(Ham_Spawn"player""OnPlayerSpawn"1)
}

public 
OnPlayerSpawn(id)
{
    if(
is_user_alive(id))
    {
        
set_user_rendering(id)

        for(new 
iFlags get_user_flags(id), isizeof(g_eGlowList); i++)
        {
            if(
iFlags g_eGlowList[i][GlowFlags])
            {
                
set_player_glow(idg_eGlowList[i][GlowRed], g_eGlowList[i][GlowGreen], g_eGlowList[i][GlowBlue])
                break
            }
        }
    }

__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 12-25-2021 , 12:10   Re: Help Me Plz
Reply With Quote #3

Sry Its Just Mistake
QuickDroLLL 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:32.


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