Guest Posted January 7, 2008 Share Posted January 7, 2008 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. Link to comment
ratoc Posted January 8, 2008 Share Posted January 8, 2008 you putted it to a client-side script? Link to comment
kevuwk Posted January 8, 2008 Share Posted January 8, 2008 is needed so that the script will run on the client (may need a little tweaking to work on the client though) Link to comment
Guest Posted January 8, 2008 Share Posted January 8, 2008 I think it was already set to a client script, il have another go tonight Thanks, 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