213) : error 035: argument type mismatch (argument 3)
#1

here code

pawn Код:
switch( dialogid )
    {
        case DIALOG_PET_NAME:
        {
            if (!response) return Kick(playerid);
            if(response)
            {
                if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Question","what is your pet name ?","Register","Quit");
                new INI:File = INI_Open(UserPath(playerid));
                INI_SetTag(File,"data");
                INI_WriteInt(File,"Question",inputtext);//error line
                INI_Close(File);
            }
        }
Reply
#2

pawn Код:
INI_WriteString(File,"Question", inputtext);
Reply
#3

hm, Yea Y_INI has String, dini has Int.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)