Jump to content

Ja[B]er[X]Pro

Members
  • Posts

    779
  • Joined

  • Last visited

Everything posted by Ja[B]er[X]Pro

  1. هريسة صار يجي لما اضغط على تسجيل [Login-System] You're account use agian!! وهذا يعني بأن الحساب موجود وجربت ادخل به يجيني غير مووجود
  2. مافي خطا اعتقد اتاكد من لوحه من عندك متأكد من كل شيئ لكن ما يضيف حساب وانا ضفت المود لجروب ادمن ايضاً والدي بق يجيب خطأ ب addAccount(user,pass)
  3. client addEventHandler("onClientGUIClick",root, function () local user = guiGetText(user) local pass = guiGetText(pass) if ( source == login ) then if user ~= "" and pass ~= "" then if guiCheckBoxGetSelected(remember) then triggerServerEvent("onLoginWith",localPlayer,user,pass) else triggerServerEvent("onLogin",localPlayer,user,pass) end else outputChatBox("[Login-System] : You're don't Write Username Or Password",255,0,0) end elseif ( source == reg ) then if user ~= "" and pass ~= "" then triggerServerEvent("onReg",localPlayer,user,pass) else outputChatBox("[Login-System] : You're don't Write Username Or Password",255,0,0) end end end )
  4. السلام عليكم ورحمة الله وبركاته انا سويت لوحة تسجيل دخول لكن بزر register ما يسوي حساب جديد الدي بق يقول لي المشكلة ب addAccount(user,pass) الاكواد addEvent("onReg",true) addEventHandler("onReg",root, function (user,pass) local acc = getAccount(user,pass) if acc then outputChatBox("[Login-System] You're account use agian!!",source,255,0,0) else addAccount(user,pass) outputChatBox("[Login-System]: username = " .. user .. "",source,0,255,0) outputChatBox("[Login-System]: password = " .. pass .. "",source,0,255,0) end end )
  5. لما تحطها على الوحة bindsذي بتطفي الـ حقت الشات وانت فاتح الوحة مابيجيك الشات T بمعنى لو ضغطت على
  6. source ماهي معرفة addCommandHandler("vip",function( source ) local accName = getAccountName ( getPlayerAccount ( source) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerClientEvent (source,"open",source) end end) الان شغالة شكراًً لك
  7. شكراً لك سويت لوحة فيب لكن ما تفتح والدي بق ما به شيئ addCommandHandler("vip",function() if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then triggerEventClient("open",source) end end) addEvent("open",true) addEventHandler("open",root,function() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end)
  8. سؤال اخر كيف اوقف الوقت بالسيرفر الوقت حق الجو
  9. طلب صغير ممكن فنكشن اخفاء الاعب؟
  10. خلص حليتها مشكوووور اوسكار ردك اعطاني الحل للي يبي يعرف الحل bindKey ( "k", "down", function ( ) if isPlayerGroupName("support") then guiSetVisible (supportsystem,not guiGetVisible (supportsystem)) showCursor (guiGetVisible (supportsystem)) guiSetEnabled(aMessagesForm,true) else guiSetVisible (supportsystem,not guiGetVisible (supportsystem)) showCursor (guiGetVisible (supportsystem)) end end)
  11. اخي انا ما ابي اللوحة تفتح فقط للسبورت ابي اللوحة تفتح عند الكل لكن ان كان الشخص الذي فتحها سبورت يفتح له التاب الاخر
  12. السلام عليكم ورحمة الله وبركاته سويت لوحة سبورت لكن هناك مشكلة بكود فتح اللوحة بزر انا مسويها تفتح من حرف K لكن المشكلة ان ضغط حرف K تفتح وما تغلق مرة اخرى جربت اسويها اف5 اشتغلت %100 لكن ان رجعتها حرف K تخرب الاكواد bindKey("K","down", function() guiSetVisible(supportsystem, not guiGetVisible(supportsystem) ) showCursor( guiGetVisible(supportsystem) ) guiSetInputEnabled( guiGetVisible(supportsystem) ) if isPlayerGroupName("support") then guiSetEnabled(aMessagesForm,true) end end )
  13. السلام عليكم روحمة الله وبركاته انا بسوي مود لفل سيستم لكن اجتني مشكلة سويت عند موت الاعب يعطي القاتل داتا الاكس بي لكن ما عرفت اسوي ال guiSetVisible للفل + الاكس بي وتجدد عدد الاكس بي حسب الجدول level = { [1] = 40, [2] = 80, [3] = 100, [4] = 120, [5] = 150, [6] = 180, [7] = 200, [8] = 230, [9] = 280, [10] = 300, [11] = 340, [12] = 370, [13] = 400, [14] = 430, [15] = 450, [16] = 480, [17] = 500, [18] = 550, [19] = 600, [20] = 700, [21] = 780, [21] = 900, [22] = 1100, [23] = 1500, [24] = 2000, [25] = 2500 } local xp = math.random(15) addEventHandler( "onClientPlayerWasted", root, function( _, Killer ) if ( Killer and Killer ~= source and getElementType( Killer ) == "player" ) then setElementData(Killer,"xp",getElementData(Killer,"xp") or 0 + xp) end end )
  14. غلط ماينفع كلنت على سيرفر اها شكراً اسف ما انتبهت بعدله
  15. دا مثال سويته لك الاكواد التي وضعت فوقهم --[[useful Function]]-- لا تعدلهم اما الاكواد التي تحت --[ ]-- عدلها كما تبي server [xml] --[[useful Function]]-- function isPlayerInACL ( player, acl ) local account = getPlayerAccount ( player ) if ( isGuestAccount ( account ) ) then return false end return isObjectInACLGroup ( "user."..getAccountName ( account ), aclGetGroup ( acl ) ) end --[[Code]]-- addEvent("groupacl",true) addEventHandler("groupacl",root,function() if isPlayerInACL(localPlayer,"Console") then triggerEventClient("text",source) end end) [/xml] client [xml] --[[useful Function]]-- function dxDrawTextOnElement(TheElement,text,height,distance,R,G,B,alpha,size,font,checkBuildings,checkVehicles,checkPeds,checkDummies,seeThroughStuff,ignoreSomeObjectsForCamera,ignoredElement) local x, y, z = getElementPosition(TheElement) local x2, y2, z2 = getElementPosition(localPlayer) local distance = distance or 20 local height = height or 1 local checkBuildings = checkBuildings or true local checkVehicles = checkVehicles or false local checkPeds = checkPeds or false local checkObjects = checkObjects or true local checkDummies = checkDummies or true local seeThroughStuff = seeThroughStuff or false local ignoreSomeObjectsForCamera = ignoreSomeObjectsForCamera or false local ignoredElement = ignoredElement or nil if (isLineOfSightClear(x, y, z, x2, y2, z2, checkBuildings, checkVehicles, checkPeds , checkObjects,checkDummies,seeThroughStuff,ignoreSomeObjectsForCamera,ignoredElement)) then local sx, sy = getScreenFromWorldPosition(x, y, z+height) if(sx) and (sy) then local distanceBetweenPoints = getDistanceBetweenPoints3D(x, y, z, x2, y2, z2) if(distanceBetweenPoints < distance) then dxDrawText(text, sx+2, sy+2, sx, sy, tocolor(R or 255, G or 255, B or 255, alpha or 255), (size or 1)-(distanceBetweenPoints / distance), font or "arial", "center", "center") end end end end --[[Code]]-- addEvent("text",true) addEventHandler("text",root,function() dxDrawTextOnElement(localPlayer,"Console",1,20,0,0,255,255,1,"arial") end) addEventHandler("onClientRender",root,function() triggerServerEvent("groupacl",localPlayer) end) [/xml] اسف ان يوجد خطأ
  16. القسم الخطأ لكن تقدر تطلب هنا فنكشنات لعمل مود حماية
  17. كفووو سكربت رائع من شخص ارووع واصل لكن هناك مشكلة اعتقد ما انتبهت لها عند تشغيل اي مود بالسيرفر يظهر الكلام بالشات ما فقط المود الخاص بك :~
  18. كفووو سكربت رائع واصل يا مبدع
×
×
  • Create New...