Help Me Guys
#1

pawn Код:
foreach(Player, i) {
        if(IsPlayerInArea(i, -352.180664, 1537.226684, -336.180664, 1553.226684)) {
            if(EnteredArea[i] == 0) {             // if he hasn'td beenterefo re
                if(gTeam[i] == TEAM_USA && CapturedBy == 1 || gTeam[i] == TEAM_GERMANY && CapturedBy == 2 || gTeam[i] == TEAM_MERC && CapturedBy == 3 || gTeam[i] == TEAM_JAPAN && CapturedBy == 4 || gTeam[i] == TEAM_RUSSIA && CapturedBy == 5) {
                    SendClientMessage(i, COLOR_RED, "This area has already been captured by your team!");
                    EnteredArea[i] = 1;
                }
                else {
                    SendClientMessageToAll(COLOR_CON_GREEN, "The bigear is being taken over!");
                    EnteredArea[i] = 1;           // He has entered
                    SendClientMessage(i,COLOR_CON_GREEN, "Stay In here for 30 seconds to take over the area!");
                    IfCapture[i] = 1;
                    T1[i] = SetTimer("TakeOver",30000,0);
                }
            }
        }
        else {
            EnteredArea[i] = 0;                   // When he leaves, he's no longer in the area
            KillTimer(T1[i]);
        }
i need to remove this
pawn Код:
if(IsPlayerInArea(i, -352.180664, 1537.226684, -336.180664, 1553.226684))
make this to checkpoint
pawn Код:
CreateDynamicCP (-344.2773,1545.2611,75.5625, 5.5, 0, -1, -1, 50.0); // Checkpoint in the BIG Ears
Fast Reply
Reply


Messages In This Thread
Help Me Guys - by Venice - 15.04.2011, 17:45
Re: Help Me Guys - by admantis - 15.04.2011, 17:55
Re: Help Me Guys - by Venice - 15.04.2011, 17:57
Re: Help Me Guys - by admantis - 15.04.2011, 18:02
Re: Help Me Guys - by Venice - 15.04.2011, 18:08
Re: Help Me Guys - by admantis - 15.04.2011, 18:10
Re: Help Me Guys - by Venice - 15.04.2011, 18:34
Re: Help Me Guys - by Venice - 16.04.2011, 02:47
Re: Help Me Guys - by PCheriyan007 - 16.04.2011, 02:57

Forum Jump:


Users browsing this thread: 1 Guest(s)