Jump to content

' A F .

Members
  • Posts

    2,156
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ' A F .

  1. local Markerarmor = createMarker(1459.035, -1156.93, 23.67, "cylinder", 2, 255, 0, 0, 150) [lua]addEventHandler("onMarkerHit", Markerarmor, function(player) if getElementType(player) == "player" then if getPlayerMoney(player) >= 1500 then takePlayerMoney(player, 1500) setPedArmor(player, 100) if getElementHealth(plyer) == 90 then givePlayerMoney(player,100) end end end end)
  2. Evnet : onClientGUIClick -- guiGetText guiSetEnabled setTimer triggerServerEvent -- Server . isObjectInACLGroup triggerClientEvent -- Client . guiGridListAddRow guiGridListSetItemText ناقصه *
  3. dxDrawRectangle(467, 156, 433, 455, tocolor(0, 0, 0, 60),false)
  4. getElementHealth givePlayerMoney
  5. جرب local Markerarmor = createMarker(1459.03479, -1156.93005, 23.66940, 'cylinder', 2.0, 255, 0, 0, 150) function ArmorHit( element ) setPedArmor ( element, 100 ) takePlayerMoney ( element, 1500 ) local money = getPlayerMoney(element) if (money > 1500) then end end addEventHandler( "onMarkerHit", Markerarmor, ArmorHit )
  6. Event : onPlayerChat isGuestAccount getPlayerAccount getAccountName cancelEvent outputChatBox
  7. ججرب GUIEditor = { button = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.button[1] = guiCreateButton(0.52, 0.49, 0.09, 0.05, "إرسال المال", true) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFE2EF0F") GUIEditor.edit[1] = guiCreateEdit(0.52, 0.45, 0.09, 0.03, "", true) local List = guiCreateGridList(0.40, 0.40, 0.12, 0.26, true) local Column = guiGridListAddColumn( List, "Send To :", 0.90 ) for i,v in ipairs(getElementsByType("player")) do local Row = guiGridListAddRow (List) guiGridListSetItemText (List, Row, Column, getPlayerName(v), false, false ) guiSetVisible(List,false) guiSetAlpha(GUIEditor.button[1], 0) guiSetAlpha(GUIEditor.edit[1], 0) end end ) local screenW, screenH = guiGetScreenSize() addEventHandler("onClientRender", root, function() if ShowPanel then p1 = dxDrawLine(520 - 1, 251 - 1, (520 - 1) + 0, ( 251 - 1) + 40, tocolor(203, 0, 0, 150), 9, false) p2 = dxDrawRectangle(529, 251, 320, 39, tocolor(138, 138, 138, 150), false) p3 = dxDrawLine(520, 295, 520, 528, tocolor(226, 239, 15, 150), 9, false) p4 = dxDrawRectangle(530, 295, 319, 232, tocolor(138, 138, 138, 150), false) p5 = dxDrawText("Send Money Panel", 548, 252, 813, 290, tocolor(203, 0, 0, 255), 1.20, "default-bold", "center", "center", false, false, false, false, false) p6 = dxDrawText("Created By Froze\"$", 717, 489, 844, 527, tocolor(226, 239, 15, 255), 1.00, "default", "center", "center", false, false, false, false, false) end end ) bindKey("F3", "down", function () if ShowPanel then guiSetVisible(List,false) guiSetVisible(GUIEditor.edit[1], false) guiSetVisible(GUIEditor.button[1],false) ShowPanel = false showCursor(false) else guiSetVisible(List,true) guiSetVisible(GUIEditor.edit[1], true) guiSetVisible(GUIEditor.button[1],true) ShowPanel = true showCursor(true) end end ) addEventHandler("onClientGUIClick",root, function () if source == GUIEditor.button[1] then showCursor(false) ShowPanel = false guiSetVisible(List,false) guiSetVisible(GUIEditor.edit[1], false) guiSetVisible(GUIEditor.button[1],false) local name = guiGridListGetItemText(List, guiGridListGetSelectedItem(List) ,1) local money = guiGetText(GUIEditor.edit[1]) if ( guiGridListGetSelectedItem(List) ~= -1 ) then if name == "" or name == " " then return end if tonumber ( money ) then triggerServerEvent("onSendMoney", getLocalPlayer(), name, money) end end end end)
  8. ممَنور , تسسلممَ ععيونك
  9. سسلأمم ععليكمم كيف ححالكم ان شاء الله بخير , اليوم جبتلكم مود جديد وهو الكمبيوتر المركزي . المود بفتح من اف 10 , فديو لأيك وأشترأك التحميل ي الدسكربشن
  10. طيب انا ابيه اذا كان محدد على شيك بوكس وظغط زر تغير يغير الجو و يثبته
  11. طلب فنكشن , تثبيت الساعه مثال غيرت الوقت 12 و كنت محدد على تثبيت الساعه م يتغير الوقت
  12. سلام عليكم ورحمة الله وبركاته , انا ابي يوم حدد ع القريد ليست ويظغط استخدام تجيه شخصيه addEventHandler("onClientGUIClick",root, function ( ) if source == use then local sel = guiGridListGetSelectedItem(grid) local id = guiGridListGetItemData(grid,sel,1) setElementModel(localPlayer,id) elseif source == close then guiSetVisible(skin,false) showCursor(false) end end) الخطأ ب setElementModel
  13. http://www.gta-arabs.com/gt/showthread.php?t=115027
  14. طيب الان كيف نربط الايديت مع الزر edit = guiCreateEdit( .............. ) -- انشاء ايديت butt = guiCreateButton( ............ ) -- انشاء زر addEventHandler("onClientGUIClick",root, -- اضافة حدث عند ظغط الزر function ( ) -- وظيفة if ( source == butt ) then -- تحقق local cu = guiGetText(edit) -- يجيب المكتوب في الايديت setClipboard(cu) -- ينسخ الكلام end -- اند ل الوظيفة end) -- اند ل التحقق و قوس ل اغلاق الحدث
  15. الماوس يجي فوق ع اليسار و مايتحرك
  16. كفوو اشتغل لاكن لو م افتح اي لوحة يروح الباد و الماوس يجي فوق
  17. اقدر احط الصوره رابط ؟
×
×
  • Create New...