show us g_money, cause you are first using one argument, and then two...
Salepate is right about the player loop, although i would've used iPlayers[i] instead of making a new variable...
Also, a variable can't have the same name as a function...
__________________
before you criticize someone, you should walk a mile in their shoes. that way, when you criticize them, you're a mile away and you have their shoes.