Jump to content

Help with Vehicle Mods


Lloyd Logan

Recommended Posts

Posted

Hey,

I put in a vehicle mod into my sercver, but the interior is a kind of cream colour ONLY.

http://imageshack.us/photo/my-images/822/23571981.png/

Script

function replaceModel()  
  txd = engineLoadTXD("stafford.txd", 580 ) 
  engineImportTXD(dff, 580) 
  dff = engineLoadDFF("stafford.dff", 580 ) 
  engineReplaceModel(dff, 580) 
end 
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) 
addCommandHandler ( "reloadcar", replaceModel ) 

Any ideas?

If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE

SCOTLAND, my hometown, and the Home of GTA!

Posted
Something is wrong with the textures I think.

Its all vehicles if thats what you mean?

If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE

SCOTLAND, my hometown, and the Home of GTA!

Posted

Not all vehicles. Maybe something with just this mod is wrong because your code seems to be correct and i hope everything is added correctly to the meta.xml too.

Owner of [HUN]Magyar Play Szerver 1.4, IP: 31.220.43.153:22003

Posted
Not all vehicles. Maybe something with just this mod is wrong because your code seems to be correct and i hope everything is added correctly to the meta.xml too.

I've noticed the problem :

engineImportTXD(dff, 580) 

line 3

Instead of dff, it should be txd.

Thanks tho

If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE

SCOTLAND, my hometown, and the Home of GTA!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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