Key to command
#3

pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
  if(IsPlayerInAnyVehicleID(playerid)
  {
    if(newkeys & KEY_CROUCH) // key_crouch is the define for H in vehicle.
    {
       MoveObject(Gate.etc.etc.);
       return 1;
    }
  }
}
Reply


Messages In This Thread
Key to command - by Thebest96 - 27.08.2010, 11:40
Re: Key to command - by Kyosaur - 27.08.2010, 11:43
Re: Key to command - by wups - 27.08.2010, 11:43
Re: Key to command - by Kyosaur - 27.08.2010, 11:47
Re: Key to command - by Thebest96 - 27.08.2010, 12:09
Re: Key to command - by Kyosaur - 27.08.2010, 12:32
Re: Key to command - by nissan123 - 08.09.2010, 08:18
Re: Key to command - by Thebest96 - 08.09.2010, 16:24

Forum Jump:


Users browsing this thread: 1 Guest(s)