Autogate for certain skin.
#10

Here:

pawn Код:
public boatgate2timer()
{
  new boatgate2status;
  for(new i1;i1<MAX_PLAYERS;i1++)
  {
        new playerskin;
    playerskin = GetPlayerSkin(i1);
    if(!IsPlayerConnected(i1) && IsPlayerInRangeOfPoint(i1,5,-2468.371338, 1547.240723, 24.030167) && playerskin == 20)
    {
          boatgate2status = 1;
    }
    if(boatgate2status == 1)
    {
        MoveObject(cozgate, -2468.352051, 1547.224243, 21.280209,1);
      }
    else MoveObject(cozgate, -2468.371338, 1547.240723, 24.030167, 1);
    return 1;
  }
}
Reply


Messages In This Thread
Autogate for certain skin. - by cozza123456 - 18.03.2010, 22:21
Re: Autogate for certain skin. - by aircombat - 18.03.2010, 22:26
Re: Autogate for certain skin. - by Carlton - 18.03.2010, 22:27
Re: Autogate for certain skin. - by cozza123456 - 18.03.2010, 22:53
Re: Autogate for certain skin. - by Carlton - 18.03.2010, 22:55
Re: Autogate for certain skin. - by cozza123456 - 18.03.2010, 23:03
Re: Autogate for certain skin. - by Carlton - 18.03.2010, 23:05
Re: Autogate for certain skin. - by cozza123456 - 18.03.2010, 23:07
Re: Autogate for certain skin. - by Carlton - 18.03.2010, 23:12
Re: Autogate for certain skin. - by Fedee! - 18.03.2010, 23:15

Forum Jump:


Users browsing this thread: 2 Guest(s)