capitanazop Posted June 3, 2009 Share Posted June 3, 2009 hi i have a question about replace the skins of peds how i can get the txd id for replace the skin? txd_floors = engineLoadTXD ( "models/vgsn_billboard.txd" ) engineImportTXD ( txd_floors, 7300 ) Bye Link to comment
Gamesnert Posted June 3, 2009 Share Posted June 3, 2009 The skin ID. If you want to replace skin 105, use 105. Make sure you're on 1.0 though, as I doubt this'll work in DP2.3. Also, replacing the skin you currently have prevents the new TXD from working for as far as I know. Link to comment
capitanazop Posted June 3, 2009 Author Share Posted June 3, 2009 thanks man its work perfectly! here the code. function installAuto ( startedResource ) if ( startedResource == getThisResource() ) then outputChatBox ( "Skins Installed" ) txd = engineLoadTXD ( "mods/sbfyst.txd" ) engineImportTXD ( txd, 69 ) end end addEventHandler ( "onClientResourceStart", getRootElement(), installAuto ) 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