@mcal9909 just checking if you have any idea based on the error I was getting?
Posts made by josiewales
Toggle chasing car from ramming player
I am currently able to spawn a car that chases and rams the players car using this code:
Function.Call(GTA.Native.Hash.TASK_VEHICLE_CHASE, chase_ped, Game.Player.Character);
I want to temporarily stop the chasing car from ramming my player using an if statement.
I tried using
and also lowering
SetDriverAggressiveness to 0.0
but the chasing car still rams the player.
Any ideas ? Does a behavior flag exist that can be applied to a chasing vehicle to prevent it hitting the player car ?
I'm displaying the players car speed as follows but getting a lot of latency.
Is there anyway to reduce the latency and have the UI aspect update rather than keep re-appearing ?
private void onTick(object sender, EventArgs e)
var PLAYER_CAR = Game.Player.Character.CurrentVehicle.Speed;
GTA.UI.Notify("Speed:" + PLAYER_CAR);