19.03.2015, 06:48
im trying to figure out a way to find out who got the most score in one day, i can't figure it out.
I can't see where to get that info, if that player got most score, then they get a prize.
pawn Код:
new scoreholder[MAX_PLAYERS];
public OnPlayerDeath(playerid,killerid,reason)
{
if(killerid != INVALID_PLAYER_ID)
{
scoreholder[killerid]++;
}
return 1;
}
//to be used with something else
stock CheckScore()
{
for(new y=0; y<MAX_PLAYERS; y++)
{
}
return 1;
}