MP3? sound
#1

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.
Reply
#2

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

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.
Reply
#4

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
Reply
#5

edit never mind thanks alot guys i done it
Reply
#6

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;
}
Reply
#7

Change:

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

to:

https://www.dropbox.com/s/lwebwb41lj...lsshutdown.mp3
Reply
#8

Thank's man.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)