11.04.2013, 17:21
Hello guys, I dont hear the sounds why?
My code:
My code:
Код:
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;
}

