error 017: undefined symbol "playerid" [rep+]
#4

pawn Код:
public TakeOver()
{
    foreach(Player, i) {
        if(IsPlayerInCheckpoint(i, -385.3699, 1506.446, -256.9133, 1646.58) && gTeam[i] == TEAM_USA) {
            if(CapturedBy != 1) {
                if( IfCapture[0] == 1 ) return 1;
                IfCapture[0] = 0;
                dini_IntSet("/Variables/Variables.ini", "CapturedBy", 1);
                uscore++;
//  SetTimer("ScoreText", 5000, 0);
                SetPlayerScore(i, GetPlayerScore(i) + 2);
                CapturedBy = 1;
                if(CapturedBy != 1) SendClientMessageToAll(COLOR_CON_GREEN, "NEWS: Team USA have captured the Big Ear!");
                GangZoneHideForAll(Ear);
                GangZoneShowForAll(EarU, COLOR_BLUE);
                GangZoneHideForAll(EarG);
                dini_IntSet("/Variables/Variables.ini", "uscore", uscore);
                CheckForLevelUpdate(i);
            }
        }
        else if(IsPlayerInCheckpoint(i, -385.3699, 1506.446, -256.9133, 1646.58) && gTeam[i] == TEAM_GERMANY) {
            if(CapturedBy != 2) { {
                    if( IfCapture[0] == 1 ) return 1;
                    IfCapture[0] = 0;
                    dini_IntSet("/Variables/Variables.ini", "CapturedBy", 2);
                    gscore++;
// SetTimer("ScoreText", 5000, 0);
                    SetPlayerScore(i, GetPlayerScore(i) + 2);
                    CapturedBy = 2;
                    if(CapturedBy != 2) SendClientMessageToAll(COLOR_CON_GREEN, "NEWS: Team GERMANY have captured the Big Ear!");
                    GangZoneHideForAll(Ear);
                    GangZoneShowForAll(EarG, COLOR_RED);
                    GangZoneHideForAll(EarU);
                    dini_IntSet("/Variables/Variables.ini", "gscore", gscore);
                    CheckForLevelUpdate(i);
                }
            }
        }
   }
    return 1;
}
Reply


Messages In This Thread
error 017: undefined symbol "playerid" [rep+] - by Faisal_khan - 22.03.2012, 10:04
Re: error 017: undefined symbol "playerid" [rep+] - by Twisted_Insane - 22.03.2012, 10:06
Re: error 017: undefined symbol "playerid" [rep+] - by aco_SRBIJA - 22.03.2012, 10:17
Re: error 017: undefined symbol "playerid" [rep+] - by T0pAz - 22.03.2012, 10:26

Forum Jump:


Users browsing this thread: 1 Guest(s)