kasya85 Posted July 28, 2019 Posted July 28, 2019 Is there any way to disable mta sa setVehiclePlateText? The problem is I want to replace gta sa vehicle plates to my own by shaders, the new background of vehicle plates is working good but font of gta sa vehicle plates is very poor quality. I tried to replace txd 'platecharset', but it's not working. So I got that, font on vehicle plates in mta is mta sa own and I don't know how to replace it or disable mta sa vehicle plates, maybe someone knows or maybe it's not impossible Thank's for your help
HassoN Posted July 28, 2019 Posted July 28, 2019 (edited) Setting the 2nd argument of setVehiclePlateText to " " would just hide the text. Try this: for _, veh in ipairs(getElementsByType("vehicle")) do setVehiclePlateText(veh, " ") end For all current vehicles, and for newly created ones you have to manually set the vehicle's plate to " ". Edited July 28, 2019 by HassoN
Scripting Moderators Sarrum Posted July 28, 2019 Scripting Moderators Posted July 28, 2019 You can use custom_car_plate texture for this purpose.
Mimimiguel Posted March 21, 2020 Posted March 21, 2020 On 28/07/2019 at 19:55, Sarrum said: You can use custom_car_plate texture for this purpose. You can't, since that replaces not the 'font' from where GTA renders the plate, but the plate rendered afterwards. I know the thread was kind of dead but maybe someone has figured this out since that time
Moderators Patrick Posted March 21, 2020 Moderators Posted March 21, 2020 I have a resource for this on community. https://community.multitheftauto.com/index.php?p=resources&s=details&id=18006 3
Mimimiguel Posted March 22, 2020 Posted March 22, 2020 Can't thank you enough Patrick! Looks fantastic
Scripting Moderators Sarrum Posted March 22, 2020 Scripting Moderators Posted March 22, 2020 19 hours ago, Mimimiguel said: You can't, since that replaces not the 'font' from where GTA renders the plate, but the plate rendered afterwards. The name of the texture is there, so the implementation rests on the shoulders of the scripters
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now