Sign in to follow this  
HaroldoBauer

[BUG]Vehicle extras

Recommended Posts

Posted (edited)

Vehicles will spawn with random extras regardless of the extra status.

Environment: Windows Server, C++ SDK

Reproducing:

	rage::IVehicle* car = wrap::car->New(0x35ED670B, position, heading);
	for(int i = 0; i < 9; i++) car->SetExtra(i, false);
	car->SetDimension(1);

* When spawning a Mule it will spawn with random containers (ads), these ads can then be removed by disabling the correct extra. I'm assuming that the extras are not synced when the vehicle is stremead in.

Thanks.

P.S: It looks like the enabled extras are synced while the disabled extras are not. I believe a proper fix would be to remove all extras after spawning the vehicle then add the ones that are enabled.

Edited by HaroldoBauer

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.