I did for save the description of a player.
Description is set good.
Foto.
But when I restart saved only the first letter.
Код:
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
if(dialogid == Dialog_Text)//Text
{
if(response)
{
new
Texts[128];
if ( sscanf( inputtext, "s[128]", Texts[ 0 ] ) ) return ShowPlayerDialog(playerid ,Dialog_Text,1, ""R"Description", ""O"Please enter your "L"Descritpion!", "Description", "Exit" );
PlayerInfo[playerid] [Text] = Texts;
}
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
if(dialogid == Dialog_Text1)//Text1
{
if(response)
{
new
Texts[128];
if ( sscanf( inputtext, "s[128]", Texts[ 0 ] ) ) return ShowPlayerDialog(playerid ,Dialog_Text,1, ""R"Description", ""O"Please enter your "L"Descritpion!", "Description", "Exit" );
PlayerInfo[playerid] [Text1] = Texts;
}
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
if(dialogid == Dialog_Text2)//Text2
{
if(response)
{
new
Texts[128];
if ( sscanf( inputtext, "s[128]", Texts[ 0 ] ) ) return ShowPlayerDialog(playerid ,Dialog_Text,1, ""R"Description", ""O"Please enter your "L"Descritpion!", "Description", "Exit" );
PlayerInfo[playerid] [Text2] = Texts;
}
}