Jump to content

' A F .

Members
  • Posts

    2,156
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ' A F .

  1. كذا ؟ addEventHandler("onClientRender", root, function() local screenx, screeny, worldx, worldy, worldz = getCursorPosition() dxDrawImage(screenx, screeny, worldx, worldy, "Cursor.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) setCursorAlpha(0) end )
  2. ابي مثال على dxDrawImage مع setCursorAlpha
  3. # سسلأمم ععليكم , كيف حالكم ابي استفسر اقدر اسوي موشر دي اكس ؟
  4. جرب NameButton = اسم الزر edit = اسم الايديت -- addEventHandler("onClientGUIClick",getRootElement(), function ( ) if ( source == NameButton ) then setClipboard(guiGetText(edit)) end end)
  5. https://forum.multitheftauto.com/viewtopic.php?f=164&t=62717
  6. مم عليش عدلته لك عع السريع * Client : addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[1] ) then if ( guiCheckBoxGetSelected(GUIEditor.checkbox[2])) then local money = guiGetText(GUIEditor.edit[1]) triggerSererEvent("wz3",localPlayer, money) outputChatBox("#C0FF00you have been given #FF0000"..money.."$ #C0FF00from #FF0000"..localPlayerName.. " #C0FF00because #0000FF[#FF0000"..guiGetText ( GUIEditor.edit[2] ).."#0000FF]", 255, 0, 0, true ) elseif ( source == GUIEditor.button[3] ) then guiSetVisible(win, false) showCursor(false) end end end) * Server : addEvent("wz3", true) addEventHandler("wz3", root, function ( money ) givePlayerMoney ( source , money ) end)
  7. طيب حط القروبات الي تبيها م تفك الميوت وخل القروبات الي تقدر تفك الميوت
  8. هاذي القروبات الي اذا انصكت ميوت م تقدر تفك عن نفسها
  9. جرب local Groups = { "Admin", "Console", } addEventHandler("onPlayerUnmute",root, function () local acc = getAccountName(getPlayerAccount(source)) for i,v in ipairs( Groups ) do if isObjectInACLGroup ( "user." .. acc, aclGetGroup ( v ) ) then cancelEvent() end end end) القروبات الي متبيها ينفك عنها الميوت
  10. توزيع الفلوس في الكلنت = وهمي
  11. وين الترايقر حق الكلنت ؟ وين اكوادك ؟
  12. Server Side : addEventHandler("onPlayerUnmute",root, function (player) local accountname = getAccountName(getPlayerAccount(player)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "admin" ) ) then cancelEvent() end end)
  13. Server Side : addEventHandler("onPlayerJoin",root, function ( ) outputChatBox("Welocme To Server ",root,math.random(255),math.random(255),math.random(255),true) end)
  14. local x = 0 local xx = 200 addEventHandler("onClientRender", root, function() if x < xx then x = x + 0.5 guiSetPosition(NamwWindow, x, 100, false) end end )
×
×
  • Create New...