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



Error Dialog - korzk7 - 12.08.2012

Hey All An One Can Help Me For Fix my teleport??

The Problem si

when i Close Button in My Teleport DIalog It Same WIth Selector OK Not Will close the Dialog...

Any One Can Help me??


This Is The Script

http://pastebin.com/1LAhTdja


Re: Error Dialog - leonardo1434 - 12.08.2012

it's cause you forgot to define it when it's the response and when is not. you should have that.

pawn Код:
if(!response) return SendClientMessage(....) // in case he selected the button 2. if you don't want it, just let the response. and it will just close instead of close and send the message.
if(response)
{
 // listitems... and functions...
}



Re: Error Dialog - korzk7 - 12.08.2012

Thankz Dude That Work Thank You Man !