11.06.2015, 23:08
Hello dear samp users.. I have a problem with my string saving..
Here it is how it saves..
Here is the random generation code..
Here is the saving:
With best regards Scrillex!
Here it is how it saves..
pawn Код:
BankCardBNr = d22
BankCardPin = d168
pawn Код:
new CardBNr[4], CardPin[5];
format(CardBNr, sizeof(CardBNr),"d%d%d", random(10), random(10), random(10), random(10));
format(CardPin, sizeof(CardPin),"d%d%d%d", random(10), random(10),random(10), random(10), random(10));
pawn Код:
INI_WriteString(File,"BankCardBNr",CardBNr);
INI_WriteString(File,"BankCardPin",CardPin);