11.12.2011, 10:53
Thank friend! Sucess! +rep!
pawn Код:
if (strcmp("/stopalarm", cmdtext, true) == 0)
{
//If(!CopPlayer) return SendCliendMessage(playerid, COLOR_RED, " Your not LSPD");
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
foreach(Player, i)
{
if(IsPlayerInRangeOfPoint(i, 5.0, X, Y, Z))
{
StopAudioStreamForPlayer(AudioTest);
}
}
return 1;
}