While-loops are notorious for causing infinite loops, it's not very common in for-loops. These are some very quick examples about infinite for-loops:
pawn Код:
for( ; ; ){}
for(new i; i < MAX_PLAYERS; i++) { --i; }
There are not another reason for stuck server? because the examples you gave here not in my mode for sure .... what about what I showed here? with sizeof.. maybe this is the problem ?