Vehicle Hopping
#1

So, i have this code:
pawn Код:
if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  {
  if (newkeys & KEY_CROUCH)
  {
  new Float:xx, Float:xy, Float:xz;
  GetVehicleVelocity(GetPlayerVehicleID(playerid), xx, xy, xz);
  SetVehicleVelocity(GetPlayerVehicleID(playerid), xx, xy, xz + sf);
  return 1;
  }
  }
How can i make a command what disabled/enables it ?
Reply


Messages In This Thread
Vehicle Hopping - by Bomber - 05.05.2010, 11:49
Re: Vehicle Hopping - by Bomber - 05.05.2010, 16:42
Re: Vehicle Hopping - by ¤Adas¤ - 05.05.2010, 16:44
Re: Vehicle Hopping - by Bomber - 05.05.2010, 16:46
Re: Vehicle Hopping - by boelie - 05.05.2010, 16:49
Re: Vehicle Hopping - by Calgon - 05.05.2010, 16:51
Re: Vehicle Hopping - by Bomber - 05.05.2010, 19:25
Re: Vehicle Hopping - by boelie - 05.05.2010, 19:33

Forum Jump:


Users browsing this thread: 1 Guest(s)