11.06.2012, 15:29
Like this:
pawn Код:
public OnPlayerDeath(playerid,killerid,reason)
{
new url[120];
switch(random(5))
{
case 0: url="...";
case 1: url="...";
case 2: url="...";
case 3: url="...";
case 4: url="..."; //your URLs in these fields. Add more or less depends of number of your sounds.
}
PlayAudioStreamForPlayer(playerid,url,0.0,0.0,0.0,0.0,0);
return 1;
}

