-
Posts
1,304 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Ahmed Ly
-
مود رائع ي بطل استمر
-
addEventHandler("onClientGUIClick",root, function () if source == start then if isElement(s) then stopSound(s) end s = playSound("****************") setSoundVolume(s,1) end end ) addEventHandler("onClientGUIClick",root, function () if source == stop then if isElement(s) then stopSound(s) end end end )
-
شف حطيتها كدا لاكن م تيجي الرساله بلون ابيض dxDrawText ( "Admin ["..getPlayerName(localPlayer).."]: #ffffff"..message, 13.0, 167.0, 55.0, 182.0, tocolor ( 0, 153, 204 ), 1.0, "default-bold", "left", "top", false, false, true ) dxDrawText ( "Admin ["..getPlayerName(localPlayer).."]: #ffffff"..message, 13.0, 167.0, 55.0, 182.0, tocolor ( 0, 153, 204,255 ), 1.0, "default-bold", "left", "top", false, false, false ,true)
-
You're welcome
-
bb = guiCreateButton(485, 0, 499, 23, "Információs panel megnyitásához kattints ide!", false) guiSetProperty(bb, "NormalTextColour", "FFFF0000") guiSetVisible(bb,true) local GUIEditor = { window = {}, button = {}, memo = {}, } GUIEditor.window[1] = guiCreateWindow(292, 127, 868, 583, "[FullFunPlay] INFORMÁCIÓS PANEL | TELJESEN TURBESZ ÁLTAL", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF35FE9D") GUIEditor.memo[1] = guiCreateMemo(9, 28, 849, 485, "", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.button[1] = guiCreateButton(9, 521, 425, 52, "ELFOGADOM A LEÍRTAKAT, ÉS EGYET ÉRTEK VELÜK", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF24FE00") GUIEditor.button[2] = guiCreateButton(443, 522, 415, 51, "NEM FOGADOM EL A LEÍRTAKAT, ÉS NEM ÉRTEK EGYET VELÜK", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFD0000") guiSetVisible(GUIEditor.window[1],false) addEventHandler("onClientGUIClick",root, function () if source == bb then guiSetVisible(GUIEditor.window[1],true) end end ) function Bezaras() guiSetVisible(GUIEditor.window[1], false) showCursor ( false ) outputChatBox ("Jó játékot, és mivel elfogadtad a leírtakat, jó szabály betartást, mert így helyes!:)") end addEventHandler ( "onClientGUIClick", GUIEditor.button[1], Bezaras) function kick () triggerServerEvent ("kickPlayer1",localPlayer,"Hát, nem fogadod el? Akkor szia!" ) end addEventHandler ("onClientGUIClick", GUIEditor.button[2], kick) function kick2 (text) kickPlayer (source,text) end addEvent( "kickPlayer1", true ) addEventHandler( "kickPlayer1", root, kick2 )
-
kickPlayer -- Server-only. Use . triggerServerEvent
-
You are welcome
-
bb = guiCreateButton(485, 0, 499, 23, "Információs panel megnyitásához kattints ide!", false) guiSetProperty(bb, "NormalTextColour", "FFFF0000") guiSetVisible(bb,true) local GUIEditor = { window = {}, button = {}, memo = {}, } GUIEditor.window[1] = guiCreateWindow(292, 127, 868, 583, "[FullFunPlay] INFORMÁCIÓS PANEL | TELJESEN TURBESZ ÁLTAL", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF35FE9D") GUIEditor.memo[1] = guiCreateMemo(9, 28, 849, 485, "", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.button[1] = guiCreateButton(9, 521, 425, 52, "ELFOGADOM A LEÍRTAKAT, ÉS EGYET ÉRTEK VELÜK", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF24FE00") GUIEditor.button[2] = guiCreateButton(443, 522, 415, 51, "NEM FOGADOM EL A LEÍRTAKAT, ÉS NEM ÉRTEK EGYET VELÜK", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFD0000") guiSetVisible(GUIEditor.window[1],false) addEventHandler("onClientGUIClick",root, function () if source == bb then guiSetVisible(GUIEditor.window[1],true) end end )
-
مـود جميل , أهنيك .. أستمر
-
مساعده:: ابي طريقة انه االوحه تفتح فقط للي معه رتبه فيب
Ahmed Ly replied to iQsaMi~Mg.HaMoTa_oK!'s topic in البرمجة
كيف if not كودك غلط -
ليش كل هذا ؟ انت مفكر دي اكس ؟ هو عامل دي اكس بوتون مخفي شو بده بكل هذا هو قال دي اكس و مرة هو مايعرف بوتون مخفي اصلن !
-
getDeadPlayers getAlivePlayers getPlayerName
-
منـورناا بقـا اظهار اسم اللاعب تحت ال Health getPlayerName
-
math.floor : https://wiki.multitheftauto.com/wiki/AR/Math
-
isMouseInPosition guiGetText "onClientClick " triggerServerEvent triggerClientEvent removeEventHandler addEventHandler "onClientRender" logIn addAccount getAccount --isMouseInPosition https://wiki.multitheftauto.com/wiki/IsMouseInPosition
-
msg = { "السلام عليكم ورحمة الله وبركاته", "مرحبا بكم في سرفر عربي للهجوله والحرب", " {{{قوانين السيرفر}}} ", "عدم التكبر على الزوار والاعضاء", "الالفاظ غير لائقه =ميوت ساعه", "التخريب في لوحة الإدمنيه * سحب الرتبه مدة = يوم * ", "السب والتلفظ في الأفاظ غير لائقة سحب الرتبه مدة ساعة", "احترم الأعلى منك رتبة والاقل", "مسح الشات بدون سبب = سحب الرتبه مدة = ساعتين * ", "ممنوع طلب المال طلب المال = ميوت 10 دقايق", "جمع30 ساعه تصير=شرطي+وتواجدوساعد الزواادمن", "طلب الترقيه =ميوت نص ساعه", "لكسب المال = دخول المهمات = مهمة العلم + توزيع من الكنترول + ديربي + مهمة البنك واخري", "اصحاب السرفر هم[مصري,ايسووو]نرحب بكم في السرفر", " واتمنى لكم اطيب وسعدالأوقات \"{SMILIES_PATH}/icon_smile.gif\" alt=\"\" title=\"Smile\" />", "لا اله الله وحده لا شريك له الملك وله الحمد ", "لا اله الله وحده لا شريك له الملك وله الحمد ", } r,g,b = 255,255,255 rr,gg,bb = 0,0,0 num = 1 px = 0 -------------------- function getColor() return r,g,b end function getBackColor() return rr,gg,bb end function setColor(tr,tg,tb) r,g,b = tr,tg,tb end function setBackColor(r,g,b) rr,gg,bb = r,g,b end addEventHandler("onClientRender",root, function () local x,y = guiGetScreenSize() dxDrawRectangle(0,y - 20,x,y,tocolor(rr,gg,bb,100)) dxDrawText(msg[num],px,y - 20,x,y,tocolor(math.random(255),math.random(255),math.random(255),255),1.5,"default-bold","center","center",false,false,false,true) end ) function makeTurn() local x,y = guiGetScreenSize() local x = x + 50 if px >= x then px = -x setMsg() else px = px + 6 end end function setMsg() if num == #msg then num = 1 else num = num + 1 end end ---- ----- ------ start = setTimer(makeTurn,55,0) ----
