Limitar salto de bicicleta
#4

Quote:
Originally Posted by CaptainMactavish
Посмотреть сообщение
En OnPlayerKeyStateChange cuando presiona el botуn de salto, ponй un timer y cuando se ejecute la funciуn del timer, pone la velocidad Z en 0 o un valor bajo para detener el salto.
Lo mejor seria hookear el salto, para esto deberia detectarse la velocidad del vehiculo utilizando la funcion GetVehicleVelocity, luego evitar (salto nativo del juego) y crear un salto personalizado mediante la funcion SetVehicleVelocity.
Reply


Messages In This Thread
Limitar salto de bicicleta - by Glimma - 04.10.2012, 14:27
Re: Limitar salto de bicicleta - by CaptainMactavish - 04.10.2012, 15:51
Re: Limitar salto de bicicleta - by Glimma - 04.10.2012, 16:01
Respuesta: Re: Limitar salto de bicicleta - by TheChaoz - 04.10.2012, 17:38

Forum Jump:


Users browsing this thread: 1 Guest(s)