SA-MP Forums Archive
How can i make cars jump pressing h???? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How can i make cars jump pressing h???? (/showthread.php?tid=188027)



How can i make cars jump pressing h???? - Exterminator - 06.11.2010

How can i make cars jump pressing h?


Re: How can i make cars jump pressing h???? - mel~vin - 06.11.2010

what do you mean?


Re: How can i make cars jump pressing h???? - Luis- - 06.11.2010

He means Hydrolics, Search it up..


Re: How can i make cars jump pressing h???? - Kitten - 06.11.2010

on top
pawn Код:
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (PRESSED(KEY_HANDBRAKE))
    {
        new Float:x, Float:y, Float:z;
    GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
    SetVehicleVelocity(GetPlayerVehicleID(playerid) ,x ,y ,z+0.3);
    }
    return 1;
}
this makes when u press handbrake it jumps ur car 10 feet in air