Tere Otsin abi sellise asjaga et, deathruniga..
public TerroVahetus(id) {
if(!g_RoundEnded)
return;
new players[32], pnum, iRealPlayers;
for(new i = 1; i
if(!(g_rtt&1
continue
if(cs_get_user_team(i)==CS_TEAM_T) {
cs_set_user_team(i, CS_TEAM_CT);
g_rtt |= 1
} else {
players[pnum++] = i;
}
}
for(new i = 0; i
if(is_user_connected(i) && cs_get_user_team(i) == CS_TEAM_CT ||is_user_connected(i) && cs_get_user_team(i) == CS_TEAM_T)
iRealPlayers++;
}
if(pnum > 0 && iRealPlayers > 1) {
new newTerr = players[random(pnum)];
cs_set_user_team(newTerr, CS_TEAM_T);
UusTerro(newTerr);
g_Curr_T = newTerr;
g_rtt &= ~(1
return;
}
g_Curr_T = 0;
}
OSKAB keegi õelda mis valesti mis õigesti .. Tahaks seda nii et Ainult 1 terro saab olla igaround deathrunnis ..
Kuid on 2-3 inimest korraga deathruni terrona :S
Oleks v6imalik abi saada ?