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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.