Jump to content

dugasz1

Members
  • Posts

    285
  • Joined

  • Last visited

Everything posted by dugasz1

  1. Just delete the outputChatBox(unpack(result)) form line 3
  2. dugasz1

    NFS:SA

    As far as i see there is nothing about how they do the script just for the player's a tutorial how to make his own paitnjob but they test it with engineImportTXD.
  3. dugasz1

    NFS:SA

    Hello! I was on that NFS:SA server. (How don't know they wrote a Need for Speed mod with visual tuning included. So, you can paint things on the car.) I need something similar but how can i do it? I guess i will need a model's texture file and another png file mix it (with dx i guess) but as far as i see the only solution to change only one model's texture it's engineApplyShaderToWorldTexture but it need a shader for it and i know nothing about shadders. Can someone tell me some advices/idea how can i do it or link/write an example for me(i tried to find an example but i couldn't find)?
  4. dugasz1

    isNil?

    I tought it too but no somewhy. (I think it shouldn't matter but in my script it's a 3 dimension array but i guess it should work with a single variable)
  5. dugasz1

    isNil?

    Hello! How can i detect if a array's member exist or not? local array = { {"wathever", "wathever"}, {"wathever", "wathever"}, {"wathever", "wathever"}, } if(array[4] == nil) then --Do Something end Beacause this doesn't work. It throws attempt to index field error. Edit: I know i can count the table's lenght and check it but i want detect if
  6. dugasz1

    Log

    Thank you man But my question was which way request the minimum preformance? But i guess if i write it to files, and sometimes load them to mysql. It has to be in mysql beacause i need to search in them and gathering data from them. But if i log them with mysql i guess it's slowes down the server
  7. A többi (toggleFallOffBike .. ) működik? Vagy ez minek a részlete ez a táblázat részlet a freeroamos F1 menünek?
  8. dugasz1

    Log

    Hello! I would like to log a lot of things (damage, money transfer, how kills how etc.) So a lot.(Only for a weak or two after it would be deleted) What would be the fastes way to log which don't use much performance?
  9. Thank you i will download 2013 and give it a try
  10. Then it's looks good for you. call: loadText( language, thestringname, theresourcename) returns: with the string in the seted language You can sort your language files by resources. So for example you have a resources named "gui". You create a gui.xml for this resource. <language> <guiLoop> <!--This is [b]thestringname[/b]--> <POL>Stwórz loopa (pętle)</POL> <!--Heres the languages--> <ENG>Create loop</ENG> <RUS>Create loop</RUS> <GER>Create loop</GER> <TUR>Create loop</TUR> </guiLoop> <guiWall> <POL>Stwórz wallride</POL> <ENG>Create wallride</ENG> <RUS>Create wallride</RUS> <GER>Create wallride</GER> <TUR>Create wallride</TUR> </guiWall> <guiRamp> <POL>Stwórz wyskok</POL> <ENG>Create ramp</ENG> <RUS>Create ramp</RUS> <GER>Create ramp</GER> <TUR>Create ramp</TUR> </guiRamp> </language>
  11. Can we talk on skype? I'm joined to your link on your signature.
  12. Maybe i f*ck up something but nothing (sorry for my slow perception) image hosting over 2mb
  13. You can do it any ways you want. But there is an example: https://community.multitheftauto.com/in ... ls&id=2175 This resource can handle multi language strings as much as you want. (Saved in xml files)
  14. "Shaded Materials with map" in 2016. But if i click on it nothing happens. I guess because i have to load them but i haven't got a clue how to do that. Can you explain me that to?
  15. It makes thinks musch faster. Thank you!
  16. Hmm two question. Can i extract all the txd in once or just save texture by texture. And where in the 3ds max can i set to load them? ( I guess you mean in the view menu on the top but where in the view menu?)
  17. Oh many thanks. Is it possible to load the textures the model automatically? Or i have to retexture it? And how it's works? I mean how can i set in the 3ds max to use the comedhos1_la.txd's Bow_dryclean_wall_upr_crk named texture in this wall for example. I don't know nothing about dff and txd files structure. If you can suggest me some tutorials or something it would be great.
  18. I didn't find. For example "compmedhos5_lae.tff", there is no "compmedhos5_lae.txd"
  19. Hello everybody! I would like to recreate a few house to an exterior house. So it would be stay roughly the same model, i just want to cut out an interior. I would like to use the default textures for it so i start to search for the textures. I found the textures names with engineGetModelTextureNames but these names not the names of the txd file. So i would like to ask you guys how can i do it easily if it posibble. PS.: My knowledge in modelling and texturing is very low.
  20. I'm not sure that what you want but if you want to set the vehicle front light color then: https://wiki.multitheftauto.com/wiki/SetVehicleHeadLightColor
  21. dugasz1

    Tables

    http://www.lua.org/pil/2.5.html -- Table http://www.tutorialspoint.com/lua/lua_tables.htm -- Table http://www.tutorialspoint.com/lua/lua_arrays.htm -- Array (basically table in table) Just read these. I think its enough to understand.
  22. Thank you for the answer! (I forget to reply sorry )
  23. dugasz1

    Animations

    Hmm sad It would be great for the servers. Thanks the answers.
  24. dugasz1

    Animations

    Do you know what was the problem?
×
×
  • Create New...