Possible?
#1

pawn Код:
new AudioTest;
   
if (strcmp("/alarmprison", cmdtext, true) == 0)
{
     If(!CopPlayer) return SendClientMessage(playerid, COLOR_RED, " Your not LSPD");
     new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
     GetPlayerPos(playerid, X, Y, Z);
     AudioTest = PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls", X, Y, Z, Distance, 1);
     return 1;
}
if (strcmp("/stopalarm", cmdtext, true) == 0)
{
     If(!CopPlayer) return SendClientMessage(playerid, COLOR_RED, " Your not LSPD");
     StopAudioStreamForPlayer(AudioTest);
     return 1;
}
Reply


Messages In This Thread
Possible? - by Aquilis - 11.12.2011, 10:10
Re: Possible? - by suhrab_mujeeb - 11.12.2011, 10:12
Re: Possible? - by Aquilis - 11.12.2011, 10:15
Re: Possible? - by shitbird - 11.12.2011, 10:23
Re: Possible? - by Aquilis - 11.12.2011, 10:27
Re: Possible? - by shitbird - 11.12.2011, 10:30
Re: Possible? - by Aquilis - 11.12.2011, 10:33
Re: Possible? - by shitbird - 11.12.2011, 10:38
Re: Possible? - by Aquilis - 11.12.2011, 10:53

Forum Jump:


Users browsing this thread: 3 Guest(s)