14.12.2009, 18:04
Check if the variable is close to eg 99999 then return the var value which is closest to 99999.
Idk exactly how to make this, but you have to use a for loop AFAIK.
Sorry that I'm not much help..
EDIT:
Try this:
I think it would work.
Idk exactly how to make this, but you have to use a for loop AFAIK.
Sorry that I'm not much help..
EDIT:
Try this:
pawn Код:
//global
new
KillWinner,
MostKills;
pawn Код:
//onplayerdeath
if(PlayerKills[ killerid ] > MostKills)
{
KillWinner = killerid;
MostKills = PlayerKills[ killerid ];
}

