ULTRA URGENT AUDIO THINGY
#7

pawn Код:
CMD:play(playerid, params[])
{
     #pragma unused params
     if(!IsPlayerInRangeOfPoint(playerid, 25.0, X, Y, Z)) return SendClientMessage(playerid, COLOUR_RED, "You are not near the beach.");
     PlayAudioStreamForPlayer(playerid, YOUR_STREAM_URL);
     return 1;
}
Please read the wiki and other tutorials about command processing, especially if you have trouble doing things like that. They are the very basics and you should really go to know at least the basics if you're (planning on) running a server.
Reply


Messages In This Thread
ULTRA URGENT AUDIO THINGY - by NinjaChicken - 31.12.2011, 04:06
Re: ULTRA URGENT AUDIO THINGY - by Ballu Miaa - 31.12.2011, 04:08
Re: ULTRA URGENT AUDIO THINGY - by NinjaChicken - 31.12.2011, 04:50
Re: ULTRA URGENT AUDIO THINGY - by Ballu Miaa - 31.12.2011, 05:13
Re: ULTRA URGENT AUDIO THINGY - by NinjaChicken - 31.12.2011, 07:22
Re: ULTRA URGENT AUDIO THINGY - by Ballu Miaa - 31.12.2011, 09:08
Re: ULTRA URGENT AUDIO THINGY - by Ash. - 31.12.2011, 09:22

Forum Jump:


Users browsing this thread: 1 Guest(s)