Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by arciCZ

  1. @savour Still same response data. @MIKI785 can you send me please some example because when i try: embeds = toJSON(...) then it have same response data.
  2. 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 {
  3. I do that with addCommandHandler and getCommandHandlers thanks for help all.
  4. @IIYAMA oh okay, i need this because i want to log last 10 commands with params for reports.
  5. @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.
  6. 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"
  7. 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?
  8. 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
  9. Thank you very much, it works.
  10. 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,
  11. 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.
  12. 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.
  13. You have node = xmlLoadFile("objects.xml") buut you loading id and name from xml in variable subnode.
  14. Meno v hre: arciCZ Slovensko/ Cesko: Česko Server: CrexLite (Player) Ovladám: PHP, CSS, PAWN, LUA
  15. Send ther source code. If we dont have source then we can edit anything.
  16. arciCZ

    Vehicle shot

    Hello, I have a question, is there any chance to find out when a player shoots what part of the car he has hit?
  17. arciCZ


    createMarker destroyElement setTimer You can make marker into variable and start timer when your timer maked then you can destroyelement on variable with marker then you create new marker.
  18. I try this but in debugscript send me number. //Edit: Thank you verry much. That is function.
  19. Hello, i have one problem but that doesn´t say anything errors / warnings. If i send mysql command to SQL Form in phpmyadmin then that give me values of i need and same values give into game but condition if tip == 1 then doens´t called can they help me ? (Variable tip = 1) function test(thePlayer, cmd) local tip = 0 local plat = 0 local id = getElementData(thePlayer, "dbid") local query = mysql:query('SELECT * FROM `PojistitVeh` WHERE `Enabled`=1 AND `Character`="'.. id ..'"') while true do local row = mysql:fetch_assoc(query) if not row then return end tip = row["Tip"] outpu
  • Create New...