Help me :p
#7

loose identiation isn't en error.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if(newkeys==KEY_SECONDARY_ATTACK)
  {
    OnPlayerCommandText(playerid,"/enter");
  }
  if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  {
    if (newkeys & KEY_SECONDARY_ATTACK)
    {
      if(EngineStatus[GetPlayerVehicleID(playerid)] == 0)
      {
        RemoveDriverFromVehicle(playerid);
      }
      if(OutOfFuel[playerid])
      {
        RemoveDriverFromVehicle(playerid);
        OutOfFuel[playerid] = 0;
      }
    }
    return 1;
  }
Have fun.
Reply


Messages In This Thread
Help me :p - by Shellegg - 19.03.2009, 10:08
Re: Help me :p - by MenaceX^ - 19.03.2009, 10:47
Re: Help me :p - by Shellegg - 19.03.2009, 13:39
Re: Help me :p - by Shellegg - 19.03.2009, 13:56
Re: Help me :p - by MenaceX^ - 19.03.2009, 14:06
Re: Help me :p - by Shellegg - 19.03.2009, 14:14
Re: Help me :p - by MenaceX^ - 19.03.2009, 14:20
Re: Help me :p - by Shellegg - 19.03.2009, 14:33
Re: Help me :p - by Shellegg - 19.03.2009, 14:39

Forum Jump:


Users browsing this thread: 1 Guest(s)