19.06.2012, 19:25
mate, you forgot a return? try this:
i always have to use returns at end of public callback
pawn Code:
public ArmyGates()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(PlayerToPoint(10.0, i, -1530.15380859,482.34051514,8.83757210) && ArmyGate == 0)
{
if(gTeam[i] == TEAM_ARMY)
{
MoveObject(ArmyGate, -1540.15380859,482.34051514,8.83757210, 5);
ArmyGate =1;
SetTimer("ArmyGatesClose",7000,0);
}
}
}
return 1;
}
