22.10.2013, 02:04
PHP код:
stock JogadorNaFavela(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x >= 2117.333 && y >= -1069.962 && x <= 2261.841 && y <= -959.4252) return true;
else return 0;
}
CMD:RADIOFAVELA(playerid)
{
if(JogadorNaFavela(playerid))
{
PlayAudioStreamForPlayer(playerid, "IP DA RADIO OU LINK DA MUSICA");
}
return true;
}