31.01.2015, 14:59
First, create the checkpoint with SetPlayerCheckPoint.
Then under OnPlayerEnterCheckpoint, use SetVehicleVelocity to boost the vehicle in a direction.
Etc. this will make it boost up in the air:
Then under OnPlayerEnterCheckpoint, use SetVehicleVelocity to boost the vehicle in a direction.
Etc. this will make it boost up in the air:
pawn Код:
SetVehicleVelocity(GetPlayerVehicleID(playerid), 0, 0, 2); // We set the velocity to 0 in x and y, but z (upwards / downwards) is set to 2, which will make it boost upwards.