12.10.2014, 01:47
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.
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; }