Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/11/17 in all areas

  1. What are you even trying to do here: destroyElement(tostring(image[i][1]))--What am I doing wrong here? the tostring doesn't make sense in this place, also why are you trying to access index 1 of the image? just add destroyElement(source) at the end of your MineIronGUI function
    1 point
  2. بدون منازع افضل أعلان على الأطلاق أهنيك
    1 point
  3. function math.round(number, decimals, method) decimals = decimals or 0 local factor = 10 ^ decimals if (method == "ceil" or method == "floor") then return math[method](number * factor) / factor else return tonumber(("%."..decimals.."f"):format(number)) end end usage: math.round(10.4) -- output: 10
    1 point
  4. why don not you edit attach's resources? You can add setElementDimension/Interior in the render event.
    1 point
  5. Die Sprache ist Deutsch: Hallo, ich habe ein Problem, ich habe Sprachchat aktiviert ist ja auch alles schön und gut, aber ich möchte das die mich auch nur in der Umgebung hören können wie würde das script dann aussehen und wo soll ich das hinein tun ?! Bendanke mich schonmal ^^ Mit freundlichen grüßen NRKiller55
    1 point
  6. ماشاء الله مود روعة بلتوفيق لك دايما وابدا
    1 point
  7. Use an app called Solo Learn, for sql teachings, the class is short and fast. It tell's everything about sql. This might help you. SELECT password,username,user_id,token FROM users WHERE username = ?
    1 point
  8. soo good and so easy to use but u have small mistake in grid list the scrollbar not working line 443 at client.lua any way i fixed it download link:https://up.top4top.net/downloadf-67100qlm1-zip.html
    1 point
  9. قم بتجربة هذا local ID_Database = dbConnect ( "sqlite", "ID_Database.db" ) dbExec ( ID_Database, "CREATE TABLE IF NOT EXISTS `ID` (`Account`,`Number`)") getLastUsedID = function ( ) local id = 0 local db = dbPoll ( dbQuery ( ID_Database, "SELECT * FROM `ID`" ), -1 ) if #db > 0 then for i, v in ipairs ( db ) do id = v.Number end end return tonumber(id) end getAccountID = function ( acc ) if acc then local db = dbPoll ( dbQuery ( ID_Database, "SELECT * FROM `ID` WHERE `Account`=?", tostring(acc) ), -1 ) if #db > 0 then return tostring(db[1].Number) end end return false end giveAccountID = function ( acc ) if acc then if not getAccountID ( acc ) then local id = getLastUsedID ( ) +1 dbExec ( ID_Database, "INSERT INTO `ID` VALUES(?,?)", tostring(acc), tostring(id) ) return tostring(id) end end return false end loadPlayerID = function ( player ) local account = getPlayerAccount ( player ) if not isGuestAccount ( account ) then local acc = getAccountName ( account ) local id = getAccountID ( acc ) if id then setElementData ( source, "playerid", id ) return id else local newID = giveAccountID ( acc ) if newID then setElementData ( source, "playerid", newID ) return newID end end end return false end addEventHandler ( "onPlayerLogin", root, function ( ) loadPlayerID ( source ) end ) addEventHandler ( "onResourceStart", resourceRoot, function ( ) for i, v in ipairs ( getElementsByType ( "player" ) ) do loadPlayerID ( v ) end end )
    1 point
  10. OH lol, waaaaaahhh!! This is NO good, hell no. =/ local newLvl = false function newLvlFunction() if not newLvl then setTimer(function() newLvl = false end,5000,1) end newLvl = true end addEvent( "onClientLevelUp", true ) addEventHandler( "onClientLevelUp", localPlayer, newLvlFunction) addEventHandler("onClientRender", root, function () if newLvl == true then dxDrawRectangle(screenW * 0.4083, screenH * 0.9037, screenW * 0.1839, screenH * 0.0528, tocolor(0, 0, 0, 160), false) dxDrawImage(screenW * 0.4094, screenH * 0.9046, screenW * 0.0271, screenH * 0.0491, ":DayZ/tools/images/flags/join.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText("Congradulations! You have reached "..getElementData(getLocalPlayer(),"level").." Level!", screenW * 0.4385, screenH * 0.9046, screenW * 0.5901, screenH * 0.9537, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) end end) @Emix
    1 point
  11. تقدر تسوي setElementData ( player, "texts" , { "hi" , "hello" , "welcome" } ) local playerData = getElementData ( player , "texts" ) or { } print ( table.concat ( playerData, "," ) ) -- راح يجيبها بالتتابع او تقدر تستخدم الارقام او اللوب حق الارقام مثل print ( playerData [ 1 ] ) for i=1 , #playerData do print ( playerData [ i ] ) end
    1 point
  12. لا أحتاج لـ أحد ان يدون أسمي في لائحة أفضل المبرمجين .. لأنني ببساطة أنا افضلهم ولا يحتاج لـ ذكري أسماً ( كيف التكبر بس ) بنسبة لي : 1 - DTC 2 - DABL 3 - Nssor كل واحد أفضل من ثاني بمهاراته بتوفيق لكل المبرمجين @_@
    1 point
  13. السلام عليكم ورحمة الله وبركاتة لقد تم إضافة خاصية حماية الحساب قبل فتره بسيطة وتم إنشاء هذا الموضوع لمن لم يلاحظ وجود هذه الخاصية او لمن لايعرف طريقة إستخدامها حتي ! اولأ طريقة تفعيل هذه الحماية عن طريق إتباع الخطوات التالية : Account Settings الذهاب الي ومن ثم كما موضح في الصورة ومن ثم سيطلب منك إدخال الباسورد الحالي لحسابك ومن ثم سيفتح لك هذه النافذه والان اصبح لديك 3 خيارات وسأقوم بشرح كل واحده منهم Authy: تقوم بإرسال كود سري لهاتفك ومن ثم سيطلب المنتدي منك إدخال هذا الكود السري في المنتدي لتتمكن من فتح حسابك Google Authenticator: يجب عليك تحميله علي هاتفك ومن ثم سيعطيك كود سري وسيطلب منك المنتدي هذا الكود السري لتتمكن من فتح حسابك Security Questions: اسئلة الامان ( لاداعي لشرحها لأنها معروفة ) ملاحظة مهمة : عند تفعيل اي واحده منهم سيسألك المنتدي عن الكود السري من وقت لأخر وهذا لا يعني ان هناك شخص قد قام بإختراق حسابك , هذا فقط للتأكد من انك انت صاحب الحساب الاصلي وحتي في حال تم إختراق حسابك من اي عضو اخر لاتقلق لأن حسابك سيكون بأمان ولن يستطيع فعل اي شي الا بعد ان يقوم بإدخال الكود السري الذي يتم إرساله لك تم تثبيت الموضوع لفترة مؤقتة واتمني لكم التوفيق
    1 point
×
×
  • Create New...