What is there.
#1

Hi all.Now i don't understand what happen here:

Код:
format(PlayerData[SiuntejoID][PhoneMessage], 30, "%s", MessageID);
Here i format PlayerData[SiuntejoID][PhoneMessage] by message who he write and i test it:

new String20 [ 20 ];
format ( String20, 20, "%s",PlayerData[playerid][PhoneMessage]);
SendClientMessage(playerid,COLOR_GREEN,String20);

And work i get message whatever it's work,but

Код:
if(dialogid == 9229)
{
if(response)
{
if(listitem == 0)
{
if( PlayerData[ playerid ][ Receivedmessages ] > 0)//if messages more than 0
{
new StringSet [ 20 ];
format(StringSet,20, "%s",PlayerData[playerid][TelefonoZinute]);
ShowPlayerDialog(playerid,9230,DIALOG_STYLE_LIST,"Gautos zinutes",StringSet,"Ziureti","Atgal");
}
}
}
return 1;
}
And no it's no work with this,text in dialog look like that: if player write text:Hello my name is samp.com ,and this write Name_LastName ,then in dialog by:

HName_LastName

And how you see,H is first letter of my text,i don't understand why?and where i get name?? wtf?please help me maybe i do something wrong.
Reply
#2

Is there somebody can help me?
Reply
#3

Very sorry for triple post but i very need help with that!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)