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(255, 0, 0, -1.0, 0.00, 0, 6.0, 12.0)
show_hudmessage(0,"VIP %s joined with server!",name)
return PLUGIN_HANDLED
}
if(get_user_flags(id) & ADMIN_KICK)
{
set_hudmessage(255, 0, 0, -1.0, 0.00, 0, 6.0, 12.0)
show_hudmessage(0,"ADMIN %s joined with server!",name)
return PLUGIN_HANDLED
}
return PLUGIN_HANDLED
__________________