06.06.2014, 19:39
You have to save player numbers in variable and reset it at the end of lottery
But remember to reset this variable for all players (use loop) at the end of lottery
Код:
new playaNumber[MAX_PLAYERS]; //OnPlayerConnect playaNumber[playerid] = -1; //command for(new i; i != MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && playaNumber[i] == lottonum) //someone got this number, return something } //rest of code