213) : error 035: argument type mismatch (argument 3) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 213) : error 035: argument type mismatch (argument 3) (
/showthread.php?tid=441356)
213) : error 035: argument type mismatch (argument 3) -
Guest123 - 02.06.2013
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);
}
}
Respuesta: 213) : error 035: argument type mismatch (argument 3) -
Parka - 02.06.2013
pawn Код:
INI_WriteString(File,"Question", inputtext);
Re: 213) : error 035: argument type mismatch (argument 3) -
RyanPetersons - 02.06.2013
hm, Yea Y_INI has String, dini has Int.