Raised This Month: $ Target: $400
 0% 

Admin-vip connect? Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 05-09-2011 , 07:04   Re: Admin-vip connect? Help
Reply With Quote #7

fysiks
Quote:
That's because he didn't "fix" anything.
That is not true.
PHP Code:
#include <amxmodx>

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

public 
client_putinserver(id)
{
    static 
name[33]
    
get_user_name(id,name,charsmax(name))
    
server_print("%s connected.",name)
    if(
get_user_flags(id) & ADMIN_KICK)
    {
        
server_print("Admin detected.")
        
set_hudmessage(25500, -1.00.0006.012.0)
        
show_hudmessage(0,"ADMIN %s joined with server!",name)
    }
    else if(
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
server_print("Vip detected.")
        
set_hudmessage(25500, -1.00.0006.012.0)
        
show_hudmessage(0,"VIP %s joined with server!",name)
    }




Garrey
Try to change hudmessage coordinates/time.
Also, the one who just connected will not see hudmessage.
And just in case: ADMIN_LEVEL_H is "t" access flag (see 2nd pic).
__________________


Last edited by SonicSonedit; 05-09-2011 at 07:09.
SonicSonedit is offline
 



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