kasya85 Posted July 28, 2019 Share 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 Link to comment
HassoN Posted July 28, 2019 Share 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 Link to comment
Scripting Moderators Sarrum Posted July 28, 2019 Scripting Moderators Share Posted July 28, 2019 You can use custom_car_plate texture for this purpose. Link to comment
Mimimiguel Posted March 21, 2020 Share 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 Link to comment
Moderators Patrick Posted March 21, 2020 Moderators Share 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 Link to comment
Mimimiguel Posted March 22, 2020 Share Posted March 22, 2020 Can't thank you enough Patrick! Looks fantastic Link to comment
Scripting Moderators Sarrum Posted March 22, 2020 Scripting Moderators Share 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 Link to comment
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