Jump to content

Replace Skins?


Recommended Posts

Posted

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

Posted

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.

Posted

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 ) 

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