GetVehicleVelocity
#1

pawn Код:
if(IsPlayerInAnyVehicle(playerid))
    GetVehicleVelocity(GetPlayerVehicleID(playerid), x1, y1, z1);
    SetVehicleVelocity(GetPlayerVehicleID(playerid), x1, y1, z1+ 0.3);
I tried to make the vehicle go jump, when I press capslock. It works but, when I drive, the vehicle stops, but it musn't be stop. It must be go jump forward backward etc etc. Whats wrong?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)