Jump Vehicle w/ Image
#4

pawn Код:
if (newkeys & KEY_HORN)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        new VehicleID,Float:B;
        VehicleID = GetPlayerVehicleID(playerid);
        GetVehicleZAngle(VehicleID,B);
        SetVehicleZAngle(VehicleID,B);
        SetVehicleVelocity(VehicleID, 0.0, 0.0, 0.2);
        SetVehicleAngularVelocity(VehicleID,0,0,0);
    }
    return 1;
}
if(newkeys & KEY_YES)
{
      new veh = GetPlayerVehicleID(playerid);
      new Float:x,Float:y,Float:z;
      GetVehiclePos(veh,x,y,z);
      SetVehiclePos(veh,x,y,z+3);
      return 1;
}
Reply


Messages In This Thread
Jump Vehicle w/ Image - by kbalor - 25.06.2012, 10:57
Re: Jump Vehicle w/ Image - by newbienoob - 25.06.2012, 11:14
Re: Jump Vehicle w/ Image - by kbalor - 25.06.2012, 11:25
Re: Jump Vehicle w/ Image - by newbienoob - 25.06.2012, 11:32
Re: Jump Vehicle w/ Image - by kbalor - 25.06.2012, 11:41
Re: Jump Vehicle w/ Image - by Grand_Micha - 25.06.2012, 12:40
Re: Jump Vehicle w/ Image - by iggy1 - 25.06.2012, 12:48
Re: Jump Vehicle w/ Image - by kbalor - 25.06.2012, 18:06

Forum Jump:


Users browsing this thread: 2 Guest(s)