Team problems
#4

public CheckGate4()
{
for(new i = 0; i < GetMaxPlayers(); i++)
if(PlayerInfo[i][pTeam] == 2 || (PlayerInfo[i][pTeam] == 100))
{
if(!IsPlayerConnected(i)) continue;
if(PlayerToPoint(10.0, i, 2335.227, 2443.460, 8.261) && OpenGate[i] == 0)
{
MoveObject(PoliciaLV2, 2335.227, 2443.460, -2.261, 5);
OpenGate[i] = 1;
}
else if(!PlayerToPoint(10.0, i, 1881.8, 2152.2, 10. && OpenGate[i] == 0)
{
MoveObject(PoliciaLV2, 2335.227, 2443.460, 8.261, 5);
OpenGate[i] = 0;
}
}
}
Reply


Messages In This Thread
Team problems - by SlashPT - 09.10.2009, 22:03
Re: Team problems - by SlashPT - 10.10.2009, 08:40
Re: Team problems - by dice7 - 10.10.2009, 08:41
Re: Team problems - by SlashPT - 10.10.2009, 08:42
Re: Team problems - by Virtual1ty - 10.10.2009, 08:52
Re: Team problems - by Virtual1ty - 10.10.2009, 08:56
Re: Team problems - by dice7 - 10.10.2009, 09:00
Re: Team problems - by SlashPT - 10.10.2009, 09:01
Re: Team problems - by SlashPT - 10.10.2009, 09:05
Re: Team problems - by SlashPT - 10.10.2009, 09:14

Forum Jump:


Users browsing this thread: 1 Guest(s)