help please...
#4

online?
pawn Код:
new topid,secondid,topcash,secondcash;
for(new i=0;i<MAX_PLAYERS;i++)
{
    if(GetPlayerMoney(i) > topcash)
    {
        topcash = GetPlayerMoney(i);
        topid = i;
    }
    if(GetPlayerMoney(i) > secondcash && i != topid)
    {
        secondcash = GetPlayerMoney(i);
        secondid = i;
    }
}
Reply


Messages In This Thread
help please... - by Lutsen - 29.12.2010, 22:23
Re: help please... - by _rAped - 29.12.2010, 22:24
Re: help please... - by Lutsen - 29.12.2010, 22:49
Re: help please... - by cessil - 29.12.2010, 22:53

Forum Jump:


Users browsing this thread: 4 Guest(s)