Raised This Month: $ Target: $400
 0% 

Admin-vip connect? Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Garrey
Member
Join Date: Jan 2010
Old 05-08-2011 , 15:12   Admin-vip connect? Help
Reply With Quote #1

Hi,
I have this code but it doesn't working. :/ Could anyone fix it?

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

public plugin_init()
{
    
register_plugin("ADMIN/VIP Teavitus","0.01","FREE COPY")
}

public 
client_putinserver(id)
{
    new 
name[33]
    
get_user_name(id,name,32)
    
    if(
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
set_hudmessage(25500, -1.00.0006.012.0)
        
show_hudmessage(0,"VIP %s joined with server!",name)
        
        return 
PLUGIN_HANDLED
    
}
    if(
get_user_flags(id) & ADMIN_KICK)
    {
        
set_hudmessage(25500, -1.00.0006.012.0)
        
show_hudmessage(0,"ADMIN %s joined with server!",name)
        
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_HANDLED 
__________________
People are like music, some speak the truth and others are just noise..
Garrey is offline
 


Thread Tools
Display Modes

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 04:21.


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