20.04.2013, 23:38
Try this pack:
pawn Код:
if (HumanKills > ZombieKills)
{
format(str,144,"[[~g~Winner: ~g~Humans ~p~Won!~n~]]~g~Next Map: ~r~%s]]",MapNames[Map]);
GameTextForAll(str,5000,3);
ZombieKills=0;
HumanKills=0;
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
LoadingP(i);
if(PlayerTeam[i] == TEAM_HUMAN)
{
GivePlayerMoneyEx(i,6000);
SendClientMessage(i,0xCCFF99FF,"«| HUMANS WON! |»");
SendClientMessage(i,0xCCFF99FF,"«| {FB0000}Please Wait {E6C738}5 Seconds For Next {33B752}Map! |»");
}
}
}
}
else if (ZombieKills > HumanKills)
{
format(str,144,"[[~g~Winner: ~r~Zombies ~p~Won!~n~]]~g~Next Map: ~r~%s]]",MapNames[Map]);
GameTextForAll(str,5000,3);
ZombieKills=0;
HumanKills=0;
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
LoadingP(i);
if(PlayerTeam[i] == TEAM_ZOMBIE)
{
GivePlayerMoneyEx(i,6000);
SendClientMessage(i,0xCCFF99FF,"«| ZOMBIES WON! |»");
SendClientMessage(i,0xCCFF99FF,"«| {FB0000}Please Wait {E6C738}5 Seconds For Next {33B752}Map! |»");
}
}
}
}
else
{
format(str,144,"[[~g~Winner: ~y~No one ~p~Won!~n~]]~g~Next Map: ~r~%s ]]",MapNames[Map]);
GameTextForAll(str,5000,3);
ZombieKills=0;
HumanKills=0;
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
LoadingP(i);
SendClientMessage(i,0xCCFF99FF,"«| NOBODY WON! |»");
SendClientMessage(i,0xCCFF99FF,"«| {FB0000}Please Wait {E6C738}5 Seconds For Next {33B752}Map! |»");
}
}
}