Jump to content

Adham

Members
  • Posts

    2,259
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Adham

  1. Adham

    مشكله

    م شتغلش function adham() dxDrawRectangle(150, 197, 506, 228, tocolor(255, 255, 255, 150), false) dxDrawRectangle(110, 198, 10, 0, tocolor(255, 255, 255, 255), false) dxDrawRectangle(130, 197, 549, 32, tocolor(44, 1, 39, 255), false) dxDrawImage(482, 248, 131, 126, ":guieditor/images/flip.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(203, 261, 90, 93, ":guieditor/images/Repair.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(482, 248, 131, 126, ":guieditor/images/flip.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawRectangle(174, 364, 138, 30, tocolor(76, 1, 67, 205), false) dxDrawRectangle(327, 364, 138, 30, tocolor(76, 1, 67, 205), false) dxDrawRectangle(482, 364, 138, 30, tocolor(76, 1, 67, 205), false) dxDrawText("Alex Shop", 316, 197, 577, 225, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Buy ($250)", 369, 370, 482, 388, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Buy ($1500)", 517, 370, 630, 388, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Buy ($900)", 209, 370, 322, 388, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawImage(482, 248, 131, 126, ":guieditor/images/flip.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(337, 254, 108, 102, ":guieditor/images/Nitro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) bindKey("F1","down",function () if removeEventHandler( "onClientRender",root,adham) then removeEventHandler ("onClientRender",root,adham) then showCursor(false) else addEventHandler("onClientRender",root,adham) then showCursor(true) end end )
  2. Adham

    Question

    addCommandHandler
  3. سلام عليكم انا عامل لوحه دي اكس وعملت تفتح بـ ف1 م نفعت bindKey("F1","down",function () if ( removeEventHandler | "onClientRender",roo,adham ) then removeEventHandler ("onClientRender",roo,adham ) then showCursor(false) else addEventHandler("onClientRender",roo,adham ) then showCursor(true) end end )
  4. مب رادي يقتل مدري وش ذا
  5. م يقتلني قسم !
  6. برده م شتغل جربه
  7. م يطلع شي لاكن م يقتلني
  8. Adham

    :!

    سرينه البوليس الفي العربيه ؟
  9. م ظبت Alex = { window = {} } GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() Alex.window[1] = guiCreateWindow(160, 140, 463, 321, "Alex Panel - v1.2", false) guiWindowSetSizable(Alex.window[1], false) guiSetVisible(Alex.window[1],false) grid = guiCreateGridList(9, 24, 247, 278, false, Alex.window[1]) guiGridListAddColumn(grid, "Player Name", 0.9) GUIEditor.button[1] = guiCreateButton(270, 78, 184, 32, "Kill Player", false, Alex.window[1]) GUIEditor.button[2] = guiCreateButton(272, 158, 182, 32, "Blow Player", false, Alex.window[1]) GUIEditor.button[3] = guiCreateButton(275, 227, 178, 30, "X", false, Alex.window[1]) GUIEditor.label[1] = guiCreateLabel(295, 296, 179, 15, "Created By [L]e3bA | v2.1", false, Alex.window[1]) guiLabelSetColor(GUIEditor.label[1], 253, 0, 0) end ) function Strong ( ) guiSetVisible ( Alex.window[1],true ) showCursor ( true ) -- اظهار الماوس guiSetInputEnabled ( true ) end addEvent ( "StrongTAG", true ) addEventHandler ( "StrongTAG", root, Strong ) function update () guiGridListClear(grid) for i,v in ipairs (getElementsByType("player")) do local rp = guiGridListAddRow (grid) guiGridListSetItemText (grid,rp,1,getPlayerName(v):gsub("#%x%x%x%x%x%x", ""),false,false) end end addEventHandler ("onClientResourceStart",resourceRoot,update) addEventHandler ("onClientPlayerJoin",root,update) addEventHandler ("onClientPlayerChangeNick",root,update) addEventHandler ("onClientPlayerQuit",root,update) addEventHandler("onClientGUIClick",resourceRoot, function () if source == GUIEditor.button[3] then guiSetVisible(Alex.window[1],false) showCursor ( false ) guiSetInputEnabled ( false ) end end ) addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1] ) then local row = guiGridListGetSelectedItem (grid) local select = guiGridListGetItemText (grid, row, 1) if (select and select ~= "") then triggerServerEvent ("kill", localPlayer, select) else outputChatBox("#FF0000# #FFFFFFPlease Select A Player",255,0,0,true) end end end ) addCommandHandler ( "Tag", function ( p ) local acc = getPlayerAccount(p) if not isGuestAccount ( acc ) then if isObjectInACLGroup("user." .. getAccountName(acc), aclGetGroup("Console")) then triggerClientEvent ( p, "StrongTAG", resourceRoot ) end end end ) addEvent ( "kill", true ) addEventHandler ( 'kill', getRootElement ( ), function ( select ) local pl = getPlayerFromName ( select ) killPed(pl) outputChatBox("#FF0000# #FFFFFFSuccessfully Killed [ " .. pl:gsub('#%x%x%x%x%x%x', '') .. " ]",source,255,0,0,true) end )
  10. وش الخطا Alex = { window = {} } GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() Alex.window[1] = guiCreateWindow(160, 140, 463, 321, "Alex Panel - v1.2", false) guiWindowSetSizable(Alex.window[1], false) guiSetVisible(Alex.window[1],false) grid = guiCreateGridList(9, 24, 247, 278, false, Alex.window[1]) cow = guiGridListAddColumn(grid, "Player Name", 0.9) GUIEditor.button[1] = guiCreateButton(270, 78, 184, 32, "Kill Player", false, Alex.window[1]) GUIEditor.button[2] = guiCreateButton(272, 158, 182, 32, "Blow Player", false, Alex.window[1]) GUIEditor.button[3] = guiCreateButton(275, 227, 178, 30, "X", false, Alex.window[1]) GUIEditor.label[1] = guiCreateLabel(295, 296, 179, 15, "Created By [L]e3bA | v2.1", false, Alex.window[1]) guiLabelSetColor(GUIEditor.label[1], 253, 0, 0) end ) function Strong ( ) guiSetVisible ( Alex.window[1],true ) showCursor ( true ) -- اظهار الماوس guiSetInputEnabled ( true ) end addEvent ( "StrongTAG", true ) addEventHandler ( "StrongTAG", root, Strong ) function update () guiGridListClear(grid) for i,v in ipairs (getElementsByType("player")) do local rp = guiGridListAddRow (grid) guiGridListSetItemText (grid,rp,1,getPlayerName(v):gsub("#%x%x%x%x%x%x", ""),false,false) end end addEventHandler ("onClientResourceStart",resourceRoot,update) addEventHandler ("onClientPlayerJoin",root,update) addEventHandler ("onClientPlayerChangeNick",root,update) addEventHandler ("onClientPlayerQuit",root,update) addEventHandler("onClientGUIClick",resourceRoot, function () if source == GUIEditor.button[3] then guiSetVisible(Alex.window[1],false) showCursor ( false ) guiSetInputEnabled ( false ) end end ) addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1] ) then local sel = guiGridListGetSelectedItem(grid) local text = guiGridListGetItemText(grid,sel,cow) local plr = getPlayerFromName(text) triggerServerEvent("killPlayer",localPlayer,plr) end end )
  11. برده بحدد اسمي م يقتلني
  12. سلام انا عامل اذا حدد اسم من القريد لست يقتل الاعب الاتحدد م ي بي يشتغل addEventHandler("onClientGUIClick",root, function () local sel = guiGridListGetSelectedItem(grid) local text = guiGridListGetItemText(grid,sel,1) if ( source == GUIEditor.button[1] ) then if ( sel ~= -1 ) then triggerServerEvent("killPlayer",localPlayer,text) end end end ) addEvent("killPlayer",true) addEventHandler("killPlayer",root, function (player) local player = getPlayerFromName(player) if ( player ) then killPed(player) end end )
  13. طيب .. انا مسوي سرفر ديربي وابي لما حد يقتل حد يجي في الشات ا الواد القتل التاني Your Are Killed name بعدين ويجي للكل في الشات name has kill name
  14. ابي الكود ذا لما يخش الاعب السرفر يجيلو الكلام دا addEventHandler("onPlayerJoin", root, function () outputChatBox(" "..getPlayerName(source).." to Alex Server - Destruction Derby (DD)! ", root, 255, 255, 255,true ) outputChatBox(" F1 for Shop " ,root, 255, 255,255, true ) outputChatBox(" F2 for Help " ,root, 255, 255,255, true ) outputChatBox(" F3 for map Shop " ,root, 255, 255,255, true ) end )
  15. انا ركبت 2 جيم مود بيجلي اسود في الشاشه
  16. سلام عليكم انا ابي جيم مود .. جرب كذا جيم مود م يبي يشتغل يجبلي اسود في الشاشهه وضفته للقروب الادمن .
  17. وش الا هوا انا معي المود والخط هوا كبر الحجم
  18. Adham

    :!

    طيب شكرا ابي مود مشهور لاكن ما لقيه السرينه البوليس الفي السياره Police
  19. Adham

    :!

    تمام انا حلتها اباكود ذا local function playerChat(message, messageType) if messageType == 0 then --Global (main) chat cancelEvent() local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source)..": #FFFFFF"..message, root, red, green, blue, true ) outputServerLog("CHAT: "..getPlayerName(source)..": "..message)--NOTE: Beacuse we cancelled the onPlayerChat event, we need to log chat manually. end end addEventHandler("onPlayerChat", root, playerChat) لاكن انا ابي لما اعمل تيم واطلع وادخل واسجل القيني في نفس التيم
  20. Adham

    :!

    سوال بس ! انا عملت تيم من تاب وجي اتكلم من حرف غ القي الكلام في الشات العام ابيه في اليتم كيف
×
×
  • Create New...