20.04.2013, 22:54
Hey Guys
i have a Problem with Gametextforall when i change GivePlayerMoney to GivePlayerMoneyEx the Gametext dont will show at the end of the round
i have a Problem with Gametextforall when i change GivePlayerMoney to GivePlayerMoneyEx the Gametext dont will show at the end of the round
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++)
{
LoadingP(i);
if(IsPlayerConnected(i) && 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++)
{
LoadingP(i);
if(IsPlayerConnected(i) && 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 if(ZombieKills == HumanKills)
{
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++)
{
LoadingP(i);
SendClientMessage(i,0xCCFF99FF,"«| NOBODY WON! |»");
SendClientMessage(i,0xCCFF99FF,"«| {FB0000}Please Wait {E6C738}5 Seconds For Next {33B752}Map! |»");
}
}
}