Code:
public go()
{
going(test);
}
public going(test)
{
new pname[32];
get_user_name(target,pname,31);
client_print(0, print_chat, "%s", pname)
}
i have save a value to "test" (the value is player index)
i want show pname to admin only....how i can do this?
i have to try...than error undefined symbol "id"
Code:
public going(test)
{
new pname[32];
get_user_name(target,pname,31);
if (get_user_flags(id)&ADMIN_LEVEL_H)
{
client_print(id, print_chat, "%s", pname)
}
}