24.02.2019, 08:41
Hello,
I tried to create Car sumo event and now i have a problem. OnPlayerKeyStateChange i want what vehicle punch another vehicle and after this timer:
will back to coordinates of where key is pressed. Problem is not a back to coordinates, but problem is how to make that speed to the forward. Also if i do
then speed must be bigger than 0km/h, I need what id vehicle is moving or not moving and player press the key it gives big speed to the forward and then go back. Can give some example how to do that speed? thanks.
I tried to create Car sumo event and now i have a problem. OnPlayerKeyStateChange i want what vehicle punch another vehicle and after this timer:
Код:
SetTimerEx("OnVehiclePunch", 700, false, "d", vehicleid);
Код:
GetVehicleVelocity..... and SetVehicleVelocity(vehicleid, velocityx*3.0, velocityy*3.0.....)