Quote:
Originally Posted by Psymetrix
The return inside the loop breaks it.
|
Quote:
Originally Posted by iTorran
pawn Code:
stock ExplodeAll() { new Float:X, Float:Y, Float:Z; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { GetPlayerPos(i, X, Y, Z); CreateExplosion(X, Y, Z, 7, 100.0); } } }
|
This loop? Its not returning any value? What's the problem?