Topic says it all.
PHP Code:
public Showrod(id) {
set_task(10.0, "CancelMenu", id);
show_menu(id, Keysrod, "Choose VIP guns:^n\w1. Get M4A1 and Deagle ^n\w2. Get AK47 and Deagle ^n3. Get Galil and Deagle ^n0. Exit^n", -1, "rod") // Display menu
new mapname[11];
get_mapname(mapname, charsmax(mapname));
if (equali(mapname, "awp_india"))
{
client_cmd(id, "slot10");
}
get_mapname(mapname, charsmax(mapname));
if (equali(mapname, "awp_dust"))
{
client_cmd(id, "slot10");
}
get_mapname(mapname, charsmax(mapname));
if (equali(mapname, "cs_deagle5"))
{
client_cmd(id, "slot10");
}
}