20.09.2015, 11:11
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.
format the
and I set the player a nickname
but it gets nickname "_" instead of "Name_Surname"
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");
pawn Код:
format(string,sizeof(string), "%s_%s", imie, nazwisko);
pawn Код:
SetPlayerName(playerid, string);