14.07.2011, 15:36
Hi i use mysql and i want to check if my randomly generated code already exists and if so, it compiles a new one untill it not exists!
how to make that check?
pawn Код:
stock GeneratePhoneNumber(playerid)
{
PLAYERS[playerid][Number] = 10000 + random(89999);
return 1;
}