Code: Select all
g_Rounds = register_cvar("zpvip_rounds", "3"); public HLTV(){ arrayset(g_0Chosen, false, g_MaxPlayers); for (new Client = 1, Rounds = get_pcvar_num(g_Rounds); Client <= g_MaxPlayers; Client++) { if (!is_user_connected(Client)) continue; if (g_0Choice[Client] && ++g_0Rounds[Client] > Rounds) { g_0Choice[Client] = false; g_0Rounds[Client] = 0; } }}
Code: Select all
if (userflags & g_access_flag[ACCESS_ADMIN_MENU])
Ta prasme ka darasyti kad leistu naudot tik kas kelis round?