PlayAudioStreamForPlayer Help
#9

pawn Код:
CMD:audio(playerid, params[])
{
    new Float:x, Float:y, Float:z,Float:distance = 3.0;
    GetPlayerPos(playerid,x,y,z);
    if(IsPlayerInRangeOfPoint(playerid,3.0,x,y,z))
    PlayAudioStreamForPlayer(playerid,"http://172.16.40.100/audio_files/event.mp3",x,y,z,distance,0);
    GetVehicleParamsEx(veh,engine,lights,alarm,doors,bonnet,boot,objective);
    return 1;
}
try this
Reply


Messages In This Thread
PlayAudioStreamForPlayer Help - by mprofitt - 02.05.2012, 22:40
Re: PlayAudioStreamForPlayer Help - by N0FeaR - 02.05.2012, 22:45
Re: PlayAudioStreamForPlayer Help - by mprofitt - 02.05.2012, 22:46
Re: PlayAudioStreamForPlayer Help - by FalconX - 02.05.2012, 22:47
Re: PlayAudioStreamForPlayer Help - by mprofitt - 02.05.2012, 22:50
Re: PlayAudioStreamForPlayer Help - by FalconX - 02.05.2012, 22:55
Re: PlayAudioStreamForPlayer Help - by mprofitt - 02.05.2012, 23:07
Re: PlayAudioStreamForPlayer Help - by FalconX - 02.05.2012, 23:18
Re: PlayAudioStreamForPlayer Help - by N0FeaR - 03.05.2012, 06:34
Re: PlayAudioStreamForPlayer Help - by mprofitt - 03.05.2012, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)