Dialog !response help plz - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialog !response help plz (
/showthread.php?tid=178070)
Dialog !response help plz -
iRana - 20.09.2010
Hi guys I making a FS I make a dialog in FS but When i click cancel[!response] server kick me and show a msg server close the connection ? tHIS is my codes .
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 2121)
{
if(response)
{
if(listitem == 0)
{
SendClientMessage(playerid, 0xAFAFAFAA, "
");
}
return 1;
}
else if(!response)
{ }
}
return 1;
}
Re: Dialog !response help plz -
Retardedwolf - 20.09.2010
Please use [ code ] or [ pawn ] tags when showing people a portion of your script.
With the current script given it doesn't have any Kick or Ban parts in it it shouldn't kick/ban you.
Re: Dialog !response help plz -
iRana - 20.09.2010
Yes it kick me on this code ..........................
Re: Dialog !response help plz -
iRana - 20.09.2010
Help plz....................