10.09.2016, 22:04
Did you restart your server by typing gmx in server console? (or any other equivalent)
If so, don't do it anymore. Just stop&start the server.
// Why don't you simply test foreach like this:
If var == player count, then the issue lies in your code.
If so, don't do it anymore. Just stop&start the server.
// Why don't you simply test foreach like this:
Код:
CMD:hello(playerid, params[]) { new var = 0; foreach(new i : Player) { printf("Iterating\n"); var++; } printf("Result : %d ",var); return 1; }