Jump to content

Model Problems? Help?


Guest vkmaster

Recommended Posts

Posted

Hi,

dff = engineLoadDFF("models/bmx.dff", 481) 
engineReplaceModel(dff, 481) 
zr = engineLoadDFF ("models/zr350.dff", 477)  
engineReplaceModel ( zr, 477 )   
txd = engineLoadTXD("models/bmx.txd")  
engineImportTXD( txd, 481)  
  
txd1 = engineLoadTXD ("models/monsterb.txd")  
engineImportTXD ( txd1, 557 ) 
  
txd2 = engineLoadTXD ("models/zr350.txd")  
engineImportTXD ( txd2, 477 ) 

Am i doing that right?

Because the server gives this error:

ERROR: ...server/mods/deathmatch/resourcecache/blah/blah.lua:63: attempt to call global 'engineLoadDFF' (a nil value)

It is done under onplayerjoin?

Line 63 being the first line in the code above.

Posted

is needed so that the script will run on the client (may need a little tweaking to work on the client though)

Posted

I think it was already set to a client script, il have another go tonight

Thanks,

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