Please help! array must be indexed (variable "inputtext")
#1

Hi guys.
PHP код:
    if(dialogid == 8)
        {
          if(
response)
          {
               if(
listitem == 0)
               {
               new 
name[MAX_PLAYER_NAME], file[256];
               
GetPlayerName(playeridnamesizeof(name));
               
format(filesizeof(file), PATHname);
               
dini_Set(file"WDCK"dini_Int(file"WDCK")+inputtext);//error
               
new string[128];
               
format(stringsizeof(string), "仓库 %d",  dini_Int(file"WDCK"));
               
ShowPlayerDialog(playerid9DIALOG_STYLE_INPUT"仓库"string"Okay""");
               }
          }
        } 
Someone can tell me how?I use Dini on my server.Or tell me use other code do it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)