[SOLVED] Help.....
#12

Oh sorry, had a capital T in gTeam..

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if(newkeys == KEY_ACTION)
  	{
	  if(gteam[playerid] == Team_LSPD && GateOpen == 0)
	  {
	    MoveObject(PDA,1540.2041015625, -1627.822265625, 6.6545753479004,6);
	    SendClientMessage(playerid,0x2641FEAA,"You have opened the Police Department Main gate.");
	    GateOpen = 1;
	  }
	  else if(GateOpen == 1 && gteam[playerid] == Team_LSPD)
	  {
	    MoveObject(PDA,1540.2049560547,-1627.8229980469,14.9045753479,6);
	    SendClientMessage(playerid,0x2641FEAA,"You have Closed the Police Department Main gate.");
	    GateOpen = 0;
		}
	}
	return 1;
}
Reply


Messages In This Thread
[SOLVED] Help..... - by [LSR]State_Trooper - 25.02.2010, 06:07
Re: Help..... - by mansonh - 25.02.2010, 06:31
Re: Help..... - by [LSR]State_Trooper - 25.02.2010, 06:42
Re: Help..... - by [LSR]State_Trooper - 25.02.2010, 06:44
Re: Help..... - by Retardedwolf - 25.02.2010, 06:55
Re: Help..... - by [LSR]State_Trooper - 25.02.2010, 07:08
Re: Help..... - by [LSR]State_Trooper - 25.02.2010, 07:28
Re: Help..... - by VonLeeuwen - 25.02.2010, 07:50
Re: Help..... - by [LSR]State_Trooper - 25.02.2010, 08:12
Re: Help..... - by VonLeeuwen - 25.02.2010, 08:14
Re: Help..... - by [LSR]State_Trooper - 25.02.2010, 08:27
Re: Help..... - by VonLeeuwen - 25.02.2010, 08:29
Re: Help..... - by [LSR]State_Trooper - 25.02.2010, 08:37
Re: Help..... - by VonLeeuwen - 25.02.2010, 08:37
Re: Help..... - by [LSR]State_Trooper - 25.02.2010, 08:42

Forum Jump:


Users browsing this thread: 1 Guest(s)