Dini я symbol
#7

Quote:
Originally Posted by NaS
Посмотреть сообщение
I don't think that is the point here - he probably meant that after reading a Username, the only output is that symbol.


Random signs usually come up when writing or reading strings the wrong way. Or when trying to format a number into a string (eg when using %s in format, but passing a number/character).

I guess other values get read correctly the same way?
Because that code as such seems correct (maybe a bit inefficient to use format there). The only question I have is if "housestring" really contains the filename, or is it a buffer for something else?
Yes here is a housestring filename:
Quote:

new housestring[64];
format(housestring, sizeof(housestring), "/Houses/%d.dini.save", houseid);
if(dini_Exists(housestring))
{
//...
}

Reply


Messages In This Thread
Dini я symbol - by Kraeror - 25.05.2017, 11:22
Re: Dini я symbol - by Cadilab - 25.05.2017, 11:30
Re: Dini я symbol - by Kraeror - 25.05.2017, 11:31
Re: Dini я symbol - by NaS - 25.05.2017, 12:27
Re: Dini я symbol - by Vince - 25.05.2017, 12:31
Re: Dini я symbol - by Kraeror - 25.05.2017, 12:35
Re: Dini я symbol - by Kraeror - 25.05.2017, 13:18
Re: Dini я symbol - by Cadilab - 25.05.2017, 13:26
Re: Dini я symbol - by Kraeror - 25.05.2017, 13:33
Re: Dini я symbol - by Cadilab - 25.05.2017, 13:35

Forum Jump:


Users browsing this thread: 1 Guest(s)