error 017: undefined symbol "i"
#2

Change
pawn Код:
function ShowCheckpoint()
{
    CreateEvacMaps();
    MoveObject(gateobj,Map[GateX],Map[GateY],Map[MoveGate],3.0);
    foreach(Player,i) SetPlayerCheckpoint(i,Map[CPx],Map[CPy],Map[CPz],6.0);
    if(team[i] == TEAM_ZOMBIE)//<--- this
    {
    GameTextForPlayer(i,"~y~Evacuation Point Opened~n~~r~STOP HUMANS!!",4000,3);//<---this
    }
    if(team[i] == TEAM_HUMAN)//<--- this
    {
    GameTextForPlayer(i,"~y~Evacuation Point Opened~n~~r~ESCAPE!!",4000,3);//<--- this
    }
    SetTimer("EndMap",MAX_END_TIME,false);
    return 1;
}
to
pawn Код:
function ShowCheckpoint()
{
    CreateEvacMaps();
    MoveObject(gateobj,Map[GateX],Map[GateY],Map[MoveGate],3.0);
    foreach(Player,i)
    {
    SetPlayerCheckpoint(i,Map[CPx],Map[CPy],Map[CPz],6.0);
    if(team[i] == TEAM_ZOMBIE)//<--- this
    {
    GameTextForPlayer(i,"~y~Evacuation Point Opened~n~~r~STOP HUMANS!!",4000,3);//<---this
    }
    if(team[i] == TEAM_HUMAN)//<--- this
    {
    GameTextForPlayer(i,"~y~Evacuation Point Opened~n~~r~ESCAPE!!",4000,3);//<--- this
    }
    }
    SetTimer("EndMap",MAX_END_TIME,false);
    return 1;
}
Reply


Messages In This Thread
error 017: undefined symbol "i" - by TomRedlake - 13.07.2013, 15:41
Re: error 017: undefined symbol "i" - by IstuntmanI - 13.07.2013, 15:52
Respuesta: error 017: undefined symbol "i" - by PHudson - 13.07.2013, 15:53
Re: error 017: undefined symbol "i" - by TomRedlake - 13.07.2013, 16:07
Re: error 017: undefined symbol "i" - by TomRedlake - 13.07.2013, 16:10

Forum Jump:


Users browsing this thread: 1 Guest(s)