SOUND_PED_HIT_WATER_SPLASH - 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: SOUND_PED_HIT_WATER_SPLASH (
/showthread.php?tid=545845)
SOUND_PED_HIT_WATER_SPLASH -
Manolito - 11.11.2014
Hello. I have the problem with sounds. I can't hear water splash sound. For example, this command sends the message, but doesn't play the sound. Please, help me.
Код:
if (strcmp("/water_splash", cmdtext, true) == 0) {
PlayerPlaySound(playerid,1144,0.0,0.0,0.0);
SendClientMessage(playerid,-1,"WATER_SPLASH");
return 1;
}
Re: SOUND_PED_HIT_WATER_SPLASH -
Alex Magaсa - 11.11.2014
Hello have you tried this?
https://sampwiki.blast.hk/wiki/PlayerPlaySound
Код:
PlayerPlaySound(playerid,1144,0.0,0.0,10.0);
Re: SOUND_PED_HIT_WATER_SPLASH -
Manolito - 11.11.2014
Quote:
Originally Posted by Alex Magaсa
|
Yes, I looked this page, before making the script. Because of note there, I set all coordinates to 0.0
Re: SOUND_PED_HIT_WATER_SPLASH -
Mauzen - 11.11.2014
That sound ID doesnt work correctly, or does just work in certain situations (maybe underwater or something)
Re: SOUND_PED_HIT_WATER_SPLASH -
Manolito - 11.11.2014
Quote:
Originally Posted by Mauzen
That sound ID doesnt work correctly, or does just work in certain situations (maybe underwater or something)
|
Ok... so... Are there any other ways to play this sound?