Jump to content

custum ped [FIXED]


Recommended Posts

Posted

The skin doesn't show or your changes doesn't show?

Did you use /debugscript 3 to spot the errors ??

Posted

i got a error

WARNING: fam3/replace.lua:2: Bad 'txd' pointer @ 'engineimportTXD'(1)

this is the replace.lua

txd = engineLoadTXD("107.txd")

engineImportTXD(txd, 107)

Posted

Ok did you add the txd file to the meta??

Did you type the path correctly because 107.txd might be in a directory.

Posted

yea i used that converter i didnt touch nothin else i put it in resource folder and i ran my gamemode and typed start fam3 i did exactly how that guy did it in that video

Posted

No i want the resource not only the TXD you can post the scripts in it here no need for download.

Posted

change replace.lua to

addEventHandler('onClientResourceStart', root, 
function() 
setTimer( 
function() 
local txd = engineLoadTXD("107.txd") 
engineImportTXD(txd, 107) 
end 
, 500, 1) 
end 
) 

Try this.

Posted

Indeed the TXD is wrong. Your TXD image does not use an alpha image, so you don't need the alpha tickbox ticked, or anything in the alpha image name box. You also need to click the 'Compressed' tickbox at the bottom - it should show DXT1 if you have successfully removed the unnecessary alpha stuff. I'm hoping you've used the right texture name too (i.e. that 'fam3' is the correct texture name for your ped). Bear in mind, it should be a BMP or PNG image, not JPEG - I can't tell what format you put into the TXD, but it needs to be one of the correct formats.

Any of the above mentioned points may be the source of your problem, if it is not due to scripting as Castillo has concluded.

Posted

oh ok thats why i see now its currupted everytime i tick the compressed box and untick the alpha box i get a error and the picture turns all pixle

yess finally you guys were right about the txd thing it was fucked up and i fixed it vista looks like dosent work with txd workshop i went to my pc whindows xp and it worked so thank you all for helpin me with this

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...