Quote:
Originally Posted by PT
pawn Код:
stock PlaySoundForPlayersInRange(soundid, range, Float:x, Float:y, Float:z) { for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i, range, x, y, z)) // linha 3942 { PlayerPlaySound(i, soundid, x, y, z); } } }
|
range й uma float, nгo uma int