@mcal9909 just checking if you have any idea based on the error I was getting?
josiewales
View profile on GTA5-Mods.com »
Posts made by josiewales
-
RE: Speed Latencyposted in General Modding Discussion
-
Toggle chasing car from ramming playerposted in General Modding Discussion
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 ?
-
RE: Speed Latencyposted in General Modding Discussion
@mcal9909
I tried the following but I get the error "GTA.UI does not contain a definition for screen":
GTA.UI.Screen.ShowSubtitle("Test");Any ideas ?
-
Speed Latencyposted in General Modding Discussion
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);}