dialog don't work..
#1

Hey, i have one big bug.. a lot of my dialog just don't work.. dialogid normal, code normal. but still.. how fix it.. where can be problem ?
Reply
#2

We don't know your problem, maybe post the code so people can find it?

May be a start.
Reply
#3

Your dialog ids might be interfering because they may be the same with other scripts, try returning 0 on OnDialogResponse.
Reply
#4

Quote:
Originally Posted by itsCody
Посмотреть сообщение
We don't know your problem, maybe post the code so people can find it?

May be a start.
How can i post code if i don't know where the problem.. ?? one dialog work, one don't.. The id, or else not problem.. because i test in new gamemode it work.
Reply
#5

https://sampwiki.blast.hk/wiki/OnDialogResponse

Returning 0 in this callback will pass the dialog to another script in case no matching code were found in your gamemode's callback.
Reply
#6

Quote:
Originally Posted by FreAkeD
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/OnDialogResponse

Returning 0 in this callback will pass the dialog to another script in case no matching code were found in your gamemode's callback.
Thank you, it works. fix the problem )
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)