N3MTV / gcphone

Téléphone pour FiveM
104 stars 225 forks source link

Sound loop #135

Open DanielGaming opened 5 years ago

DanielGaming commented 5 years ago

Hey N3MTV,

thank you for the nice phone!

I have a little problem with calling from the stationary phones. If I call/receive a call from a existing entity with it, it gets in a sound loop with the waiting sound and it never stops until you logout again.

Do you know a fix for it? Help would be much appreciated.

DanielGaming commented 5 years ago

Even if I remove the .ogg file from the folder, the loop starts as usual with the sound (i removed...)?

foxoak commented 5 years ago

Using the latest version? This is an old bug that has already been fixed. Update your gcphone with the latest lua files and html

DanielGaming commented 5 years ago

Hey Foxoak,

I downloaded the latest "release". Or do I have to use the source code and convert it?

MeerkatRS commented 5 years ago

Same issue here

Gannon001 commented 5 years ago

Who reproduce this bug ?

HalCroves commented 5 years ago

Hello @Gannon001, Reproduit plusieurs fois de mon côtés. Tu appels le fix au poste de police, tu décroches et la sonnerie reste active.

driouach88 commented 5 years ago

its because its using a native that requests a sound from gta5 library: PlaySound(soundId, "Remote_Ring", "Phone_SoundSet_Michael", 0, 0, 1) and the StopSound(soundId) function doesnt work all the time . would be better if it uses the same ogg sound file .

Gannon001 commented 5 years ago

Thx driouach88, i try you solution soon

DanielGaming commented 5 years ago

Hey driouach88,

thank you, that helped.

Does anybody know, if it would be possible to give a job-member the job-telephone-number, so the police doesnt have to stand at a desk the whole day?

Like a telephone-number you can pick up/lay down.

Thank you for any help!

brezedc commented 5 years ago

have anyone fixed it yet? if so, how