Please help out
#5

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  new Skin;
  Skin = GetPlayerSkin(playerid);
  if(Skin == 120)
  {
    if (HOLDING(KEY_CROUCH))
    {
      if(IsPlayerInRangeOfPoint(playerid,10.0,213.8026,1876.0151,13.1406))
      {
        MoveObject(fronthqgate, 226.2012,1875.1792,13.8000, 2.00);
      }
    }

    if (RELEASED(KEY_CROUCH))
    {
      MoveObject(fronthqgate, 214.2012,1875.1792,13.8000, 2.00);
    }

    if (HOLDING(KEY_SUBMISSION))
    {
      LinkVehicleToInterior(GetPlayerVehicleID(playerid), 1);
    }

    if (RELEASED(KEY_SUBMISSION))
    {
      LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    }
  }
  return 1;
}
________
Sick from depakote
Reply


Messages In This Thread
Please help out - by prointercepter - 24.02.2010, 17:33
Re: Please help out - by Joe Staff - 24.02.2010, 17:36
Re: Please help out - by MenaceX^ - 24.02.2010, 17:37
Re: Please help out - by Joe Staff - 24.02.2010, 17:38
Re: Please help out - by aircombat - 24.02.2010, 17:38
Re: Please help out - by prointercepter - 24.02.2010, 17:41

Forum Jump:


Users browsing this thread: 1 Guest(s)