Quote:
Originally Posted by DarkBr
PHP код:
public missionTimer()
{
if(!(1 <= mission <= 6))
{
new mss;
mss = random(2-1)+1;
switch(mss) {
case 1:
{
foreach(new i : Player)
{
if (isLEO(i))
{
SendClientMessage(i, COLOR_PURPLE, "Misiunea 'Disparutul' a fost raportata ! (/startmission)");
}
}
}
case 2:
{
foreach(new i : Player)
{
if (isLEO(i))
{
SendClientMessage(i, COLOR_PURPLE, "Misiunea 'Alah akbar!' a fost raportata ! (/startmission)");
}
}
}
}
}
return 1;
}
|
Why i didn't get the message for 2 mission?