Interior audio stream
#5

Quote:
Originally Posted by [CG]Milito
Посмотреть сообщение
An example

Код:
 public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/play radio", cmdtext, true) == 0) 
    {
        PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls");
        return 1;
    }
    if (strcmp("/radio in my pos", cmdtext, true) == 0)
    {
        new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
        GetPlayerPos(playerid, X, Y, Z);
	PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls", X, Y, Z, Distance, 1);
	return 1;
    }
    return 0;
}
Didin't works.
Reply


Messages In This Thread
Interior audio stream - by DarkOrion11 - 15.11.2012, 23:35
Re: Interior audio stream - by N0FeaR - 15.11.2012, 23:57
Re: Interior audio stream - by DarkOrion11 - 16.11.2012, 00:03
Respuesta: Interior audio stream - by [CG]Milito - 16.11.2012, 01:46
Re: Respuesta: Interior audio stream - by DarkOrion11 - 16.11.2012, 23:37
Re : Respuesta: Interior audio stream - by alfa drive - 17.11.2012, 16:37

Forum Jump:


Users browsing this thread: 2 Guest(s)