music in game
#5

Try This:

Audio Plugin

or

You can play MP3 (or any Music Formats) on your own using "PlayAudioStreamForPlayer", Just upload your MP3 (or any Music Formats) on any other Websites, and Stream it.

Here is the Format:

Код:
PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0)
Код:
playerid = The ID of the player to play the audio for.
url[] = The url to play. Valid formats are mp3 and ogg/vorbis. A link to a .pls (playlist) file will play that playlist.
Float:PosX = The X position at which to play the audio. Default 0.0. Has no effect unless usepos is set to 1.
Float:PosY = The Y position at which to play the audio. Default 0.0. Has no effect unless usepos is set to 1.
Float:PosZ = The Z position at which to play the audio. Default 0.0. Has no effect unless usepos is set to 1.
Float:distance = The distance over which the audio will be heard. Has no effect unless usepos is set to 1.
usepos = Use the positions and distance specified. Default disabled (0).
Reply


Messages In This Thread
music in game - by audriuxxx - 30.10.2013, 12:19
Re: music in game - by Konstantinos - 30.10.2013, 12:22
Re: music in game - by Ninad - 30.10.2013, 12:26
Re: music in game - by thefatshizms - 30.10.2013, 12:38
Re: music in game - by SAMProductions - 30.10.2013, 13:46

Forum Jump:


Users browsing this thread: 1 Guest(s)