29.12.2013, 20:15
pawn Код:
stock PlaySoundForPlayersInRange(soundid, Float:ptd, Float:x, Float:y, Float:z)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i, ptd, x, y, z)) // linha 3942
{
PlayerPlaySound(i, soundid, x, y, z);
}
}
}