[GameMode] Grand Theft Heli
#10

pawn Код:
SetTimer("DisableTDS",6000,false);

public DisableTDS(playerid) {
        TextDrawHideForPlayer(playerid,ObjectiveTD[playerid]);
        return 1;
}

SetTimer("Finshed2",300000,false);
public Finshed2(playerid)
{
    SendClientMessageToAll(COLOR_WHITE,"Defenders Win!");
        for(new i = 0; playerid < MAX_PLAYERS; playerid++)
    {
        if(IsPlayerConnected(i))
        {
            if(gTeam[playerid] == TEAM_ATTACKERS)
            {
                GameTextForPlayer(i, "~g~ YOUR TEAM LOST ~n~~y~-1000", 6000, 4);
                GivePlayerMoney(i, -1000);
            }
            else if(gTeam[playerid] == TEAM_DEFENDERS)
            {
                GameTextForPlayer(i, "~r~ YOUR TEAM WON ~n~~y~+5000", 6000, 4);
                GivePlayerMoney(i, 5000);
            }
        }
    }
        SetTimer("Finshed", 8000, 0);
    return 1;
}
Why can't people bother to look at the code before posting something like, Nice, Good job, yea very good job kitten, i bet you that wouldn't of worked.

At least try to test before you release, you're going to cause people to complain why stuff aint working.

Good job, and bad job at the timers..
Reply


Messages In This Thread
Grand Theft Heli - by Kitten - 04.06.2011, 04:07
Re: Grand Theft Heli - by Desertsoulz - 04.06.2011, 04:10
Re: Grand Theft Heli - by Famalamalam - 04.06.2011, 04:18
Re: Grand Theft Heli - by Ruffles. - 04.06.2011, 04:20
Re: Grand Theft Heli - by Kitten - 04.06.2011, 04:23
Re: Grand Theft Heli - by -matt- - 04.06.2011, 04:39
Re: Grand Theft Heli - by Scenario - 04.06.2011, 04:40
Re: Grand Theft Heli - by MoldovaGaming - 04.06.2011, 05:31
Re: Grand Theft Heli - by Iphone1234g - 04.06.2011, 05:35
Re: Grand Theft Heli - by Lorenc_ - 04.06.2011, 05:36

Forum Jump:


Users browsing this thread: 2 Guest(s)