16.05.2013, 19:35
OnPlayerConnect: Biglietto[playerid] = -1;
And inside the public estrazione at the bottom add this:
And about the 1st loop which checks if a player has the lotto number i don;t know how you came up with i!=MAX_PLAYERS neither whether its good or bad but I always use i<MAX_PLAYERS as I ve seen it being used in all scripts I ve seen.
And inside the public estrazione at the bottom add this:
pawn Код:
for (new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
Biglietto[i] = -1;
}
}