Jump to content

[C#] Vehicle's SetHandling does not work on 1.1


marky2

Recommended Posts

 

Nothing happens, the value changes but does not apply. When you exit and then enter the stream of the vehicle, the handling value that I set before is reset to default.

public void SetVehicleHandling(object[] args)
{
	string key = args[0].ToString();
	float val = Convert.ToSingle(args[1]);

	Chat.Output($"OLD: {RAGE.Elements.Player.LocalPlayer.Vehicle.GetHandlingFloat(key)}; NEW: {val}; ({key})");

	RAGE.Elements.Player.LocalPlayer.Vehicle.SetHandling(key, val);
}

If someone maked it work i will be appriciate for answer. Thanks

Edited by marky2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...