arciCZ

Members
  • Content count

    12
  • Joined

  • Last visited

Community Reputation

1 Neutral

About arciCZ

  • Rank
    Square
  1. Server crashing Client

    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
  2. Array -> Question

    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.
  3. Protecting client files (not scripts)

    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.
  4. [Help]xmlLoadFile Furniture list

    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.
  5. [Help]xmlLoadFile Furniture list

    You have node = xmlLoadFile("objects.xml") buut you loading id and name from xml in variable subnode.
  6. Meno v hre: arciCZ Slovensko/ Cesko: Česko Server: CrexLite (Player) Ovladám: PHP, CSS, PAWN, LUA
  7. Anyone can help me for this Scoreboard with flag

    Send ther source code. If we dont have source then we can edit anything.
  8. [Release]thisdp's Dx GUI System

    Is there ingame editor for that ?
  9. 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?
  10. Help!

    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.
  11. Problem with requirement

    I try this but in debugscript send me number. //Edit: Thank you verry much. That is function.
  12. Problem with requirement

    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"] outputDebugString(plat .. "|" .. tip) if tip == 1 then plat = plat + 200 end if tip == 2 then plat = plat + 500 end if tip == 3 then plat = plat + 800 end if tip == 4 then plat = plat + 1000 end if tip == 5 then plat = plat + 1500 end end end addCommandHandler("testvyplata", test, false, true) Thank for help.