Jump to content

darkraid

Members
  • Posts

    17
  • Joined

  • Last visited

Details

  • Location
    New Zealand

darkraid's Achievements

Square

Square (6/54)

0

Reputation

  1. Already got that bookmarked but thanks.
  2. Jeeze I'm making such a fool of myself. So you just use those codes above in a lua script?
  3. Hmmm. Is there a tutorial that you recommend so that I can learn the knowledge I need to create a stats system. Also I have downloaded SQLite but I don't understand what you are suppose to do with it?
  4. Thank you so much! That has fixed it. The skins now work and are applied in game.
  5. I'm not completely clueless. lol. Yes there is skins in the "skins" folder, they are called 80.txd and 81.txd as in the meta and lua files. I'm not saying you are clueless but even experienced scripters can get such stupid errors. Attach your skin replacer in your next message. I'll try to figure out what is wrong but before you do it. Try to replace skin textures with a delay (setTimer). Hmmm. Okay I'm just starting out with this kind of scripting. Soo what would you like me to try? I have attatched the .zip file, I'm guessing thats what you are asking for? Thank you for the very quick reply's and help.
  6. I'm not completely clueless. lol. Yes there is skins in the "skins" folder, they are called 80.txd and 81.txd as in the meta and lua files.
  7. I'm that other person that Sam is talking about. I have no experience with mySQL. I also have minor knowledge with scripting. So what orange is talking about doesn't mean anything to me but I will try and use the information that has been given (thanks!) to try and make what we would like. Thanks.
  8. The meta is as follows: <meta> <info name="Skin replace" author="darkraid" version="1.0.0" type="script" /> <script src="Skins.lua" type="client" /> <file src="skins/80.txd" /> <file src="skins/81.txd" /> </meta> The resource is located in the server resource correct. (server > mods > deathmatch > resources > skin_replacer)
  9. If your talking about have the file src in the meta, its in there.
  10. skin_replacer is the resource root folder but you try to load a file from ".../resources/skin_replacer/skins/80.txd" which is completely wrong... WHY DON'T YOU LEARN TO DEBUG? -.- i'm not the one that made this script up. in that quote i was talking about the LOCAL mod folder which the resources get downloaded to. so the script must be working fine because its doing what it was designed to do which is replace the skins. BUT the custom skins DO NOT show up in basemode they are still the original. How do i make it so it uses the custom skins?
  11. so do i use the one with skin and skin or skin and skin2? both seem to be working to download the skins to the local mod folder. BUT the skins are not working in the game? they are in the local mods folder so something to do with basemode cant be configured correctly? in the meta for basemode its set to use skin numbers 80 and 81.
  12. I used the code you posted in your post. It still doesn't use the skins in game?
  13. I have used the changed script posted above. The path's are correct. The skins get downloaded they show up in the following directory, .../MTA San Andreas/mods/deathmatch/resources/skin_replacer but the skins don't show up in game? it is still the original. Do I need to change something in the settings of basemode? or something? Thanks!
  14. Alright, I added this script I also changed it to look like this: function replaceModel() local skin = engineLoadTXD ( "skins/80.txd" ) engineImportTXD ( skin, 80 ) local skin = engineLoadTXD ( "skins/81.txd" ) engineImportTXD ( skin, 81 ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) but when I start the resource then connect to the server, it downloads a file so it must be the two modded skins, I then select the team but it shows the original skins and not the modified ones? any help much appreciated.
×
×
  • Create New...