SA-MP Forums Archive
sound id help - 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: sound id help (/showthread.php?tid=244529)



sound id help - \\ BlenderBoy // - 27.03.2011

hello, this is my code and it seems to work fine in the game, so when i hit /cell the player is picking up the phone, but the problem is that i don't hear the sound of the phone "calling" and bytheway what is the id of the cellphone call? thanks
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/cell", cmdtext, true, 10) == 0)
	{
        SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
        PlayerPlaySound(playerid, 1002, 0.0, 0.0, 0.0);
		return 1;
	}



Re: sound id help - Jochemd - 27.03.2011

Thereґs no sound for the cellphone call.


Re: sound id help - \\ BlenderBoy // - 27.03.2011

but in single player sometimes the phone of the cj i can hear it calling, so that means is gotta be a phone call sound id somewhere, i don't know


Re: sound id help - Stigg - 27.03.2011

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


Re: sound id help - \\ BlenderBoy // - 27.03.2011

yes Stigg i was trying to find there , the sound id's but i don't see there nothing about the "calling" sound id,
i added the first id to my script wich is 1002, but in game i don't hear nothing, maybe i need to define the sound first in the pawno?


Re: sound id help - Stigg - 27.03.2011

Quote:
Originally Posted by \\ BlenderBoy //
Посмотреть сообщение
yes Stigg i was trying to find there , the sound id's but i don't see there nothing about the "calling" sound id,
i added the first id to my script wich is 1002, but in game i don't hear nothing, maybe i need to define the sound first in the pawno?
Try this little app, it allows you to preview in game sounds amongst loads of other thing's.

http://forum.sa-mp.com/showthread.ph...ght=scriptking


Re: sound id help - mprofitt - 27.03.2011

Quote:
Originally Posted by \\ BlenderBoy //
Посмотреть сообщение
yes Stigg i was trying to find there , the sound id's but i don't see there nothing about the "calling" sound id,
i added the first id to my script wich is 1002, but in game i don't hear nothing, maybe i need to define the sound first in the pawno?
Have a look at Incogito's Audio Plugin. Maybe it is in the Audio Archives or you could make your own.


Re: sound id help - Ash. - 27.03.2011

http://files.jatochnietdan.com/?view...0Script%20King

You can find pretty much everything to do with SAMP Scripting in there.