How to /flip using the alt key?
#4

You need to combine OnPlayerKeyStateChange and SetVehicleZAngle Like so:

pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
  if(IsPlayerInAnyVehicle(playerid) && newkeys &= 4)
  {
    new Float:ZAngle;
    GetVehicleZAngle(GetPlayerVehicleID(playerid),ZAngle);
    SetVehicleZAngle(GetPlayerVehicleID(playerid),ZAngle);
  }
  return 1;
}
Reply


Messages In This Thread
How to /flip using the alt key? - by ThePS3Guy - 06.08.2009, 14:46
Re: How to /flip using the alt key? - by [KML]Dabug - 06.08.2009, 15:42
Re: How to /flip using the alt key? - by ThePS3Guy - 06.08.2009, 15:48
Re: How to /flip using the alt key? - by JaTochNietDan - 06.08.2009, 15:52
Re: How to /flip using the alt key? - by ThePS3Guy - 06.08.2009, 16:05
Re: How to /flip using the alt key? - by ThePS3Guy - 06.08.2009, 16:11
Re: How to /flip using the alt key? - by JaTochNietDan - 06.08.2009, 16:13
Re: How to /flip using the alt key? - by ThePS3Guy - 06.08.2009, 16:20
Re: How to /flip using the alt key? - by JaTochNietDan - 06.08.2009, 16:25
Re: How to /flip using the alt key? - by ThePS3Guy - 06.08.2009, 16:31

Forum Jump:


Users browsing this thread: 1 Guest(s)