if(PlayerRank[id] == 17) { //Oyuncu Eğer RANK_GENERAL_OF_THE_ARMY Rütbesine Sahip İse
public AnaMenu(id) {
if(is_user_alive(id) && is_user_connected(id)) {
new menu = menu_create("\r* [CSAilesi | Stres Carki Menu] * ","AnaMenuHandle")
//if(PlayerRank[id] == 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 ........ | 17)
//if(PlayerRank[id] == 1, 2, 3, 4, 5, 6, 7, 8, 9, ........ , 17) ;Hangisiydi Hiç Hatırlamıyorum
menu_additem(menu , "Stres Carki 1", "1", 0)
else
menu_additem(menu , "\dStres Carki 1", "1", 0)
//if(PlayerRank[id] == 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 ........ | 17)
//if(PlayerRank[id] == 2, 3, 4, 5, 6, 7, 8, 9, ........ , 17) ;Hangisiydi Hiç Hatırlamıyorum
menu_additem(menu , "Stres Carki 2", "2", 0)
else
menu_additem(menu , "\dStres Carki 2", "2", 0)
//if(PlayerRank[id] == 3 | 4 | 5 | 6 | 7 | 8 | 9 ........ | 17)
//if(PlayerRank[id] == 3, 4, 5, 6, 7, 8, 9, ........ , 17) ;Hangisiydi Hiç Hatırlamıyorum Hatta Hiçbiri Olmayabilir.
menu_additem(menu , "Stres Carki 3", "3", 0)
else
menu_additem(menu , "\dStres Carki 3", "3", 0)
menu_additem(menu , "Stres Carki 4", "4", 0)
menu_additem(menu , "Stres Carki 5", "5", 0)
menu_additem(menu , "Stres Carki 6", "6", 0)
menu_additem(menu , "Stres Carki 7", "7", ADMIN_LEVEL_B)
menu_setprop(menu,MPROP_EXITNAME,"Cikis ^n^n\yby \rPowereXe");
menu_setprop(menu,MPROP_EXIT,MEXIT_ALL);
client_cmd(id, "spk %s", sPage);
menu_display(id,menu)
return PLUGIN_HANDLED
}
else
{
ColorChat(id,NORMAL,"^4[%s]: ^3Ozel Stres Carki Menusune^1 Girebilmek Icin ^4Hayatta^1 Olmamaniz Gerekiyor.!",TAG)
client_cmd(id, "spk %s", sNo)
}
return PLUGIN_HANDLED
}