Dialog Save problem
#1

PHP код:
                    case 3// clan
                    
{
                        
ShowPlayerDialog(playerid65DIALOG_STYLE_INPUT"{17a005}Clan""{ffffff}Please enter the {17a005}clan {ffffff}in order to change it""Select""Cancel");
                        
myStrcpy(wat"Clan");
                        
//return 1;
                    
}
//===================================//
    
if(dialogid == 65)
    {
        if(!
response)
        {
            
SendClientMessage(playeridCOLOR_RED"You cancelled the dialog!");
        }
        else
        {
            if(
strlen(inputtext))
            {
                new 
iPlayer;
                
PlayerInfo[iPlayer][clan] = strval(inputtext);
                new 
string64 ];
                
format(stringsizeof(string), "INFO: Player Clan changed to {3BB9FF}%s.",strval(inputtext));
                
SendClientMessage(playerid, -1string);
            }
        }
        return 
1;
    } 
The dialog is not saving when i try. When i try to enter anything inside the dialog, its not saving at the PlayerInfo[playerid][clan] its just switching the word "None" to " ", which means its just removing the word, nothing else.
Reply


Messages In This Thread
Dialog Save problem - by SytonicX - 04.01.2017, 16:16
Re: Dialog Save problem - by Lordzy - 04.01.2017, 16:22
Re: Dialog Save problem - by SytonicX - 04.01.2017, 16:23
Re: Dialog Save problem - by Lordzy - 04.01.2017, 16:25
Re: Dialog Save problem - by SytonicX - 04.01.2017, 16:28
Re: Dialog Save problem - by SytonicX - 05.01.2017, 12:48
Re: Dialog Save problem - by oMa37 - 05.01.2017, 12:56
Re: Dialog Save problem - by SytonicX - 05.01.2017, 21:09
Respuesta: Dialog Save problem - by Whillyrez - 05.01.2017, 21:21

Forum Jump:


Users browsing this thread: 1 Guest(s)