Log in to reply
 

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
    SetIdealPursuitDistance
    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 ?


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.