Jump to content

DakiLLa

Members
  • Posts

    965
  • Joined

  • Last visited

Everything posted by DakiLLa

  1. Aren't you using Windows 8?
  2. You can take a look on this one: https://community.multitheftauto.com/index.php?p= ... ls&id=1778
  3. You can start from 'createWeapon' function. Search it on the wiki.
  4. DakiLLa

    Move vehicle

    1) Create any object (better something collision-less) and make it invisible (setElementAlpha) 2) Attach your vehicle to that object 3) Use moveObject function on that object.
  5. DakiLLa

    [Help]Script

    Don't forget to use 'resourceRoot' instead of 'root' in on(Client)ResourceStart as it will fire the function the event attached to every time when any resource starts.
  6. Возможно, наоборот? team1name = name1 team2name = name2
  7. I was having issues with removeWorldModel too some time ago, so I moved it to client-side (instead of server-side) and eveything worked fine. addEventHandler ("onClientResourceStart", resourceRoot, function() removeWorldModel(16613, 10, -346.671875, 1595.078125, 79.6640625) --object removeWorldModel(16614, 10, -346.671875, 1595.078125, 79.6640625) --LOD end)
  8. Not sure if this is what you are looking for, you can find some info there, tho.
  9. Should definitely be added in the Editor plugins section. Nice work!
  10. Here you go! Some jail scripts: here and also this one. Shops: https://community.multitheftauto.com/index.php?p= ... &name=shop
  11. createMarker: https://wiki.multitheftauto.com/wiki/CreateMarker Job: https://community.multitheftauto.com/index.php?p= ... t&name=job
  12. DakiLLa

    GUI animations

    InterpolateBetween function wiki page gives some decent examples that you might have to look at (for gui-window - example #2). They are not that hard as it seems on the first view, tho anyway it requires some time to analyze them. Also you should take in your mind some things like you can't actually press buttons when some animation is in progress and eh... something like that.
  13. Ah ye, there was a mistake in my code, so I thought '\\' won't work. It works now, thanks again.
  14. One more question: how to exclude '\' char ?
  15. I don't need to check wether or not there are special chars in the string. I want to make it fix the string automatically, like 'gsub' does.
  16. Hi. I want to prevent users typing in some characters in edit field, such as "[", "]" (square brackets), and "^". How can I do that? Right now I'm using the next pattern: string.gsub( someText, '[^A-z, ^0-9]', '' ) Thx in advance.
×
×
  • Create New...