NotAvailable Posted June 7, 2011 Posted June 7, 2011 Hi, i have a little problem with my custom model for GTA. I get this error when i start the resource: WARNING: lights/script.lua:5: Bad 'txd' pointer @ 'engineImportTXD'(1) Does someone know how to fix this? EDIT: I don't know whats wrong, i tried to fix it several times but the model stays gray. Regards, Jesseunit
#Paper Posted June 7, 2011 Posted June 7, 2011 Mybe you need to texturize the ddf model out of mta... idk, ask to Bonox.exe My skype: skiper964 I helped you? Help me! ^^ Help me bro! ^^
NotAvailable Posted June 7, 2011 Author Posted June 7, 2011 Mybe you need to texturize the ddf model out of mta... idk, ask to Bonox.exe Ah, okay. Thanks for the help anyways
NotAvailable Posted June 7, 2011 Author Posted June 7, 2011 Hmmm, i tried more ways, but i still get the same error.
Kenix Posted June 7, 2011 Posted June 7, 2011 Show your script http://vk.com/the_kenix Вопросы задавайте на форуме, не пишите мне в личку. Please don't pm me.
NotAvailable Posted June 7, 2011 Author Posted June 7, 2011 this is it: addEventHandler('onClientResourceStart', resourceRoot, function() local txd = engineLoadTXD('files/bridge_road2.txd') engineImportTXD(txd, 2052) local dff = engineLoadDFF('files/bridge_road.dff', 0) engineReplaceModel(dff, 2052) local col = engineLoadCOL('files/bridge_road.col') engineReplaceCOL(col, 2052) engineSetModelLODDistance(2052, 300) end )
karlis Posted June 7, 2011 Posted June 7, 2011 make sure texture file is valid and with right name, and specified in meta.xml. [WIP]GTA IV style hud+custom blips + blip text + circular radar areas
NotAvailable Posted June 8, 2011 Author Posted June 8, 2011 I fixed it, Thanks for the help everybody!
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