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(255, 0, 0, -1.0, 0.00, 0, 6.0, 12.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(255, 0, 0, -1.0, 0.00, 0, 6.0, 12.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).
__________________