15.01.2012, 23:31
Of making a car do a front flip, i've got this code but all it does is does any random flip.
Thanks. Can it also be made so that it doesn't slow the player down when flipping, so he's still doing his speed when flipping.
pawn Код:
if(newkeys & KEY_ANALOG_UP)
{
if(IsInDerby[playerid] == 1) return SendClientMessage(playerid, COLOR_WHITE, "ERROR: You can't use this in the derby!");
SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.2);
SetVehicleAngularVelocity(GetPlayerVehicleID(playerid), 0.2, 0.0, 0.0);
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000000000.0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~y~WOW, NICE FLIP!!", 6000, 3);
}