How Do I Fix This - 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: How Do I Fix This (
/showthread.php?tid=132688)
How Do I Fix This -
Cody_Jones - 09.03.2010
error 021: symbol already defined: "OnDialogResponse"
i get that when i try to do two different locker dialogs for leo's to login on my script
Re: How Do I Fix This -
Epic Shower - 09.03.2010
It means you already have that public OnDialogResponse() in your script
Check your script for another public that has OnDialogResponse()
Re: How Do I Fix This -
Cody_Jones - 09.03.2010
i do have one but i need another one
Re: How Do I Fix This -
Onyx09 - 09.03.2010
that means you cannt use dialogresponse twice to use another dialog you will open a new case
Код:
underdialog response there will be something like
if(dialogid == 1)
{
the action for this dialog then under make a new dialog response witht he dialog id example
}
if(dialogid == 2)
{
ur action goes here
}