Jump to content

Custom car models (textures missing)


Recommended Posts

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)

1dhUv

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
  • 2 weeks later...
  • 2 years later...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...