Jump to content

.col + .txd id


Recommended Posts

شباب احد عنده

ملفات

txd

+

col

مع الاي دي حقها

كانت بالويكي بس ضيعتها

جيبوها لي بالله

edit :

اللي مافهم

انا اقصد

اسماء ملفات

txd

مع الاي دي حقها

+

col

مع الاي دي حقها

Edited by Guest
Link to comment

ططيب انت الحين غيرت ال TXD و DFF ?

--

ططريقهه ممكن تفيدك

local gModel =  
{ 
    --[ 597 ] = { texture = "car/sentinel.txd", model = "car/sentinel.dff", collision = 'car/sentinel.col' } مثآل  
    [ ID ] = { texture = '', model = '', collision = '' }  
}; 
  
addEventHandler( 'onClientResourceStart', resourceRoot, 
    function( ) 
        for modelID, replace in next, gModel do 
            if ( replace.texture ) then 
                gModel[ modelID ].txd = engineLoadTXD( replace.texture ); 
                engineImportTXD( gModel[ modelID ].txd, modelID ); 
            elseif ( replace.model ) then 
                gModel[ modelID ].dff = engineLoadDFF( replace.model, modelID ); 
                engineReplaceModel( gModel[ modelID ].dff, modelID ); 
            elseif ( replace.collision ) then 
                gModel[ modelID ].col = engineLoadCOL( replace.collision ); 
                engineReplaceCOL ( gModel[ modelID ].col, modelID ); 
            end 
        end 
    end 
); 

Link to comment
شوف بنفسك
engineLoadCOL 
engineReplaceModel 

كلها تحتاج الى اي دي المودل

theModel: The model to replace the given model ID with

modelID: The model it to replace the model of

txd و ال dff الآيدي هو نفسه حق الـ

Link to comment

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