Код:
OnPlayerDeath
new Name[128];
GetPlayerName(killerid, Name, sizeof(Name));
PlayerTotalKills[killerid] = PlayerTotalKills[killerid] +1;
if(PlayerTotalKills[killerid] == 1)
{
PlayAudioStreamForPlayer(killerid, "http://www.pamp3.site40.net/quake/firstblood.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~%s ~w~Just Drew ~R~FIRST BLOOD", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 2)
{
PlayAudioStreamForPlayer(killerid, "http://www.pamp3.site40.net/quake/doublekill.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~%s ~w~Just Drew ~B~DOUBLE KILL.", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 3)
{
PlayAudioStreamForPlayer(killerid, "http://www.pamp3.site40.net/quake/killingspree.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~%s ~w~Just Drew~g~TRIPLE KILL", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 4)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351114.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~%s ~W~IS ~p~DOMINATING", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 5)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351111.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~%s ~W~ has a ~P~MEGA KILL", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 6)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351116.mp3");
format(stringys, sizeof(stringys), "~~N~~N~~N~~N~~r~%s ~W~ Is ~P~UNSTOPPABLE", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 7)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351117.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~%s ~W~ Is ~p~WICKED SICK", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 8)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351109.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~%s ~W~ Has a ~p~MONSTERKILL", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 9)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351119.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~%s ~W~ Is ~p~GODLIKE", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 10)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 11)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 12)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 13)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 14)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 15)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 16)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 17)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 18)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] == 19)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
if(PlayerTotalKills[killerid] >= 20)
{
PlayAudioStreamForPlayer(killerid, "http://uploads3.mp3songurls.com/1351110.mp3");
format(stringys, sizeof(stringys), "~N~~N~~N~~N~~r~ %s ~W~IS ~p~BEYOND GODLIKE! SOMEBODY KILL HIM!!", Name);
GameTextForPlayer(killerid,stringys, 6000,3);
return 1;
}
Damn the sounds scared the shit out of me. Have to go to the toilet!
Otherwise the ping between the server and the file your trying to stream are poor
Well, my friend hear the sounds, and I dont hear them but I see the Gametext...!!!
Then the problem is from client side. Done what park4bmx said?