Raised This Month: $32 Target: $400
 8% 

[REQUEST] VIP Glow Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
SAJAL
Junior Member
Join Date: May 2020
Old 07-17-2020 , 02:35   Re: [REQUEST] VIP Glow Plugin
Reply With Quote #11

Quote:
Originally Posted by popeye10 View Post
Try this
PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <cstrike>  
#include <fun> 
#include <hamsandwich> 

#define PLUGIN "VIP Glow" 
#define VERSION "1.0" 
#define AUTHOR "Author" 

new const VIP_ACCESS ADMIN_LEVEL_H

public plugin_init()  

    
register_plugin(PLUGINVERSIONAUTHOR
    
RegisterHam(Ham_Spawn"player""PlayerPostSpawn"1); 


public 
PlayerPostSpawn(idkey
{     
    if(
is_user_alive (id) && get_user_flags(id) & VIP_ACCESS
    {
        switch(
key)
    {
        case 
CS_TEAM_CT:
        {
            
set_user_rendering(idkRenderFxGlowShell0,255kRenderNormal16)
        }
        
        case 
CS_TEAM_T:
        {
            
set_user_rendering(idkRenderFxGlowShell255,0kRenderNormal16)
        }
    }
    } 
    return 
PLUGIN_HANDLED  

I compiled it, the compiler gives no issues, but the plugin is not working when I say glow or /glow, can you provide the working plugin? Or tell me how to get it working
SAJAL is offline
DON KHAN 1
Senior Member
Join Date: Mar 2019
Location: Pakistan
Old 07-17-2020 , 05:32   Re: [REQUEST] VIP Glow Plugin
Reply With Quote #12

Quote:
Originally Posted by SAJAL View Post
I compiled it, the compiler gives no issues, but the plugin is not working when I say glow or /glow, can you provide the working plugin? Or tell me how to get it working
why not use this? which is provided by @Kia
PHP Code:
#include <amxmodx>  
#include <amxmisc>  
#include <cstrike>   
#include <fun>  
#include <hamsandwich>  

#define PLUGIN "VIP Glow"  
#define VERSION "1.0"  
#define AUTHOR "Author"  

new const VIP_ACCESS ADMIN_LEVEL_H 

public plugin_init()   
{  
    
register_plugin(PLUGINVERSIONAUTHOR)  
    
RegisterHam(Ham_Spawn"player""PlayerPostSpawn"1);  
}  

public 
PlayerPostSpawn(id)  
{      
    if(
is_user_alive (id) && get_user_flags(id) & VIP_ACCESS)  
        
set_user_rendering(idkRenderFxGlowShellcs_get_user_team(id) == CS_TEAM_CT 2550cs_get_user_team(id) == CS_TEAM_CT 255 0kRenderNormal16)

And also bumping old thread is not allowed, if u need any help so make new thread.
__________________
Facebook
My YouTube
Ro{Y}aL WarLanD CommuniTy
Selling Zombie CSO 4.3 Money System Mod

Last edited by DON KHAN 1; 07-17-2020 at 05:34.
DON KHAN 1 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 23:01.


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