[Help] Flip
#1

This is the normal flip command that flips your car.

Quote:

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (newkeys & KEY_HORN)
{
if(IsPlayerInAnyVehicle(playerid))
{
new VehicleID,Float:B;
VehicleID = GetPlayerVehicleID(playerid);
GetVehicleZAngle(VehicleID,B);
SetVehicleZAngle(VehicleID,B);
}
}
return 1;
}

Can anyone add a script that when, vehicle flip it stops moving at current angel. Coz sometimes when I use boost it takes me very fast somewhere and after i press H. It just flip and still moving fast.
Reply


Messages In This Thread
[Help] Flip w/ Image - by kbalor - 24.06.2012, 20:15
Re: [Help] Flip - by JaTochNietDan - 24.06.2012, 20:17
Re: [Help] Flip - by Grand_Micha - 24.06.2012, 20:18
Re: [Help] Flip - by kbalor - 24.06.2012, 20:23
Re: [Help] Flip - by Grand_Micha - 24.06.2012, 20:25
Re: [Help] Flip - by kbalor - 24.06.2012, 20:27
Re: [Help] Flip - by JaTochNietDan - 24.06.2012, 20:28
Re: [Help] Flip - by kbalor - 24.06.2012, 20:36
Re: [Help] Flip - by Grand_Micha - 24.06.2012, 20:43
Re: [Help] Flip - by kbalor - 24.06.2012, 20:46

Forum Jump:


Users browsing this thread: 3 Guest(s)