SA-MP Forums Archive
GTA sound after click on 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: GTA sound after click on dialog (/showthread.php?tid=647679)



GTA sound after click on dialog - RoX123 - 08.01.2018

Hello,
I want remove that after I click on my dialogs hear sound of click in GTA,
For dialog i using "OnDialogResponse"
So is there here way to remove click sounds on dialog without transfering to fdialog from ODR

Thanks in advance


Re: GTA sound after click on dialog - Stones - 08.01.2018

Just to clarify. You've currently got it set so that when you click on a specific dialog and it makes a sound and you want a way to remove the sound once you close the dialog?


Re: GTA sound after click on dialog - RoX123 - 08.01.2018

Quote:
Originally Posted by Stones
Посмотреть сообщение
Just to clarify. You've currently got it set so that when you click on a specific dialog and it makes a sound and you want a way to remove the sound once you close the dialog?
In other gamemode no sounds when click on dialog,
But i working 3-4 months on one older gamemode, so when i click on any button or list, or just press enter when dialog is on I hear GTA SA sounds, i want to remove it


Re: GTA sound after click on dialog - RoX123 - 09.01.2018

Someone.. ?


Re: GTA sound after click on dialog - Ritzy2K - 09.01.2018

Search for
Код:
PlayerPlaySound
under
Код:
OnDialogResponse



Re: GTA sound after click on dialog - RoX123 - 09.01.2018

Quote:
Originally Posted by Ritzy
Посмотреть сообщение
Search for
Код:
PlayerPlaySound
under
Код:
OnDialogResponse
On dialog response nothing, but on some dialogs is this song:
Код:
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
But after deleted them still sound after click on dialog

Also i aded 20+ new dialogs and they have same sounds


Re: GTA sound after click on dialog - solstice_ - 10.01.2018

What sounds? Like ding, or what?


Re: GTA sound after click on dialog - Ritzy2K - 10.01.2018

Quote:
Originally Posted by willbedie
Посмотреть сообщение
What sounds? Like ding, or what?
How does that matter?

Remove every PlayerPlaySound from the script and then see >.>


Re: GTA sound after click on dialog - RoX123 - 10.01.2018

Quote:
Originally Posted by Ritzy
Посмотреть сообщение
How does that matter?

Remove every PlayerPlaySound from the script and then see >.>
Fixed, Thank you, REP+


Re: GTA sound after click on dialog - solstice_ - 10.01.2018

Quote:
Originally Posted by Ritzy
Посмотреть сообщение
How does that matter?

Remove every PlayerPlaySound from the script and then see >.>
Well if he knew the id of the sound maybe he would find it?