The variable named "i" is never created. Also your way of using continue is horrible. I believe flagging alive players doesn't give you that much false positives.
.
PHP Code:
for( new player; player < pnum; player++ ) if( is_user_alive( ( tempid = players[ player ] ) ) ) set_user_health( tempid, 100 );
I looked over i.
But i don't understand what's wrong with the continue. I learned it this way.