strins with numbers
#2

strins won't work because it operates on strings. randphone is an integer. Try something like that:
Код:
new phonenumber[16];
format(phonenumber,sizeof(phonenumber),"%s-%d", "0670", randphone);
...and phonenumber should become what you want it to (0670-123456789 for example).
Reply


Messages In This Thread
strins with numbers - by penaut - 18.04.2017, 20:08
Re: strins with numbers - by Nyitz - 18.04.2017, 20:19
Re: strins with numbers - by penaut - 19.04.2017, 14:20
Re: strins with numbers - by Marricio - 19.04.2017, 14:22
Re: strins with numbers - by penaut - 19.04.2017, 19:01
Re: strins with numbers - by Marricio - 19.04.2017, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)