Need Help with this Script
#6

Oh, wait, I found a problem:

pawn Code:
forward RedsWin();
public RedsWin()
{
    for(new i; i < MAX_PLAYERS; i++)
    if(Team[i] == TEAM_RED && IsPlayerConnected(i))
    {
        GameTextForPlayer(i,"Mission Passed! ~N~~g~$7500",0,4500);
        GivePlayerMoney(i,7500);
    }
    else
    {
        GameTextForPlayer(i,"~r~Mission Failed!",0,4500);
    }
    SetTimer("OnGameModeExit",4500,0);
}
After the explosion, it should say Mission Passed, but it only gave me the money and the game text didnt come up :/
Reply


Messages In This Thread
Need Help with this Script - by Tigerbeast11 - 10.09.2011, 18:40
Re: Need Help with this Script - by [M]onsieur - 10.09.2011, 18:43
Re: Need Help with this Script - by Tigerbeast11 - 10.09.2011, 18:45
Re: Need Help with this Script - by [M]onsieur - 10.09.2011, 18:48
Re: Need Help with this Script - by Tigerbeast11 - 10.09.2011, 18:49
Re: Need Help with this Script - by Tigerbeast11 - 10.09.2011, 18:52
Re: Need Help with this Script - by [M]onsieur - 10.09.2011, 18:58
Re: Need Help with this Script - by Tigerbeast11 - 10.09.2011, 18:59

Forum Jump:


Users browsing this thread: 2 Guest(s)