stock GetRichestPlayer(){ new maxc,maxpid,tcs; for(new a=0; a<MAX_PLAYERS; a++) { if(!IsPlayerConnected(a)) continue; tcs = GetPlayerMoney(a); if(tsc > maxc) { maxpid = a; maxc = tsc; } } return maxpid;}