Hello everyone!
Today i’m trying to change the name for a replace vehicle (that replaces Canis Crusader).
In this particular case I’m not succeeding in changing the “Canis” name, which is the brand name of the vehicle.
vehicles.meta
<gameName>L200</gameName>
<vehicleMakeName>Mitsubishi</vehicleMakeName>
client_script.lua
AddTextEntry('crusader', "L200")
As you can see in print, the brand name “Canis” isn’t replacing with the “Mitusbishi” name that Idefined in vehicles.meta
Any idea why this is happenning?
Thanks for reading!
LielXD
August 1, 2023, 2:30am
2
You need to add text entry to the brand too
AddTextEntry('canis', 'mitusbishi')
1 Like
That works really fine! Thanks for your help!
Just one more question!
I know that might not be 100% related with this topic title but I really need help.
For addon vehicles nor the name of the vehicle or brand appear. Is there any way to fix it?
Example:
vehicles.meta
<gameName>Defender</gameName>
<vehicleMakeName>Land Rover</vehicleMakeName>
client_script.lua
AddTextEntry('ap_def', "Defender")
In-game print
Thanks for reading!
LielXD
August 1, 2023, 9:37pm
4
Same logic type your addon vehicle gamename and add your label
AddTextEntry('Defender', 'your vehicle name here')
-- if you want to add label to the car brand
AddTextEntry('Land Rover', 'your vehicle brand here')
It worked! Thanks a lot for the help!