SA-MP Forums Archive
MP3? sound - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: MP3? sound (/showthread.php?tid=541446)



MP3? sound - fonia5 - 11.10.2014

Okay guy's

Any idea were i can upload my mp3 sound because i am coding a toll system and whenever it open's it play's a sound but i can't seem to find out were to add the mp3.


Re: MP3? sound - iZN - 11.10.2014

You can use some web hosting (probably not a good idea to use some free one).


Re: MP3? sound - fonia5 - 11.10.2014

Quote:
Originally Posted by iZN
Посмотреть сообщение
You can use some web hosting (probably not a good idea to use some free one).
Yeah it's only just for the sound not pretty sure if it would play well on a free webhost.


Re: MP3? sound - IceCube! - 11.10.2014

Upload it to dropbox, it seems to cope well. This file doesn't sound like it would be accessed that often anyway.

There's also:

SkyDrive
****** Drive etc


Re: MP3? sound - fonia5 - 11.10.2014

edit never mind thanks alot guys i done it


Re: MP3? sound - fonia5 - 12.10.2014

are you sure it works with dropbox because i added this sound tone
https://dl-web.dropbox.com/get/Door%...4LRkkQpbLJBPBA

but it won't play in the server.

Код:
CMD:doorbell(playerid, params[])
{
	new id = House_Nearest(playerid);

	if (id == -1)
	    return SendErrorMessage(playerid, "You must be standing near a house.");

	foreach (new i : Player) if (House_Inside(i) == id)
	{
	    SendClientMessage(i, COLOR_PURPLE, "** You can hear the doorbell ringing.");
	    PlayAudioStreamForPlayer(i, "https://www.dropbox.com/s/lwebwb41ljy0wiy/tollsshutdown.mp3?pl=0");
	}
	//PlayerPlaySoundEx(playerid, 20801);
	SendNearbyMessage(playerid, 30.0, COLOR_PURPLE, "** %s rings the doorbell of the house.", ReturnName(playerid, 0));
	return 1;
}



Re: MP3? sound - V1ceC1ty - 12.10.2014

Change:

https://www.dropbox.com/s/lwebwb41lj...tdown.mp3?pl=0

to:

https://www.dropbox.com/s/lwebwb41lj...lsshutdown.mp3


Re: MP3? sound - fonia5 - 12.10.2014

Quote:
Originally Posted by V1ceC1ty
Посмотреть сообщение
Thank's man.