previous method was much better you just now ruined it.
if it crashes thats means there's something going wrong in the code, debug and test when the crash acquires.
if you want to loop all players alive use this method its much faster
Code:
new players[32], pnum;
get_players(players, pnum, "ah"); // flag a to loop alive clients only, flag h is to skip HLTV
for(new i ; i < pnum; i++ )
{
new player_index = players[ i ];
}
also you need to show what's the body of fm_strip_user_gun(id, weapons[i]); and how it works...
__________________