[Help] Addon Wheel Names

Hey, so I downloaded an addon LEO wheel pack and in vMenu their names are “Chrome” (Sport Category) and I would like to change the name of the wheel to match what is below.

I googled it and looked on the forums and I found this, I know it’s for weapons but I tried to use the AddTextEntry() using the wheelName but no luck.

<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfoVarGlobal>    
    <Wheels>
        <Item> <!-- VWT_SPORT -->
            <Item>
                <wheelName>wheel_capr_01</wheelName>
                <wheelVariation />
                <modShopLabel>Chevrolet Caprice PPV Hub</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_polint_01</wheelName>
                <wheelVariation />
                <modShopLabel>Ford Police Interceptor Steel</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_polint_02</wheelName>
                <wheelVariation />
                <modShopLabel>Ford Police Interceptor Hub</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_chgr_01</wheelName>
                <wheelVariation />
                <modShopLabel>Dodge Charger RWD Hub</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_chgr_02</wheelName>
                <wheelVariation />
                <modShopLabel>Dodge Charger AWD Hub</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_chgr_03</wheelName>
                <wheelVariation />
                <modShopLabel>Dodge Charger RWD Steel</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_chgr_04</wheelName>
                <wheelVariation />
                <modShopLabel>Dodge Charger AWD Steel</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_chgr_05</wheelName>
                <wheelVariation />
                <modShopLabel>Dodge Charger SXT</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_chgr_06</wheelName>
                <wheelVariation />
                <modShopLabel>Dodge Charger SE Hub</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_chgr_07</wheelName>
                <wheelVariation />
                <modShopLabel>Dodge Charger GT</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_cvpi_01</wheelName>
                <wheelVariation />
                <modShopLabel>Ford CVPI Hub 2005</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_cvpi_02</wheelName>
                <wheelVariation />
                <modShopLabel>Ford CVPI Hub 2011</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_cvpi_03</wheelName>
                <wheelVariation />
                <modShopLabel>Ford CVPI Steel</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_hoe_01</wheelName>
                <wheelVariation />
                <modShopLabel>Chevrolet Tahoe SSV Gray Steel</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_hoe_02</wheelName>
                <wheelVariation />
                <modShopLabel>Chevrolet Tahoe SSV Black Steel</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_hoe_03</wheelName>
                <wheelVariation />
                <modShopLabel>Chevrolet Tahoe LS</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_hoe_04</wheelName>
                <wheelVariation />
                <modShopLabel>Chevrolet Tahoe LTZ</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
            <Item>
                <wheelName>wheel_imp_01</wheelName>
                <wheelVariation />
                <modShopLabel>Chevrolet Impala LPV Hub</modShopLabel>
                <rimRadius value="0.348500"/>
                <rear value="false"/>
            </Item>
        </Item>
        <Item/> <!-- VWT_MUSCLE -->
        <Item/> <!-- VWT_BIKE -->
        <Item/> <!-- VWT_HIEND -->
        <Item/> <!-- VWT_SUPERMOD1 -->
        <Item/> <!-- VWT_SUPERMOD2 -->
        <Item/>
    </Wheels>
</CVehicleModelInfoVarGlobal>

that is the carcols.meta which came with the wheels, is there any way to be able to change the name of them from “Chrome”?

Thanks.

Hey. Doing something similar to this but on a much larger scale (1000+ rims). The way you fix this is actually pretty simple.

You need to use this native to add the names.

https://runtime.fivem.net/doc/natives/?_0x32CA01C3

You could change the modShopLabel to something such as custom and it would work.

<modShopLabel>custom</modShopLabel>

and then

AddTextEntry(‘custom’, ‘Custom Rim’)

That should work.

Hopefully you understand.

@Mart475 That works thanks! but “Chrome” is still coming before them is there any way to stop that?

Rename every rim to custom or whatever you want the name to be.

so in the carcols.meta is changed it to this

<Item>
    <wheelName>wheel_capr_01</wheelName>
    <wheelVariation />
    <modShopLabel>custom_capr_wheel_01</modShopLabel>
    <rimRadius value="0.348500"/>
    <rear value="false"/>
</Item>

I then made a names.lua and put

Citizen.CreateThread(function()
    AddTextEntry('custom_capr_wheel_01', 'Caprice Hub')
end)

however, the name in vMenu displays as “Chrome Caprice Hub”
any suggestions how to remove the “Chrome” before it?

Probably just vMenu being itself. I’ve got the same rim pack as you’ve got but using ESX so it doesn’t say that.

Alright, thanks for all your help!

Good evening, did you explain how to install?

= How do I get the tires?

With my past experience I don’t see this really working. The entryKey has to be the model hash:

Citizen.CreateThread(function()
#Challenger
 AddTextEntry('0x23B6AF16','SRT Spoiler'
 AddTextEntry('0xE3613EAD','LSBN News'
 AddTextEntry('0xD11A9A20','LSBN News Inverse'
 AddTextEntry('0x413AFA63','Weazel News'
end)