Jump to content

Ja[B]er[X]Pro

Members
  • Posts

    779
  • Joined

  • Last visited

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

  1. --server bindkey("F1",down,window, function() local accName = getPlayerAccount( source ) if (not accName or isGuestAccount) then return else if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then triggerClientEvent(source,"open") end end end) --client function open( local_P ) if (local_P == localPlayer) then guiSetVisibe(window,true) showCursor(true) end end addEevent("open",true) addEeventHandler("open",source,open) thank you
  2. WARNING: login1/cLogin_desingner.lua:230: Bad argument @ 'guiCreateEdit' [Expeted bool at argument 6, got number'27'] WARNING: login1/cLogin_desingner.lua:231: Bad argument @ 'guiCreateEdit' [Expeted bool at argument 6, got number'26'] WARNING: login1/cLogin_desingner.lua:232: Bad argument @ 'guiSetMasked' [Expeted gui-element at argument 1, got boolean]
  3. --server bindkey("F1",down,window, function() if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then triggerClientEvent(sourc,"open") end end) --client function open() guiSetVisibe(window,true) showCursor(true) end addEevent("open",true) addEeventHandler("open",source,open) Now??
  4. ????????????? bindkey("F1",down,window, function() if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then guiSetVisible(window,true) showCursor ( true ) end end)
  5. السلام عليكم ورحمة الله وبركاته ابي فنكشن يتاكد ان الاعب برتبة محددة حتى تفتح له اللوحة
  6. السلام عليكم ورحمة الله وبركاته هل هذا الكود صحيح؟؟ عند الضغط على زر يوقف البوتون ل1 دقيقة؟؟ addEventHandler("onClientGUIClick",root, function() if (source == اسم الزر) guiSetInputEnabled (false) setTimer( function() guiSetInputEnabled(true) end end end,60000,1) وسؤال اخر بال setTimer ما فائدة رقم 1 بعد ال 60 الف؟
  7. وش دخل الخط بحجم الايديت طيب سوي الخط اوكي ؟ وخلي له متغير وبعدين استخدم guiSetSize للخط طبعا ما ابي اغير حجم الخط ابي اغير الايديت بوكس ما الخط الخاص به
  8. الاكواد بعد تعديلي local x1, y1 = x/4/1920*x, w.sY + (290/1080*y) if s == 1 then edits[1] = guiCreateEdit(x1 + dxGetTextWidth("Username", 1, iFont[14]) + 20, y1,145, 364, 65, 27, "", false) edits[2] = guiCreateEdit(x1 + (370/1920*x) + dxGetTextWidth("Password", 1, iFont[14]), y1, 278, 364, 65, 26, "", false) guiEditSetMasked(edits[2], true) --guiBringToFront(edits[1]) elseif s == 2 then edits[1] = guiCreateEdit(x1 + dxGetTextWidth("Username", 1, iFont[14]) + 20, y1, 145, 364, 65, 27, "", false) edits[2] = guiCreateEdit(x1 + (370/1920*x) + dxGetTextWidth("Password", 1, iFont[14]), y1,278, 364, 65, 26, "", false) edits[3] = guiCreateEdit(x1 + (720/1920*x) + dxGetTextWidth("Password", 1, iFont[14]), y1,278, 364, 65, 26, "", false) guiEditSetMasked(edits[2], true) guiEditSetMasked(edits[3], true) --guiBringToFront(edits[1]) end guiSetInputMode("no_binds_when_editing") end
  9. السلام عليكم ورحمة الله وبركاته انا معي مود لوحة تسجيل لكن الايديت الخاص بالباس + اسم الحساب صغار جداً عدلتهم بالجويد اديتور لكن بعد التعديل الايديت ما يظهر بالمود اكواد الايديت الاصلية local x1, y1 = x/4/1920*x, w.sY + (290/1080*y) if s == 1 then edits[1] = guiCreateEdit(x1 + dxGetTextWidth("Username", 1, iFont[14]) + 20, y1, 150/1920*x, 21/1080*y, "", false) edits[2] = guiCreateEdit(x1 + (370/1920*x) + dxGetTextWidth("Password", 1, iFont[14]), y1, 150/1920*x, 21/1080*y, "", false) guiEditSetMasked(edits[2], true) --guiBringToFront(edits[1]) elseif s == 2 then edits[1] = guiCreateEdit(x1 + dxGetTextWidth("Username", 1, iFont[14]) + 20, y1, 150/1920*x, 21/1080*y, "", false) edits[2] = guiCreateEdit(x1 + (370/1920*x) + dxGetTextWidth("Password", 1, iFont[14]), y1, 150/1920*x, 21/1080*y, "", false) edits[3] = guiCreateEdit(x1 + (720/1920*x) + dxGetTextWidth("Password", 1, iFont[14]), y1, 150/1920*x, 21/1080*y, "", false) guiEditSetMasked(edits[2], true) guiEditSetMasked(edits[3], true) --guiBringToFront(edits[1]) end guiSetInputMode("no_binds_when_editing") end
  10. السلام عليكم ورحمة الله وبركاته انا اسوي بكود يجيب جميع الماركرات ويعطيخليها تنقل الاعبين عند لمسه لماركر اخر مخفي لكن ما قدرت اكمله addEventHandler("onPlayerMarkerHit",root, function() if getElementType(source) == "player" and getElementData(source,"Group") == "Group Name" then for k, v in pairs( getElementByType("marker")) do local Red,Green,Blue = getMarkerColor(v) if getMarkerSize(v) == 1.5 and Red == 255 and Green == 255 and Blue == 0 then if setElementInterior(marker) == 5 then اعتقد احتاج استخدام getElementPosition حتى اجيب احداثيات الماركر المخفي لكن كيف ؟؟
  11. ما رح استخدم الاكواد الجاهزة بحاول اسويها شكراً Ahmed Ly
  12. السلام عليكم ورحمة الله وبركاته انا سويت لوحة صك الكل فريز + فك الفريز كل شيئ شغال لكن سويت ايديت بوكس للسبب كيف اخليه يحط سبب بالشات؟؟ GUIEditor = { edit = {}, button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(188, 100, 444, 363, ".:[Freze All]:.", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible (GUIEditor.window[1],false) GUIEditor.label[1] = guiCreateLabel(154, 35, 142, 42, ".:[Freze All]:.", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") GUIEditor.label[2] = guiCreateLabel(292, 132, 55, 15, "السبب :", false, GUIEditor.window[1]) GUIEditor.edit[1] = guiCreateEdit(143, 113, 139, 57, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(151, 183, 113, 60, "FreezeAll", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFD6DC3B") GUIEditor.button[2] = guiCreateButton(96, 253, 221, 67, "UnFreezeAll", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFD2919") GUIEditor.label[3] = guiCreateLabel(11, 330, 148, 23, "By : #x"HMO-GODA & Ja[B]eR ", false, GUIEditor.window[1]) --client addCommandHandler("freezall", function( ) guiSetVisible(GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1]) ) showCursor( guiGetVisible (GUIEditor.window[1]) ) end ) addEventHandler( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent( "FreezeAll", localPlayer ) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent( "RemoveFreezeAll", localPlayer ) end end ) ----- --server addEvent ( "FreezeAll", true ) addEventHandler ( "FreezeAll", root, function ( ) for _,v in ipairs ( getElementsByType ( "player" ) ) do setElementFrozen ( v, true ) end end ) addEvent ( "RemoveFreezeAll", true ) addEventHandler ( "RemoveFreezeAll", root, function ( ) for _,v in ipairs ( getElementsByType ( "player" ) ) do setElementFrozen ( v, false ) end end )
  13. هو UTF-8 من قبل شكراً لك
  14. عدلت الكلام وكتبت بالعربي الكلام اجا الكلام باللوحة فوق خطأ skins = { { "Skin 1", 124 }, { "Skin 2", 73 }, { "Skin 3", 253 }, { "Skin 4", 220 }, { "Skin 5", 240 }, } Skin_changer = guiCreateButton(0.54, 0.28, 0.10, 0.04, "# Change skin", true) guiSetVisible( Skin_changer, false) guiSetFont(Skin_changer, "default-bold-small") guiSetProperty(Skin_changer, "NormalTextColour", "FF00C9FC") Skins_close = guiCreateButton(0.54, 0.74, 0.10, 0.04, "# Close panel", true) guiSetVisible( Skins_close, false) guiSetFont(Skins_close, "default-bold-small") guiSetProperty(Skins_close, "NormalTextColour", "FFFC00AB") Skins_grid = guiCreateGridList(0.36, 0.27, 0.17, 0.53, true) guiSetVisible( Skins_grid, false) guiGridListAddColumn(Skins_grid, "# Skins ", 0.5) guiGridListAddColumn(Skins_grid, "# ID ", 0.5) local screenW, screenH = guiGetScreenSize() function Skins_panel() dxDrawLine((screenW * 0.3543) - 1, (screenH * 0.2005) - 1, (screenW * 0.3543) - 1, screenH * 0.8008, tocolor(0, 253, 11, 255), 1, false) dxDrawLine(screenW * 0.6457, (screenH * 0.2005) - 1, (screenW * 0.3543) - 1, (screenH * 0.2005) - 1, tocolor(0, 253, 11, 255), 1, false) dxDrawLine((screenW * 0.3543) - 1, screenH * 0.8008, screenW * 0.6457, screenH * 0.8008, tocolor(0, 253, 11, 255), 1, false) dxDrawLine(screenW * 0.6457, screenH * 0.8008, screenW * 0.6457, (screenH * 0.2005) - 1, tocolor(0, 253, 11, 255), 1, false) dxDrawRectangle(screenW * 0.3543, screenH * 0.2005, screenW * 0.2914, screenH * 0.6003, tocolor(250, 4, 207, 194), false) dxDrawText("*|-عالم الزومبي-|*", (screenW * 0.3543) - 1, (screenH * 0.2005) - 1, (screenW * 0.6457) - 1, (screenH * 0.2604) - 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("*|-عالم الزومبي-|*", (screenW * 0.3543) + 1, (screenH * 0.2005) - 1, (screenW * 0.6457) + 1, (screenH * 0.2604) - 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("*|-عالم الزومبي-|*", (screenW * 0.3543) - 1, (screenH * 0.2005) + 1, (screenW * 0.6457) - 1, (screenH * 0.2604) + 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("*|-عالم الزومبي-|*", (screenW * 0.3543) + 1, (screenH * 0.2005) + 1, (screenW * 0.6457) + 1, (screenH * 0.2604) + 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("*|-عالم الزومبي-|*", screenW * 0.3543, screenH * 0.2005, screenW * 0.6457, screenH * 0.2604, tocolor(47, 252, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawLine(screenW * 0.3543, screenH * 0.2604, screenW * 0.6457, screenH * 0.2604, tocolor(47, 252, 0, 255), 2, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5322) - 1, (screenH * 0.3411) - 1, (screenW * 0.5842) - 1, (screenH * 0.5130) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5322) + 1, (screenH * 0.3411) - 1, (screenW * 0.5842) + 1, (screenH * 0.5130) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5322) - 1, (screenH * 0.3411) + 1, (screenW * 0.5842) - 1, (screenH * 0.5130) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5322) + 1, (screenH * 0.3411) + 1, (screenW * 0.5842) + 1, (screenH * 0.5130) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", screenW * 0.5322, screenH * 0.3411, screenW * 0.5842, screenH * 0.5130, tocolor(41, 252, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5864) - 1, (screenH * 0.5586) - 1, (screenW * 0.6384) - 1, (screenH * 0.7305) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5864) + 1, (screenH * 0.5586) - 1, (screenW * 0.6384) + 1, (screenH * 0.7305) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5864) - 1, (screenH * 0.5586) + 1, (screenW * 0.6384) - 1, (screenH * 0.7305) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5864) + 1, (screenH * 0.5586) + 1, (screenW * 0.6384) + 1, (screenH * 0.7305) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", screenW * 0.5864, screenH * 0.5586, screenW * 0.6384, screenH * 0.7305, tocolor(41, 252, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5864) - 1, (screenH * 0.3411) - 1, (screenW * 0.6384) - 1, (screenH * 0.5130) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5864) + 1, (screenH * 0.3411) - 1, (screenW * 0.6384) + 1, (screenH * 0.5130) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5864) - 1, (screenH * 0.3411) + 1, (screenW * 0.6384) - 1, (screenH * 0.5130) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5864) + 1, (screenH * 0.3411) + 1, (screenW * 0.6384) + 1, (screenH * 0.5130) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", screenW * 0.5864, screenH * 0.3411, screenW * 0.6384, screenH * 0.5130, tocolor(0, 252, 237, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5344) - 1, (screenH * 0.5586) - 1, (screenW * 0.5864) - 1, (screenH * 0.7305) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5344) + 1, (screenH * 0.5586) - 1, (screenW * 0.5864) + 1, (screenH * 0.7305) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5344) - 1, (screenH * 0.5586) + 1, (screenW * 0.5864) - 1, (screenH * 0.7305) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5344) + 1, (screenH * 0.5586) + 1, (screenW * 0.5864) + 1, (screenH * 0.7305) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", screenW * 0.5344, screenH * 0.5586, screenW * 0.5864, screenH * 0.7305, tocolor(252, 249, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawLine(screenW * 0.5322, screenH * 0.5339, screenW * 0.6457, screenH * 0.5339, tocolor(47, 252, 0, 255), 5, false) end addEvent("openwindow", true) addEventHandler( 'openwindow', root, function() addEventHandler('onClientRender', root, Skins_panel) guiSetVisible(Skins_grid,true) guiSetVisible(Skin_changer,true) guiSetVisible(Skins_close,true) showCursor(true) end ) for i,v in ipairs( skins ) do row = guiGridListAddRow(Skins_grid) guiGridListSetItemText( Skins_grid, row, 1, tostring(v[1]), false, false ) guiGridListSetItemText( Skins_grid, row, 2, tonumber(v[2]), false, false ) guiGridListSetItemData( Skins_grid, row, 1, tonumber(v[2]) ) guiGridListSetItemColor( Skins_grid, row, 1, math.random(255),math.random(255),math.random(255) ) guiGridListSetItemColor( Skins_grid, row, 2, math.random(255),math.random(255),math.random(255) ) end addEventHandler('onClientGUIClick', root, function() if (source == Skins_close) then removeEventHandler('onClientRender', root, Skins_panel) guiSetVisible(Skins_grid,false) guiSetVisible(Skin_changer,false) guiSetVisible(Skins_close,false) showCursor(false) elseif (source == Skin_changer) then local Data = guiGridListGetItemData( Skins_grid, guiGridListGetSelectedItem ( Skins_grid ), 1 ) triggerServerEvent( 'ChangeSkin', localPlayer, Data ) end end )
  15. عدلته لكن صار يجي هكذا --[[ *** *** *** *** *** *** *** *** * * *** *** *** *** ****** ****** ************* ************ ************* ***** ***** **** ************ ****** ****** ************** ****** ****** **** ********* ****** ****** **** ************* ******* ******* *** **** **** **** *** **** ******** ******* **** *** **** *** *** *** *** *** **** *** *** **** *** **** ******** **** *** **** *** *** **** *** ************** **** **** ** ************** **** *** **** **** **** *** **** *** *** *** *** *********** **** ********* *********** **** **** **** **** **** *** **** *** ******* *** *** ***** **** *** *** ***** ************* **** ******** *** **** *** ****** *** *** **** ***** *** *** **** ************** **** ******* *** **** *** ***** *** *** **** **** ******* ******* *** **** **** **** **** ****** ************* *** **** *** *** **** **** *********** **** **** *** **** **** ***** *********** --]] skins = { { "Skin 1", 124 }, { "Skin 2", 73 }, { "Skin 3", 253 }, { "Skin 4", 220 }, { "Skin 5", 240 }, } Skin_changer = guiCreateButton(0.54, 0.28, 0.10, 0.04, "# Change skin", true) guiSetVisible( Skin_changer, false) guiSetFont(Skin_changer, "default-bold-small") guiSetProperty(Skin_changer, "NormalTextColour", "FF00C9FC") Skins_close = guiCreateButton(0.54, 0.74, 0.10, 0.04, "# Close panel", true) guiSetVisible( Skins_close, false) guiSetFont(Skins_close, "default-bold-small") guiSetProperty(Skins_close, "NormalTextColour", "FFFC00AB") Skins_grid = guiCreateGridList(0.36, 0.27, 0.17, 0.53, true) guiSetVisible( Skins_grid, false) guiGridListAddColumn(Skins_grid, "# Skins ", 0.5) guiGridListAddColumn(Skins_grid, "# ID ", 0.5) local screenW, screenH = guiGetScreenSize() function Skins_panel() dxDrawLine((screenW * 0.3543) - 1, (screenH * 0.2005) - 1, (screenW * 0.3543) - 1, screenH * 0.8008, tocolor(0, 253, 11, 255), 1, false) dxDrawLine(screenW * 0.6457, (screenH * 0.2005) - 1, (screenW * 0.3543) - 1, (screenH * 0.2005) - 1, tocolor(0, 253, 11, 255), 1, false) dxDrawLine((screenW * 0.3543) - 1, screenH * 0.8008, screenW * 0.6457, screenH * 0.8008, tocolor(0, 253, 11, 255), 1, false) dxDrawLine(screenW * 0.6457, screenH * 0.8008, screenW * 0.6457, (screenH * 0.2005) - 1, tocolor(0, 253, 11, 255), 1, false) dxDrawRectangle(screenW * 0.3543, screenH * 0.2005, screenW * 0.2914, screenH * 0.6003, tocolor(250, 4, 207, 194), false) dxDrawText("*|- Skins panel v.1.0 -|*", (screenW * 0.3543) - 1, (screenH * 0.2005) - 1, (screenW * 0.6457) - 1, (screenH * 0.2604) - 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("*|- Skins panel v.1.0 -|*", (screenW * 0.3543) + 1, (screenH * 0.2005) - 1, (screenW * 0.6457) + 1, (screenH * 0.2604) - 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("*|- Skins panel v.1.0 -|*", (screenW * 0.3543) - 1, (screenH * 0.2005) + 1, (screenW * 0.6457) - 1, (screenH * 0.2604) + 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("*|- Skins panel v.1.0 -|*", (screenW * 0.3543) + 1, (screenH * 0.2005) + 1, (screenW * 0.6457) + 1, (screenH * 0.2604) + 1, tocolor(0, 0, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawText("*|- Skins panel v.1.0 -|*", screenW * 0.3543, screenH * 0.2005, screenW * 0.6457, screenH * 0.2604, tocolor(47, 252, 0, 255), 1.00, "bankgothic", "center", "center", false, false, false, false, false) dxDrawLine(screenW * 0.3543, screenH * 0.2604, screenW * 0.6457, screenH * 0.2604, tocolor(47, 252, 0, 255), 2, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5322) - 1, (screenH * 0.3411) - 1, (screenW * 0.5842) - 1, (screenH * 0.5130) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5322) + 1, (screenH * 0.3411) - 1, (screenW * 0.5842) + 1, (screenH * 0.5130) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5322) - 1, (screenH * 0.3411) + 1, (screenW * 0.5842) - 1, (screenH * 0.5130) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5322) + 1, (screenH * 0.3411) + 1, (screenW * 0.5842) + 1, (screenH * 0.5130) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", screenW * 0.5322, screenH * 0.3411, screenW * 0.5842, screenH * 0.5130, tocolor(41, 252, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5864) - 1, (screenH * 0.5586) - 1, (screenW * 0.6384) - 1, (screenH * 0.7305) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5864) + 1, (screenH * 0.5586) - 1, (screenW * 0.6384) + 1, (screenH * 0.7305) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5864) - 1, (screenH * 0.5586) + 1, (screenW * 0.6384) - 1, (screenH * 0.7305) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", (screenW * 0.5864) + 1, (screenH * 0.5586) + 1, (screenW * 0.6384) + 1, (screenH * 0.7305) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("* *\n* *\n* *", screenW * 0.5864, screenH * 0.5586, screenW * 0.6384, screenH * 0.7305, tocolor(41, 252, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5864) - 1, (screenH * 0.3411) - 1, (screenW * 0.6384) - 1, (screenH * 0.5130) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5864) + 1, (screenH * 0.3411) - 1, (screenW * 0.6384) + 1, (screenH * 0.5130) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5864) - 1, (screenH * 0.3411) + 1, (screenW * 0.6384) - 1, (screenH * 0.5130) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5864) + 1, (screenH * 0.3411) + 1, (screenW * 0.6384) + 1, (screenH * 0.5130) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", screenW * 0.5864, screenH * 0.3411, screenW * 0.6384, screenH * 0.5130, tocolor(0, 252, 237, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5344) - 1, (screenH * 0.5586) - 1, (screenW * 0.5864) - 1, (screenH * 0.7305) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5344) + 1, (screenH * 0.5586) - 1, (screenW * 0.5864) + 1, (screenH * 0.7305) - 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5344) - 1, (screenH * 0.5586) + 1, (screenW * 0.5864) - 1, (screenH * 0.7305) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", (screenW * 0.5344) + 1, (screenH * 0.5586) + 1, (screenW * 0.5864) + 1, (screenH * 0.7305) + 1, tocolor(0, 0, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawText("# #\n# #\n# #\n", screenW * 0.5344, screenH * 0.5586, screenW * 0.5864, screenH * 0.7305, tocolor(252, 249, 0, 255), 1.50, "beckett", "center", "top", false, false, false, false, false) dxDrawLine(screenW * 0.5322, screenH * 0.5339, screenW * 0.6457, screenH * 0.5339, tocolor(47, 252, 0, 255), 5, false) end addEvent("openwindow", true) addEventHandler( 'openwindow', root, function() guiSetVisible(Skins_grid,true) guiSetVisible(Skin_changer,true) guiSetVisible(Skins_close,true) showCursor(true) end) for i,v in ipairs( skins ) do row = guiGridListAddRow(Skins_grid) guiGridListSetItemText( Skins_grid, row, 1, tostring(v[1]), false, false ) guiGridListSetItemText( Skins_grid, row, 2, tonumber(v[2]), false, false ) guiGridListSetItemData( Skins_grid, row, 1, tonumber(v[2]) ) guiGridListSetItemColor( Skins_grid, row, 1, math.random(255),math.random(255),math.random(255) ) guiGridListSetItemColor( Skins_grid, row, 2, math.random(255),math.random(255),math.random(255) ) end addEventHandler('onClientGUIClick', root, function() if (source == Skins_close) then removeEventHandler('onClientRender', root, Skins_panel) guiSetVisible(Skins_grid,false) guiSetVisible(Skin_changer,false) guiSetVisible(Skins_close,false) showCursor(false) elseif (source == Skin_changer) then local Data = guiGridListGetItemData( Skins_grid, guiGridListGetSelectedItem ( Skins_grid ), 1 ) triggerServerEvent( 'ChangeSkin', localPlayer, Data ) end end ) http://d.top4top.net/p_26dqqf1.png
  16. هكذا يجي عندي بعد التسجيل
  17. جرب ملف بدل ملف سيرفر بهاد --Server --[[ *** *** *** *** *** *** *** *** * * *** *** *** *** ****** ****** ************* ************ ************* ***** ***** **** ************ ****** ****** ************** ****** ****** **** ********* ****** ****** **** ************* ******* ******* *** **** **** **** *** **** ******** ******* **** *** **** *** *** *** *** *** **** *** *** **** *** **** ******** **** *** **** *** *** **** *** ************** **** **** ** ************** **** *** **** **** **** *** **** *** *** *** *** *********** **** ********* *********** **** **** **** **** **** *** **** *** ******* *** *** ***** **** *** *** ***** ************* **** ******** *** **** *** ****** *** *** **** ***** *** *** **** ************** **** ******* *** **** *** ***** *** *** **** **** ******* ******* *** **** **** **** **** ****** ************* *** **** *** *** **** **** *********** **** **** *** **** **** ***** *********** --]] addEvent( 'ChangeSkin', true ) addEventHandler( 'ChangeSkin', root, function( Data ) if ( getElementType(source) == "player" ) then if (Data == 0) or not Data then cancelEvent() outputChatBox( 'Please Select a skin to change it !', source, 255,0,0, true) else setElementModel(source,tonumber(Data)) outputChatBox( 'Skin Changed seccessfully !', source, 0,255,0, true) end end end ) addEventHandler(onPlayerLogin, root, function() triggerClientEvent( 'openwindow', source) end) اللوحة ما تظهر عندما اسجل WARNING: skins_panel/Server.lua:33: Bad argumet @ 'addEventHandler'[Expected string at argument 1, got nil]
×
×
  • Create New...