arciCZ

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

1 Neutral

About arciCZ

  • Rank
    Square

Recent Profile Visitors

793 profile views
  1. arciCZ

    Discord Webhook

    Hello, i need help i now trying to make Discord Webhook Embeds, but when i do it i only get response code 400 and Response data: " {"embeds": ["0"]} " sendOptions={ formFields = { embeds = { title = "Hi", description = " S6066 authored & committed", fields={ {name="1",value="2"}, {name="3",value="4"} }, footer = { text = "Woah! So cool! :smirk:", icon_url = "https://i.imgur.com/fKL31aD.jpg" } } } } fetchRemote(Webhook1URL, sendOptions,callback) And Response with Iprint is --Response Data: {"embeds": ["0"]} --Errno { headers = { ["Alt-Svc"] = "clear", ["CF-Cache-Status"] = "DYNAMIC", ["CF-RAY"] = "53535a16ba733e0c-PRG", Connection = "keep-alive", ["Content-Length"] = "17", ["Content-Type"] = "application/json", Date = "Wed, 13 Nov 2019 20:03:56 GMT", ["Expect-CT"] = 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', Server = "cloudflare", ["Set-Cookie"] = "__cfduid=da477b12fac9e577fb9c4965f1d100e001573675436; expires=Thu, 12-Nov-20 20:03:56 GMT; path=/; domain=.discordapp.com; HttpOnly", ["Strict-Transport-Security"] = "max-age=31536000; includeSubDomains", Via = "1.1 google", ["X-RateLimit-Bucket"] = "3cd1f278bd0ecaf11e0d2391374c011d", ["X-RateLimit-Limit"] = "5", ["X-RateLimit-Remaining"] = "4", ["X-RateLimit-Reset"] = "1573675439", ["X-RateLimit-Reset-After"] = "2" }, statusCode = 400, success = false }
  2. I do that with addCommandHandler and getCommandHandlers thanks for help all.
  3. @IIYAMA oh okay, i need this because i want to log last 10 commands with params for reports.
  4. @IIYAMA Yes, but I do not need a specific one, but I need it in general for all, no need for a command after a command.
  5. I want to log players command with his parametrs then when i use /command hello then i want log into variable for next use: Player etc.. used command "/command" with params "hello"
  6. Hi is there a way how to get from Event Handler "onPlayerCommand" a params from command? Or for get command and params is other event handler?
  7. Hello, i have problem i scripter on one server czech and server crashing client, when i seeing debugscript then doesnt error doesnt show and other warnings, thanks for help what resource is crashing client. https://imgur.com/a/dEjZU37
  8. arciCZ

    Array -> Question

    Thank you very much, it works.
  9. Hello is there everyone way to add new block with table.insert or etc. local Ankety = { [0] = { ["nazev"] = "ABC", ["obsah"] = " Yeah your car", ["hlasoval"] = 1, ["Ano"] = 24, ["Ne"] = 20, }, [1] = { ["nazev"] = "ASC", ["obsah"] = ' Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer rutrum quam mauris, sed \n commodo odio auctor malesuada. Sed lacus lacus, \n semper a nisi nec, condimentum tincidunt sem. \n Aliquam et odio nulla.', ["hlasoval"] = 0, ["Ano"] = 31, ["Ne"] = 50, } } and i need with table.insert or anything make that: local Ankety = { [0] = { ["nazev"] = "ABC", ["obsah"] = " :O your :O", ["hlasoval"] = 1, ["Ano"] = 24, ["Ne"] = 20, }, [1] = { ["nazev"] = "ASC", ["obsah"] = ' Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer rutrum quam mauris, sed \n commodo odio auctor malesuada. Sed lacus lacus, \n semper a nisi nec, condimentum tincidunt sem. \n Aliquam et odio nulla.', ["hlasoval"] = 0, ["Ano"] = 31, ["Ne"] = 50, }, [2] = { ["nazev"] = "And", ["obsah"] = ' Yeah ipsum dolor sit amet, consectetur adipiscing elit. Integer rutrum quam mauris, sed \n commodo odio auctor malesuada. Sed lacus lacus, \n semper a nisi nec, condimentum tincidunt sem. \n Aliquam et odio nulla.', ["hlasoval"] = 0, ["Ano"] = 10, ["Ne"] = 15, } } Thank for help.
  10. For not download for client you can youse value into meta to file cache="false" .. https://wiki.multitheftauto.com/wiki/Meta.xml If you use cache False then when load that script for client then he download into cache that file.
  11. Yes but you have opened xml file in variable NODE and then you getting value id and name from varible subnode but you doenst opening xml and you dont have variable subnode //EDIT: Sorry i now see you have variable subnode.
  12. You have node = xmlLoadFile("objects.xml") buut you loading id and name from xml in variable subnode.
  13. Meno v hre: arciCZ Slovensko/ Cesko: Česko Server: CrexLite (Player) Ovladám: PHP, CSS, PAWN, LUA
  14. Send ther source code. If we dont have source then we can edit anything.