SA-MP Forums Archive
Error response. - 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: Error response. (/showthread.php?tid=604792)



Error response. - itachi - 10.04.2016

line: HouseOnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);

error : error 029: invalid expression, assumed zero


Re: Error response. - TheBoZ - 10.04.2016

Hi,

Can you show me your script or error line?


Re: Error response. - itachi - 10.04.2016

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
HouseOnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);

return 0;
}


Re: Error response. - TheBoZ - 10.04.2016

Well, Returning 0 in this callback will pass the dialog to another script in case no matching code were found in your gamemode's callback, try to return ;1