21.06.2013, 09:42
The player is the only one who can insert text into the textbox of a dialog, so you'll have to insert the spaces yourself
EDIT: i think i misunderstood it!
sscanf is a good alternative for this!
EDIT: i think i misunderstood it!
sscanf is a good alternative for this!
pawn Код:
new nmbr[7];
if(sscanf(playerid, "iiiiiii", nmbr[0], nmbr[1], nmbr[2], nmbr[3], nmbr[4], nmbr[5], nmbr[6]))
{
//Error, insert numbers!
return 1;
}
// nmbr[0] > nmbr[6] are now equal to what you've written
return 1;

