Kuantumalic Posted October 10, 2012 Share Posted October 10, 2012 Well i got some custom car models for my MTA server and everything works well besides one thing... the cars have white on their windscreen, lights etc. but when installed through SAMI (San Andreas Mod Installer) the textures are perfect. heres an example picture of my custom car model to the server (aston martin) If theirs any fix to this please say as it would help very much on my server NOTE: i know these cars are made for singleplayer, but since they work on MTA i thought i might aswell make my server use custom models like other servers. EDIT: my friends monitor is 1920x1080 so sorry about the full picture not being in, but as you can see the front lower bumper and front lights are white, but when i installed one of the custom car models (aston martin for e.g.) through SAMI.. my aston martin had perfect textures and no white. Link to comment
Mossy Posted October 19, 2012 Share Posted October 19, 2012 Sorry for bump. Try http://mta.dzek.eu/vehicle/ SAMI is only good for SP, but in MTA, you have to manually load the TXD and DFF files. That site creates a resource doing it for you. Link to comment
Anderl Posted October 20, 2012 Share Posted October 20, 2012 Load texture before model. Link to comment
Shockboy23 Posted October 23, 2014 Share Posted October 23, 2014 Well... look try this, the whole script. addEventHandler('onClientResourceStart',getResourceRootElement(getThisResource()),function () txd = engineLoadTXD ( '[name of your file].txd' ) engineImportTXD ( txd, [iD of Car]) dff = engineLoadDFF('[name of your file].dff', [iD of Car]) engineReplaceModel ( dff, [iD of Car] ) end) It should work. Link to comment
Recommended Posts