Read full name in DJSon.
#1

Good morning, hello, I took a selection of first and last name when registering and write to a file in DJSon.
Now I did read in OnPlayerConnect.

pawn Код:
new string[128], imie[500], nazwisko[500];
imie = dj(PlayerPath(playerid), "Dane/Imię");
nazwisko = dj(PlayerPath(playerid), "Dane/Nazwisko");
format the

pawn Код:
format(string,sizeof(string), "%s_%s", imie, nazwisko);
and I set the player a nickname

pawn Код:
SetPlayerName(playerid, string);
but it gets nickname "_" instead of "Name_Surname"
Reply


Messages In This Thread
Read full name in DJSon. - by Zevcore - 20.09.2015, 11:11
Re: Read full name in DJSon. - by BroZeus - 20.09.2015, 11:24
Re: Read full name in DJSon. - by Zevcore - 20.09.2015, 11:27
Re: Read full name in DJSon. - by BroZeus - 20.09.2015, 11:43
Re: Read full name in DJSon. - by Zevcore - 20.09.2015, 11:47
Re: Read full name in DJSon. - by Zevcore - 21.09.2015, 13:35
Re: Read full name in DJSon. - by Zevcore - 22.09.2015, 14:41
Re: Read full name in DJSon. - by BroZeus - 22.09.2015, 15:04

Forum Jump:


Users browsing this thread: 1 Guest(s)