So, as I have promised I am remaking Dunn0's VIP plugin and I am doing quite well with whole Allied Modders community. But I have few problems. This code doesn't print the message...
PHP Code:
public cmdvipmenu(id)
{
if ( is_user_alive(id) )
{
if (get_user_flags(id) & ADMIN_LEVEL_H)
{
if ( gMenuUsed[id] == menu_uses )
{
client_print( id, print_center, "%L", id, "VIP_MENU_PER_ROUND", menu_uses );
}
}
}
return PLUGIN_HANDLED;
}
P.S. It's only a part from cmdvipmenu, that doesn't work, everything else does.