thnx for helping me out.
i got 1 error during compilation:
PHP Code:
public clcmd_admin_snapshot_menu(id)
{
new snapmenu = menu_create("Snapshot player:","snap_handle")
for (new i = 1; i <= g_players; i++)
if (is_user_connected(i))
menu_additem(snapmenu, get_user_name(i), num_to_str(i));
menu_display(id, snapmenu, 0);
}
This line:
PHP Code:
menu_additem(snapmenu, get_user_name(i), num_to_str(i));
It says :
Error: Number of arguments does not match definition
where the problemmight be?