Certain police slots make extras "fly off" on impact

Hey everyone!

I recently experimented with some new vehicle models, made the metas and skinned them. They are working perfectly fine except for 3 vehicles.

The vehicles with the police3, police2 and the sheriff2 slot seem to have some extras that are not attached. At every impact they make, all the attached extras of that model fly off.

I did some research, and confirmed that both vehicles have the FLAG_EXTRAS_STRONG flag. Even stranger is that if i change the spawn code for these vehicles, the problem is solved. If i make any other model the name police2 police3 or sheriff2 it will happen to them. Therefore its not the metas, or the models. Could there be something else that I’m missing? Any help is much appreciated!

What i tried so far:

  • Launching with a “stock” server.cfg using only the pack and using a client side trainer to spawn it in.
  • Trying different server artifacts. I tried the 2 oldest ones, and the newest and recommended.
  • Dragged every other (stopped) resource out of the resources folder.
  • Updated the stock server-data resources.
  • Trying different vehicle packs with the sheriff2, police3 and police2 slots.
  • Using different meta’s for the affected slots
  • Using different fx_versions and even switching back to __resource.lua and using different resource manifests
  • Disabling OneSync

Hardcoded game behavior, probably.

Thought about that as well, but if it were to be hardcoded game behaviour, wouldnt it have the same effect on for example the police or sheriff slot?

it could just be the car is not well made and prob missing some collisions or something

If it was the car then it would have the same effect with a different spawncode. If i change the spawncode to anything else then those, it works perfectly fine.

you are using this in fivem right? why even use those spawn codes? regardless can you attach a copy of vehicles.meta and carvariations.meta please

Im ofcourse using them in FiveM, hence i put the problem on the forums. I use the spawncodes because i want to. Thats the whole reason there are cars made for “Addon” or “Replace”.

Metas for police3

vehicles.meta (police3)
<Item>
      <modelName>police3</modelName>
      <txdName>police3</txdName>
      <handlingId>charger</handlingId>
      <gameName>police3</gameName>
      <vehicleMakeName />
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>WINDSOR</audioNameHash>
      <layout>LAYOUT_STANDARD</layout>
      <coverBoundOffsets>SHERIFF_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_HIGH</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.060000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.-050000" z="-0.020000" />
	  <FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.075000" z="-0.045000" />
	  <FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="-0.075000" z="-0.045000" />
	  <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="0.030000" />
	  <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="0.030000" />
	  <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.060000" z="-0.060000" />
	  <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonMobilePhoneOffset x="0.155000" y="0.270000" z="0.508000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.405000" />
	  <FirstPersonMobilePhoneSeatIKOffset>
		<Item>
			<Offset x="0.136000" y="0.156000" z="0.425000" />
			<SeatIndex value="2" />
		</Item>
		<Item>
			<Offset x="0.136000" y="0.156000" z="0.425000" />
			<SeatIndex value="3" />
		</Item>
	  </FirstPersonMobilePhoneSeatIKOffset> 
      <PovCameraOffset x="0.000000" y="-0.145000" z="0.645000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="false" />
      <AllowSundayDriving value="false" />
      <AllowBodyColorMapping value="true" />
      <wheelScale value="0.237100" />
      <wheelScaleRear value="0.237100" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.850000" />
      <envEffScaleMin value="0.000000" />
      <envEffScaleMax value="1.000000" />
      <envEffScaleMin2 value="0.000000" />
      <envEffScaleMax2 value="1.000000" />
      <damageMapScale value="0.600000" />
      <damageOffsetScale value="1.000000" />
      <diffuseTint value="0x00FFFFFF" />
      <steerWheelMult value="1.000000" />
      <HDTextureDist value="5.000000" />
      <lodDistances content="float_array">
        100.000000
        200.000000
        300.000000	
        400.000000	
        500.000000	
        500.000000
      </lodDistances>
      <minSeatHeight value="0.839" />
      <identicalModelSpawnDistance value="20" />
      <maxNumOfSameColor value="10" />
      <defaultBodyHealth value="1000.000000" />
      <pretendOccupantsScale value="1.000000" />
      <visibleSpawnDistScale value="1.000000" />
      <trackerPathWidth value="2.000000" />
      <weaponForceMult value="1.000000" />
      <frequency value="100" />
      <swankness>SWANKNESS_1</swankness>
      <maxNum value="2" />
      <flags>FLAG_HAS_LIVERY FLAG_EXTRAS_REQUIRE FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON FLAG_HAS_INTERIOR_EXTRAS </flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
	  <dashboardType>VDT_GENTAXI</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_MUSCLE</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>S_M_Y_Sheriff_01</driverName>
          <npcName />
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
      <rewards>
        <Item>REWARD_WEAPON_PUMPSHOTGUN</Item>
        <Item>REWARD_AMMO_PUMPSHOTGUN_ENTER_VEHICLE</Item>
        <Item>REWARD_STAT_WEAPON</Item>
      </rewards>
      <cinematicPartCamera>
        <Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
        <Item>WHEEL_FRONT_LEFT_CAMERA</Item>
        <Item>WHEEL_REAR_RIGHT_CAMERA</Item>
        <Item>WHEEL_REAR_LEFT_CAMERA</Item>
      </cinematicPartCamera>
      <NmBraceOverrideSet />
      <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
      <buoyancySphereSizeScale value="1.000000" />
      <pOverrideRagdollThreshold type="NULL" />
	  <firstPersonDrivebyData>
        <Item>STD_POLICE_FRONT_LEFT</Item>
        <Item>STD_POLICE_FRONT_RIGHT</Item>
		<Item>STD_POLICE_REAR_LEFT</Item>
		<Item>STD_POLICE_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>
carvariations.meta (police3)
<Item>
      <modelName>police3</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            0
            0
            0
            156
          </indices>
          <liveries>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            0
            0
            0
            156
          </indices>
          <liveries>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            0
            0
            0
            156
          </indices>
          <liveries>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            0
            0
            0
            156
          </indices>
          <liveries>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            0
            0
            0
            156
          </indices>
          <liveries>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            0
            0
            0
            156
          </indices>
          <liveries>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="true"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
            <Item value="false"/>
          </liveries>
        </Item>
      </colors>
      <kits>
        <Item>0_default_modkit</Item>
      </kits>
      <windowsWithExposedEdges/>
      <plateProbabilities>
        <Probabilities>
          <Item>
            <Name>Police guv plate</Name>
            <Value value="100"/>
          </Item>
        </Probabilities>
      </plateProbabilities>
      <lightSettings value="1"/>
      <sirenSettings value="6016"/>
    </Item>

Metas for sheriff2

vehicles.meta (sheriff2)
<Item>
      <modelName>sheriff2</modelName>
      <txdName>sheriff2</txdName>
      <handlingId>EXPLORER</handlingId>
      <gameName>sheriff2</gameName>
      <vehicleMakeName />
      <expressionDictName>null</expressionDictName>
      <expressionName>null</expressionName>
      <animConvRoofDictName>null</animConvRoofDictName>
      <animConvRoofName>null</animConvRoofName>
      <animConvRoofWindowsAffected />
      <ptfxAssetName>null</ptfxAssetName>
      <audioNameHash>SENTINEL</audioNameHash>
      <layout>LAYOUT_STANDARD</layout>
      <coverBoundOffsets>POLICE_COVER_OFFSET_INFO</coverBoundOffsets>
      <explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
      <scenarioLayout />
      <cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
      <aimCameraName>DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA</aimCameraName>
      <bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_HIGH</bonnetCameraName>
      <povCameraName>DEFAULT_POV_CAMERA</povCameraName>
      <FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.050000" />
      <FirstPersonDriveByUnarmedIKOffset x="0.000000" y="-0.050000" z="-0.020000" />
	  <FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.075000" z="-0.045000" />
	  <FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="-0.075000" z="-0.045000" />
	  <FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="0.030000" />
	  <FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="0.030000" />
	  <FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.060000" z="-0.060000" />
	  <FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
	  <FirstPersonMobilePhoneOffset x="0.125000" y="0.293000" z="0.516000" />
      <FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.415000" />
	  <FirstPersonMobilePhoneSeatIKOffset>
		<Item>
			<Offset x="0.136000" y="0.146000" z="0.435000" />
			<SeatIndex value="2" />
		</Item>
		<Item>
			<Offset x="0.136000" y="0.146000" z="0.435000" />
			<SeatIndex value="3" />
		</Item>
	  </FirstPersonMobilePhoneSeatIKOffset> 
      <PovCameraOffset x="0.000000" y="-0.140000" z="0.650000" />
      <PovCameraVerticalAdjustmentForRollCage value="0.000000" />
      <PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
      <vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
      <shouldUseCinematicViewMode value="true" />
      <shouldCameraTransitionOnClimbUpDown value="false" />
      <shouldCameraIgnoreExiting value="false" />
      <AllowPretendOccupants value="true" />
      <AllowJoyriding value="false" />
      <AllowSundayDriving value="false" />
      <AllowBodyColorMapping value="true" />
      <wheelScale value="0.236900" />
      <wheelScaleRear value="0.236900" />
      <dirtLevelMin value="0.000000" />
      <dirtLevelMax value="0.300000" />
      <envEffScaleMin value="0.000000" />
      <envEffScaleMax value="1.000000" />
      <envEffScaleMin2 value="0.000000" />
      <envEffScaleMax2 value="1.000000" />
      <damageMapScale value="0.600000" />
      <damageOffsetScale value="1.000000" />
      <diffuseTint value="0x00FFFFFF" />
      <steerWheelMult value="1.000000" />
      <HDTextureDist value="5.000000" />
      <lodDistances content="float_array">
        15.000000
        30.000000
        60.000000	
        120.000000	
        500.000000	
        500.000000
      </lodDistances>
      <minSeatHeight value="0.839" />
      <identicalModelSpawnDistance value="20" />
      <maxNumOfSameColor value="10" />
      <defaultBodyHealth value="1000.000000" />
      <pretendOccupantsScale value="1.000000" />
      <visibleSpawnDistScale value="1.000000" />
      <trackerPathWidth value="2.000000" />
      <weaponForceMult value="1.000000" />
      <frequency value="100" />
      <swankness>SWANKNESS_1</swankness>
      <maxNum value="2" />
      <flags>FLAG_HAS_LIVERY FLAG_EXTRAS_REQUIRE FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON</flags>
      <type>VEHICLE_TYPE_CAR</type>
      <plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
      <dashboardType>VDT_GENTAXI</dashboardType>
      <vehicleClass>VC_EMERGENCY</vehicleClass>
      <wheelType>VWT_MUSCLE</wheelType>
      <trailers />
      <additionalTrailers />
      <drivers>
        <Item>
          <driverName>S_M_Y_Cop_01</driverName>
          <npcName />
        </Item>
      </drivers>
      <extraIncludes />
      <doorsWithCollisionWhenClosed />
      <driveableDoors />
      <bumpersNeedToCollideWithMap value="false" />
      <needsRopeTexture value="false" />
      <requiredExtras />
      <rewards>
        <Item>REWARD_WEAPON_PUMPSHOTGUN</Item>
        <Item>REWARD_AMMO_PUMPSHOTGUN_ENTER_VEHICLE</Item>
        <Item>REWARD_STAT_WEAPON</Item>
      </rewards>
      <cinematicPartCamera>
        <Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
        <Item>WHEEL_FRONT_LEFT_CAMERA</Item>
        <Item>WHEEL_REAR_RIGHT_CAMERA</Item>
        <Item>WHEEL_REAR_LEFT_CAMERA</Item>
      </cinematicPartCamera>
      <NmBraceOverrideSet />
      <buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
      <buoyancySphereSizeScale value="1.000000" />
      <pOverrideRagdollThreshold type="NULL" />
	  <firstPersonDrivebyData>
        <Item>STD_POLICE_FRONT_LEFT</Item>
        <Item>STD_POLICE_FRONT_RIGHT</Item>
		<Item>STD_POLICE_REAR_LEFT</Item>
		<Item>STD_POLICE_REAR_RIGHT</Item>
      </firstPersonDrivebyData>
    </Item>
carvariations.meta (sheriff2)
<Item>
            <modelName>sheriff2</modelName>
            <colors>
                <Item>
                    <indices content="char_array">
                      141
                      141
                      083
                      000
                    </indices>
                    <liveries>
                        <Item value="true" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                    </liveries>
                </Item>
                <Item>
                    <indices content="char_array">
                      141
                      141
                      083
                      000
                    </indices>
                    <liveries>
                        <Item value="false" />
                        <Item value="true" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                    </liveries>
                </Item>
                <Item>
                    <indices content="char_array">
                      141
                      141
                      083
                      000
                    </indices>
                    <liveries>
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="true" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                    </liveries>
                </Item>
                <Item>
                    <indices content="char_array">
                      141
                      141
                      083
                      000
                    </indices>
                    <liveries>
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="true" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                    </liveries>
                </Item>
                <Item>
                    <indices content="char_array">
                      141
                      141
                      083
                      000
                    </indices>
                    <liveries>
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="true" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                        <Item value="false" />
                    </liveries>
                </Item>
            </colors>
            <kits>
                <Item>0_default_modkit</Item>
            </kits>
            <windowsWithExposedEdges />
            <plateProbabilities>
                <Probabilities />
            </plateProbabilities>
            <lightSettings value="1" />
            <sirenSettings value="13000" />
        </Item>

Again, i don’t think it has anything to do with the meta’s, since if i change the spawn code every model that was broken, works fine. Let me know if you spot something weird!

Bump, started creating a new pack and left the issue rest unsolved. After i was about to test the pack, it happend to the exact same slots. I still dont know why this is happening, if anyone has some experience with this, and found the problem, please message me.

What i tried so far:

  • Launching with a “stock” server.cfg using only the pack and using a client side trainer to spawn it in.
  • Trying different server artifacts. I tried the 2 oldest ones, and the newest and recommended.
  • Dragged every other (stopped) resource out of the resources folder.
  • Updated the stock server-data resources.
  • Trying different vehicle packs with the sheriff2, police3 and police2 slots.
  • Using different meta’s for the affected slots
  • Using different fx_versions and even switching back to __resource.lua and using different resource manifests

yeah im not sure how to fix this but im going to test some stuff in zmod to see if i can find a fix

Its not a model related issue, rather FiveM related since we never had the problem before. It all happend kind of “out-of-nowhere”

Why blame us for R*'s code? No code ‘in FiveM’ has anything to do with vehicle physics or assigning specific behavior to specific model names.

2 Likes

This game is full of hardcoded stuff. Try to copy rhino for example. Even if you will have 1:1 configuration your copycat vehicle will be different:

  • You will be able to flip vehicle by moving your mouse too fast.
  • You won’t be able to shoot using lmb, only rmb.

That’s only few hardcoded things I found about rhino specifically. However, there’s hundreds of other hardcoded parts for other vehicles. Including at least 2 places where stuff is hardcoded for police vehicles.

If it were Rockstar, it would’ve happened the first time anyone would have run a server right? It’s the fact that it was a problem that randomly occurred. No enforced game builds, only artifact updates. I’m not “blaming” anyone for this problem, nor am I trying to point fingers at anyone. I said the problem would be (logically thinking) only related to FiveM based of the testing me and others have done.

Before attacking people on their accusations, read what they are experiencing, it helps a lot.

try FLAG_EXTRAS_ONLY_BREAK_WHEN_DESTROYED or if the extra dont need collision remove its [COL] in zmodeler3

Is it really so hard to understand that FiveM has nothing to do with such stuff. You won’t be able to find any code that somehow close to vehicle extras. If it were Rockstar it doesn’t mean it will happen for anyone always, their hardcode is weird and people might avoid sequencenses by adding random flag or changing values in meta. And given “no enforced game builds” and “only artifact updates” I can tell for sure that you have 0 knowledge how the game and FiveM even works. Meanwhile you feel yourself capable enough to blame FiveM for something that never was touched here. If you’re so clever go ahead and find code in FiveM that can break extras. Spoiler: you won’t find anything because there’s no such code. Stop “thinking logically”, it doesn’t work in your case for this situation.
Before blaming FiveM for something, make sure you know what you’re talking about. Provide repro and proofs that this is actually a FiveM bug (test SP, idk?). Proof in this case needed because, again, FiveM has nothing to do with vehicle extras and this is 99% hardcoded parts of R* code.

Is it really so hard to understand that FiveM has nothing to do with such stuff. You won’t be able to find any code that somehow close to vehicle extras. If it were Rockstar it doesn’t mean it will happen for anyone always, their hardcode is weird and people might avoid sequencenses by adding random flag or changing values in meta.

I think you overshot the fact where I said:

I’m not “blaming” anyone for this problem, nor am I trying to point fingers at anyone.

And you are correct, I don’t know anything about the FiveM’s code itself, though it’s a problem I’m running into and im asking others if they have any experiences with it, and can possibly help me out. Absolutely no need to be all piped up and calling me out for having “0 knowledge on how the game even works” especially as a moderator.

Before blaming FiveM for something, make sure you know what you’re talking about.

sigh… Did you even read my previous post?

yeah its something done with the cars that im still trying to get to the bottom of

Its nothing to do with models, as it didnt happen with packs i tested for example a year ago.