Resetting listitem - 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: Resetting listitem (
/showthread.php?tid=439106)
Resetting listitem -
Luis- - 23.05.2013
Hey! Is it possible to reset the listitem variable back to 0 on the OnDialogResponse callback?
AW: Resetting listitem -
IPrototypeI - 23.05.2013
yes you can change it where should be the problem .
you can try it by yourself if you want
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
printf("%d",listitem);
listitem = 0;
printf("%d",listitem);
return 1;
}