14.11.2010, 15:19
pawn Код:
// ongamemode init
SetTimer("ChecarSom",2000,true);
// final gm
forward ChecarSom();
public ChecarSom()
{
for(new i; i < MAX_PLAYERS ; i++)
if(IsPlayerInRangeOfPoint(i,10.0,x,y,z)) // coordenadas ,10.0 = distancia
PlayerPlaySound(playerid,1130, 0.0, 0.0, 10.0); //coordenadas
return true;
}