09.07.2011, 03:58
Faith, the no answer spam is caused by whenever your loop goes through an id that isn't in the virtual world it defaults to your else statement.. every time... here's my style of fixing this, put the no answer outside of the for loop, and before the loop make a variable, we can call it check. since when a variable is made it defaults to zero, so where you have the
one line below that put check = 1; and after the loop have an if statement saying
Код:
SendClientMessage(i, COLOR_YELLOW, "( I ) Riiing.. riing.");
Код:
if (check != 1) SendClientMessage(playerid, COLOR_YELLOW, "( I ) No answer");