Help needed
#2

Well, make it like they can't do the command if thet are not in range of the object, and when they do the command, and it succeeds, then use the coords of the object and usepos = 1 of the playaudiostreamforplayer function, then set the range e.t.c

Something like this:
pawn Код:
CMD:stereoon(playerid,params[])
{
    if(/*check if he is in rnage of object here*/)
    {
    PlayAudioStreamForPlayer(playerid,URL[],X,Y,Z,15.0,1);
    }
    return 1;
}
Reply


Messages In This Thread
Help needed - by Mr.1337 - 24.06.2012, 08:36
Re: Help needed - by Jstylezzz - 24.06.2012, 08:38
Re: Help needed - by Mr.1337 - 24.06.2012, 08:40
Re: Help needed - by Jstylezzz - 24.06.2012, 08:41

Forum Jump:


Users browsing this thread: 1 Guest(s)