[Help] Aim
#8

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if (newkeys & /*don't kno what that the tightmousebuttonkey is key is*/)
  {
    if (GetPlayerInterior(playerid) > 0) //any interiors but outside.
    {
      if (GetPlayerWeapon(playerid) > 0) //any weapons but fists.
      {
        SetPlayerHealth(playerid, 0.0); //kill
        return true;
      }
    }
  }
  return false;
}
Reply


Messages In This Thread
[Help] Aim - by borisblat - 15.07.2009, 16:29
Re: [Help] Aim - by borisblat - 15.07.2009, 20:47
Re: [Help] Aim - by yom - 15.07.2009, 21:17
Re: [Help] Aim - by borisblat - 15.07.2009, 21:24
Re: [Help] Aim - by yom - 15.07.2009, 21:27
Re: [Help] Aim - by borisblat - 15.07.2009, 21:52
Re: [Help] Aim - by yom - 15.07.2009, 22:00
Re: [Help] Aim - by saiberfun - 15.07.2009, 23:01

Forum Jump:


Users browsing this thread: 1 Guest(s)