Jump to content

Tekken

Helpers
  • Posts

    1,423
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Tekken

  1. local Pierwsza = exports.DB2:pobierzTabeleWynikow("SELECT * FROM `postacie` WHERE `characterID`=?", 1); if #Pierwsza > 0 then for i,v in ipairs(Pierwsza) do Dane1 = v["characterName"] outputChatBox(Dane1) end end Try
  2. GUI + a database or a XML file
  3. Well when you spawn a object you do serElementColidableWith
  4. Try using onClientKey as onClientClick it’s triggered when you click a world element if I recall correctly.
  5. setTrafficLightsState() other than that you need shaders.
  6. You getting any error in /debugscript 3 something like attempt to call non existing client side event this might be 'cause you call it before the client side event it's even created try with "onPlayerJoin"
  7. There are many reasons that this may happen. 1 - Is this only happening to you? 2 - Are those replaced objects or default GTA SA objects? 3 - Do you enabled or disabled some settings when doing mapping? 4 - Are those mapped objects or the default GTA SA map?
  8. for i,v in ipairs(getElementChildren(source, "blip")) do destroyElement(v) end
  9. English ? Also by looking into your cod I see you should change source in function argument to player and and I recommend you to use account name as it’s much more secure.
  10. Tekken

    Help

    It’s as simple as it gets, when you call that event the text argument it’s not defined nil that means there’s nothing. You should have a string like this: "Some text to be added"; So to fix that problem you need to find where the event it’s called to see why you have nil instead of a string.
  11. You need to scale it to different resolution I recommend you this tutorial best out there:
  12. Changing sx__, sy__ etch time you move your cursor it’s like changing the resolution of your screen, Also xm, ym are only defined one time so changing sx__, sy__ will have no effect on xm, ym afterwards. You may post a proper example, I will trey to review it?
  13. This is not an very easy job, all I can tell you is to use the functions @Hydraprovided and also : getCursorPosition() you may also need a useful function called isCursorInPosition() or isMausInPosition() if you don’t find it on wiki ask for it I will post it when I’m on PC, Also you need to store the positions gaint earlier into a db. Other than that It’s just a matter of knowing to work with Lua and it’s s operators. Feel free to leave a reply if you’re in trouble we’re here to help you!
  14. I can't see the function getResourceRootElement within the code you provided, please check and give the exact line that shows this error code, also you may try the global variable resourceRoot that returns the root of the self resource.
  15. May we see the serverside and also the entire handling in client?
  16. Tekken

    help

    So they can only be used in that file from there on, thus making them "faster" I don’t think he’s the author of the script
  17. Tekken

    [HELP] rocket

    cancelEvent() setElementHealth()
×
×
  • Create New...