Hallo,
Ich bin's mal wieder mit meinen Schleifen ![]()
Unswar ist das Problem, dass mir die Nachricht so oft gesendet wird, wie auch Spieler online sind.
Habe es hier auch schon mit einem bool versucht ![]()
new bool:SendMSG;
for(new i;i<MAX_PLAYERS;i++)
{
SendMSG = true;
if(!IsPlayerConnected(i)) continue;
format(string,sizeof(string),"Properties: $%d Zone/s: $%d (%d zone/s) Job: $%d",BMoney[i],iMoney[i], ( iMoney[i] / 300 ) , JMoney[i]);
format(stringd,sizeof(stringd),"Unternehmen: $%d Gebiet/e: $%d (%d Gebiet/e) Job: $%d",BMoney[i],iMoney[i], ( iMoney[i] / 300 ) , JMoney[i]);
if(SendMSG) {
ClientLanguageText(i,COLOR_ORANGE,string,stringd);
SendMSG = false;
}
}
Hoffe mir kann das nochmal einer erklären. ![]()
lg
