-
Posts
2,259 -
Joined
-
Last visited
-
Days Won
2
Adham last won the day on March 7 2018
Adham had the most liked content!
Recent Profile Visitors
4,976 profile views
Adham's Achievements
Shooter (40/54)
76
Reputation
-
Adham changed their profile photo
-
جرب سوي دروب للتابل ورجعها تاني
-
عادي, تمت الأفادة اعطيه طريقه تانيه عشان يكون فاهم
-
لو انت ضايفهم كلهم في القريد لست تقدر تستعمل outputChatBox ( getPlayerName ( v ) ) مع لوب لكل اللاعبين
-
السلأم عليكم ورحمه الله وبركاته الحين عندي مود توب بار قديم شغال ميه ميه.. بس فيه مشكلتين المشكله الأولى.. ان انا مسويه مقاس معين بس المشكله ان لما اغير مقاس الشاشه الخط يكبر ليه ؟ ونا ابيه الخط مقاس واحد على كل الشاشات المشكله التانيه: ان لين اكتب كلام كثير في التوب بار يقولي filed في الديق بق الكود. local x, y = guiGetScreenSize() local dxMessages = {} local dxMessagesY = {-25, -25, -25, -25} local dxMessagesTick = {} local isMoving = false function drawMessages() for index, Message in pairs(dxMessages) do dxDrawRectangle (( x / 800 ) * 250, ( y / 900 ) * dxMessagesY[index], ( x / 1440 ) * 1160, ( y / 900 ) * 25, tocolor(0, 0, 0, 90)) dxDrawText ( Message[1], ( x / 800 ) * 265, ( y / 900 ) * ( dxMessagesY[index] * 2 ), ( x / 1440 ) * 1250, ( y / 900 ) * 25, tocolor(Message[2], Message[3], Message[4], 255), (x / 1440) * 1.8, "default-bold", "left", "center", true, false, false, true ) end end addEventHandler("onClientRender", root, drawMessages) function sendClientMessage(message, r, g, b) if dxGetTextWidth(message, (x / 1440) * 1, "default-bold") > 750 then sendClientMessage("Invalid Length", 255, 0, 0) return end r, g, b = r or 255, g or 255, b or 255 if #dxMessages == 10 or isMoving then setTimer ( sendClientMessage, 1000, 1, message, r, g, b ) return end table.insert(dxMessages, {message, r, g, b}) dxMessagesTick[#dxMessages] = getTickCount() addEventHandler("onClientRender", root, addMessage) isMoving = true end addEvent("DoN.sendClientMessage", true) addEventHandler("DoN.sendClientMessage", root, sendClientMessage) function addMessage() local index = #dxMessages local difference = (y / 900) * 1.5 dxMessagesY[index] = (index - 1) * 25 if dxMessagesY[index] >= (index - 1) * 25 then dxMessagesY[index] = (index - 1) * 25 if #dxMessages == 10 then isMoving = true addEventHandler("onClientRender", root, removeMessage) removeEventHandler("onClientRender", root, addMessage) else isMoving = false removeEventHandler("onClientRender", root, addMessage) end end end function removeMessage() local difference = (y / 900) * 1.5 for index = 1, #dxMessages do dxMessagesY[index] = dxMessagesY[index] - difference end if dxMessagesY[1] <= -25 then for index = 1, #dxMessages do dxMessages[index] = dxMessages[index + 1] dxMessagesTick[index] = dxMessagesTick[index + 1] dxMessagesY[index] = (index - 1) * 25 end isMoving = false removeEventHandler("onClientRender", root, removeMessage) for index = 1, #dxMessagesY do if not dxMessages[index] then dxMessagesY[index] = -25 end end end end function removeReadMessages() for index, message in pairs(dxMessages) do local currentTick = getTickCount() if currentTick - dxMessagesTick[index] >= 10000 then removeMessage() end end end addEventHandler("onClientRender", root, removeReadMessages)
-
اول شيء السلام عليكم ورحمه الله.. ابي اشتري متابعين انستقرام او اكونت فوق ال2000 متابع.. تاني شيء .. الحين عندي 5000 واحد متابعهم ابي اخليم 0 من موقع او برنامج فأ ياريت تفدونا شباب.
-
ضيف المود في الادمن resource.اسم المود addEvent("buy",true) addEventHandler("buy",root, function () local Money = getPlayerMoney(source) if ( Money >= 5000000 ) then -- عدد الاموال takePlayerMoney ( source , 5000000 ) -- عدد الاموال الي تنسحب local account = getAccountName(getPlayerAccount(source)); if isObjectInACLGroup("user." .. account, aclGetGroup("ModeratorServer")) then outputChatBox( "You Have ModeratorServer",source,255,0,0,true) aclGroupAddObject (aclGetGroup("ModeratorServer"), "user."..getAccountName( getPlayerAccount(source) )) outputChatBox ( " Bought ModeratorServer Succfully", root, 255, 255, 0,true ) end else outputChatBox ( "انت لا تملك المال الكافي للشراء ", getRootElement(), 255, 0, 0, true ) end end )
-
سويها بالمتغيرات
-
تبي رتبة معينه م تقدر تفك الميوت قصدك هيك؟
-
ابيه على جميع الشاشات المقاس local x, y = guiGetScreenSize() local dxMessages = {} local dxMessagesY = {-25, -25, -25, -25} local dxMessagesTick = {} local isMoving = false function drawMessages() for index, Message in pairs(dxMessages) do dxDrawRectangle (( x / 800 ) * 250, ( y / 900 ) * dxMessagesY[index], ( x / 1440 ) * 1160, ( y / 900 ) * 25, tocolor(0, 0, 0, 90)) dxDrawText ( Message[1], ( x / 800 ) * 265, ( y / 900 ) * ( dxMessagesY[index] * 2 ), ( x / 1440 ) * 1250, ( y / 900 ) * 25, tocolor(Message[2], Message[3], Message[4], 255), (x / 1440) * 1.8, "default-bold", "left", "center", true, false, false, true ) end end addEventHandler("onClientRender", root, drawMessages) function sendClientMessage(message, r, g, b) if dxGetTextWidth(message, (x / 1440) * 1, "default-bold") > 750 then sendClientMessage("Invalid Length", 255, 0, 0) return end r, g, b = r or 255, g or 255, b or 255 if #dxMessages == 10 or isMoving then setTimer ( sendClientMessage, 1000, 1, message, r, g, b ) return end table.insert(dxMessages, {message, r, g, b}) dxMessagesTick[#dxMessages] = getTickCount() addEventHandler("onClientRender", root, addMessage) isMoving = true end addEvent("DoN.sendClientMessage", true) addEventHandler("DoN.sendClientMessage", root, sendClientMessage) function addMessage() local index = #dxMessages local difference = (y / 900) * 1.5 dxMessagesY[index] = (index - 1) * 25 if dxMessagesY[index] >= (index - 1) * 25 then dxMessagesY[index] = (index - 1) * 25 if #dxMessages == 10 then isMoving = true addEventHandler("onClientRender", root, removeMessage) removeEventHandler("onClientRender", root, addMessage) else isMoving = false removeEventHandler("onClientRender", root, addMessage) end end end function removeMessage() local difference = (y / 900) * 1.5 for index = 1, #dxMessages do dxMessagesY[index] = dxMessagesY[index] - difference end if dxMessagesY[1] <= -25 then for index = 1, #dxMessages do dxMessages[index] = dxMessages[index + 1] dxMessagesTick[index] = dxMessagesTick[index + 1] dxMessagesY[index] = (index - 1) * 25 end isMoving = false removeEventHandler("onClientRender", root, removeMessage) for index = 1, #dxMessagesY do if not dxMessages[index] then dxMessagesY[index] = -25 end end end end function removeReadMessages() for index, message in pairs(dxMessages) do local currentTick = getTickCount() if currentTick - dxMessagesTick[index] >= 10000 then removeMessage() end end end addEventHandler("onClientRender", root, removeReadMessages)