Jump to content

dugasz1

Members
  • Posts

    285
  • Joined

  • Last visited

Everything posted by dugasz1

  1. dugasz1

    Animations

    Hi everyone! Somebody know about that when we can use costum animations in MTA? Is there any information about that?
  2. dugasz1

    Real weather

    Hello! I don't know which is the best topic for my question so sry if this isn't. I'm looking for a good real weather script with darker night. Can someone link me one please?
  3. Your welcome. I red it too but still nothing. I'm waiting for it too
  4. Hello. As far as i know MTA can't load costume animations yet.
  5. Hi! My question is that what is the better(faster) if I have a resource with one mysql connection and all other resources use this res to query in the database or if all resource have a connection if it need to query in the database?
  6. Hello! How can i use an image from another resource? So for example i have 2 resource called 'res1' and 'res2'. I write in an image to the meta in res1. And how can i use it in res2?
  7. dugasz1

    HELP !!

    I guess you have a inventory system. Then, where the script detect you used item with id 90 you have to write a triggerEvent or export this function first then use it.
  8. The function only starts when you enter a vehicle(onClientVehicleEnter) you should change the eventhandler to onClientClick
  9. dugasz1

    Paintjobs

    Please write a example
  10. I don't get exactly what do u want to do but if i get it right: You can make a collRecentagle for the spike strips and it will trigger if somebody hit or leave the coll. To create a collShape: Wiki For check the collision: Wiki
  11. dugasz1

    Paintjobs

    Sadly, i don't know much about shadders I think i should use this : bool engineApplyShaderToWorldTexture ( element shader, string textureName [, element targetElement = nil, bool appendLayers = true ] ) But how can i create a shadder element by a .txd file? Or a texture element is optimal too?
  12. dugasz1

    Paintjobs

    Hello! I have a few question about paintjobs. -How can i use paintjobs which is given to the new car model? (It replace jester model and there are 4 paintjobs for it, i don't get it why 4? It have 3 paintjobs originally. Link And on the picture he buy always the 5th paintjob. Why?) -Is it possible to give a paintjob for a car which haven't got original paintjob? For exapmle Infernus -And can i give more paintjob for a car than it have got originally?
  13. Yeah i'm blind i didn't see there is the whole code Thank you !
  14. Hello! Maybe i'm blind but how can i use useful functions? Where i can download it? https://wiki.multitheftauto.com/wiki/Useful_Functions (I need dxDrawCircle)
  15. https://wiki.multitheftauto.com/index.php?title=Meta.xml I think this is what you need. This page tell everything about meta, very usefull. Good luck for learning.
  16. dugasz1

    Luac things

    Hi guys! I want to protect my lua script files. And there are the questions: -How safety is the luac file? Are my scripts in safe? -Is it hard to encode a luac file ? (If it possible)
  17. dugasz1

    Question

    So, i want to call a value from asdd table and use it in asdd table like a variable. Is it possible?
  18. dugasz1

    Question

    Ohh end one other question. Can i index/link a value to another value in a table? asdd = { {1, 2, 3}, --if v[1][1] value change {4, 5, 6}, {7,8, --[[asdd[1][1] + 1]]}, -- v[3][3] value change to but if in inverse way don't } Someting like this. I hope, i could explain my problem clearly.
  19. dugasz1

    Question

    Hi! asdd = { {"egy", "ketto", "három"}, {"egy1", "ketto1", "három1"}, {"egy1", "ketto1", "három1"}, } function wasd2 () local asddCopy = asdd outputChatBox(asdd[2][3])-- Output: teszt asdd[2][3] = "teszt" outputChatBox(asdd[2][3].."|"..asddCopy[2][3])-- Output: teszt|teszt end addCommandHandler("teszt3", wasd2) Now i noticed that if i copy a table and i overwrite a value in the new table(asddCopy) , the first table(asdd) value is change too. Why? And how can i solve to not change the first table's(asdd) value?
  20. For the question: For example: guiSetProperty ( element, "TextColour", "ff0000" ) I think it's will work. More info: http://web.archive.org/web/20120706081430/http://cegui.org.uk/static/WindowsLookProperties.html#ListboxItem
×
×
  • Create New...