Problem
#1

Quote:

public PDGates()
{
for(new i = 0; i < GetMaxPlayers(); i++)
{
if (PlayerToPoint(5,i,1544.755, -1623.9292, 13.352)
{
if(PlayerInfo[i][pLeader] == 1 || PlayerInfo[i][pLeader] == 2 || PlayerInfo[i][pLeader] == 3 || PlayerInfo[i][pLeader] == 18 || PlayerInfo[i][pMember] == 1 || PlayerInfo[i][pMember] == 2 || PlayerInfo[i][pMember] == 3 || PlayerInfo[i][pMember] == 1 || PlayerInfo[i][pMember] == 18 || PlayerInfo[i][pLeader] == 1
{
SetObjectRot(glob0, 0.0, 0.0, 269.818;
SetTimer("lspdbarrierclose", 3000, false);
return 1;
}
}
if (PlayerToPoint(5,i,1586.75, -1638.38, 14))
{
if(PlayerInfo[i][pLeader] == 1 || PlayerInfo[i][pLeader] == 2 || PlayerInfo[i][pLeader] == 3 || PlayerInfo[i][pMember] == 1 || PlayerInfo[i][pMember] == 2 || PlayerInfo[i][pMember] == 3 || PlayerInfo[i][pMember] == 18 || PlayerInfo[i][pLeader] == 1
{
MoveObject(pdgate,1586.75, -1638.38, 9, 5);
SetTimer("GateClose", 5000, 0);
return 1;
}
}
}
return 1;
}

it doesn't give any errors but it doesn't work. IDk why.
Thanks in advance
Reply


Messages In This Thread
Problem - by FreeSoul - 13.06.2009, 09:03
Re: Problem - by FreeSoul - 13.06.2009, 12:18
Re: Problem - by miokie - 13.06.2009, 12:20
Re: Problem - by FreeSoul - 13.06.2009, 12:25
Re: Problem - by FreeSoul - 13.06.2009, 18:02
Re: Problem - by FreeSoul - 13.06.2009, 19:05

Forum Jump:


Users browsing this thread: 1 Guest(s)