Problem with Gametextforall because GivePlayerMoneyEx
#2

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! |»");
        }
    }
}
Reply


Messages In This Thread
Problem with Gametextforall because GivePlayerMoneyEx - by LuffyD - 20.04.2013, 22:54
AW: Problem with Gametextforall because GivePlayerMoneyEx - by HurtLocker - 20.04.2013, 23:38
AW: Problem with Gametextforall because GivePlayerMoneyEx - by LuffyD - 17.05.2013, 14:35
Re: Problem with Gametextforall because GivePlayerMoneyEx - by Emmet_ - 17.05.2013, 14:39

Forum Jump:


Users browsing this thread: 3 Guest(s)