So I have never had an issue with add-on cars. I would like to consider myself fluent with GTA’s .meta files. I will attach my meta files to see if you guys may find any issues. Also, I installed this exact vehicle into the fbi slot and it worked great, no issues. The model name is “leo” and is not over the FiveM 16MB limit, not even close.
carvariations.meta (1.7 KB)
vehicles.meta (6.1 KB)
carcols.meta (2.7 MB)
__resource.lua (289 Bytes)
Again, I have never had issues with add-on cars, I know my way around the meta files. But alas I problem where I have no clue what is wrong.
Help would be very much appreciated, thank you!
moved to #server-development as this is not the FiveM clients fault.
<modelName>leo</modelName>
<txdName>fbi</txdName>
should be
<modelName>leo</modelName>
<txdName>leo</txdName>
SO USE THIS
<CVehicleModelInfo__InitDataList>
<residentTxd>vehshare</residentTxd>
<residentAnims />
<InitDatas>
<Item>
<modelName>leo</modelName>
<txdName>leo</txdName>
<handlingId>FBI</handlingId>
<gameName>Leos Gay Machine</gameName>
<vehicleMakeName />
<expressionDictName>null</expressionDictName>
<expressionName>null</expressionName>
<animConvRoofDictName>null</animConvRoofDictName>
<animConvRoofName>null</animConvRoofName>
<animConvRoofWindowsAffected />
<ptfxAssetName>null</ptfxAssetName>
<audioNameHash />
<layout>LAYOUT_STANDARD</layout>
<coverBoundOffsets>BUFFALO_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_HIGH</bonnetCameraName>
<povCameraName>DEFAULT_POV_CAMERA</povCameraName>
<FirstPersonDriveByIKOffset x="0.000000" y="-0.055000" z="-0.035000" />
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="-0.020000" />
<FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.080000" z="-0.020000" />
<FirstPersonProjectileDriveByPassengerIKOffset x="-0.100000" y="-0.120000" z="-0.060000" />
<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="-0.025000" />
<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="-0.025000" />
<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.055000" z="-0.035000" />
<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.146000" y="0.279000" z="0.539000" />
<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.233000" z="0.435000" />
<FirstPersonMobilePhoneSeatIKOffset>
<Item>
<Offset x="0.136000" y="0.176000" z="0.445000" />
<SeatIndex value="2" />
</Item>
<Item>
<Offset x="0.136000" y="0.176000" z="0.445000" />
<SeatIndex value="3" />
</Item>
</FirstPersonMobilePhoneSeatIKOffset>
<PovCameraOffset x="0.000000" y="-0.125000" z="0.665000" />
<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.262200" />
<wheelScaleRear value="0.262200" />
<dirtLevelMin value="0.000000" />
<dirtLevelMax value="0.700000" />
<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
70.000000
140.000000
500.000000
500.000000
</lodDistances>
<minSeatHeight value="0.856" />
<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_2</swankness>
<maxNum value="999" />
<flags>FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_RECESSED_HEADLIGHT_CORONAS FLAG_HAS_INTERIOR_EXTRAS</flags>
<type>VEHICLE_TYPE_CAR</type>
<plateType>VPT_BACK_PLATES</plateType>
<dashboardType>VDT_GENTAXI</dashboardType>
<vehicleClass>VC_EMERGENCY</vehicleClass>
<wheelType>VWT_SPORT</wheelType>
<trailers />
<additionalTrailers />
<drivers>
<Item>
<driverName>S_M_M_FIBOffice_01</driverName>
<npcName />
</Item>
<Item>
<driverName>S_M_M_FIBOffice_02</driverName>
<npcName />
</Item>
</drivers>
<extraIncludes />
<doorsWithCollisionWhenClosed />
<driveableDoors />
<bumpersNeedToCollideWithMap value="false" />
<needsRopeTexture value="false" />
<requiredExtras />
<rewards>
<Item>REWARD_WEAPON_CARBINERIFLE</Item>
<Item>REWARD_AMMO_CARBINERIFLE</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_POLICE2_FRONT_LEFT</Item>
<Item>STD_POLICE2_FRONT_RIGHT</Item>
<Item>STD_POLICE2_REAR_LEFT</Item>
<Item>STD_POLICE2_REAR_RIGHT</Item>
</firstPersonDrivebyData>
</Item>
</InitDatas>
</CVehicleModelInfo__InitDataList>
hope this helps, have a nice day 
Ah, such a rookie mistake lol. Thank you so much!
system
Closed
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.