Jump to content

Ce nu am facut bine?


enzopaul4

Recommended Posts

Salutare , am o problema cu replace de la un mod , nu stiu daca am facut bine sau nu:

replace.lua==

txd = engineLoadTXD("561.txd")

engineImportTXD(txd, 561)

dff = engineLoadDFF("561.dff",)

engineReplaceModel(dff,561)

meta.xml==

Cand dau start la resursa imi spune ca se porneste , dar modul nu mi-l arata

Link to comment

Incearca asta

(CLIENT) replace.lua

  
function replaceModels() 
 txd = engineLoadTXD("561.txd") 
 engineImportTXD(txd, 561) 
 dff = engineLoadDFF("561.dff") 
 engineReplaceModel(dff,561) 
end 
addEventHandler("onClientResourceStart", resourceRoot, replaceModels) 
  

(META) meta.xml

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