Unable to find the reason this is happening.
The first name is set from the previous dialog and works just fine. The second name(below code) works just fine... Until I use both in the same format string. It will only show the first letter of the first name but repeat the last name twice.
Say I enter the;
first name: George.
Last Name: Carpenter
It will come out with:
GCarpenter Carpenter
The first name is set from the previous dialog and works just fine. The second name(below code) works just fine... Until I use both in the same format string. It will only show the first letter of the first name but repeat the last name twice.
Say I enter the;
first name: George.
Last Name: Carpenter
It will come out with:
GCarpenter Carpenter
PHP Code:
if(response)
{
new fstr2[128];
format(CharCreate[playerid][lastname], 14, "%s", inputtext);\
format(fstr2, 128, "name: %s %s",CharCreate[playerid][firstname],CharCreate[playerid][lastname]);
SendClientMessage(playerid, COLOR_WHITE, fstr2);
ShowCharCreateLastname(playerid, "");
}