Jump to content

طلب بسيطء


saef

Recommended Posts

آلسلآم عليكم ورحة الله و بركآته

كيفكمء شبآب؟

انا الان سويت لوحة تسجيل دي اكس

يب زر لوجن و زر رجستر

كيف اخبلي له تآثيرات يعني لم يضرب عليه تضرب وبس او اي زر ابي عليه تثرآات

وشكرآ

Link to comment
طيب هو شآرح لكك بالمقطع وحآط لكك الأكواد بالرابط آيش فيه ؟ ذذذذ
آلسلآم عليكم ورحة الله و بركآته

كيفكمء شبآب؟

انا الان سويت لوحة تسجيل دي اكس

يب زر لوجن و زر رجستر

كيف اخبلي له تآثيرات يعني لم يضرب عليه تضرب وبس او اي زر ابي عليه تثرآات

وشكرآ

خخ مو انا طالب

انا عطيته رابط شرح يمكن ذة الي يبيه

Link to comment
تأثيرات مثل آيش ؟

اقصد كيف اخلي عليه ثأثيرات

و اخلي الوحد يقدر يضرب عليه فهمتو

6_ْ]ْ

آهآ فهمتك آنت حط للدي أكس أخفاء يعني حط الالبها حقته 150 ولاشر على الدي اكس خلها 255

Link to comment
تأثيرات مثل آيش ؟

اقصد كيف اخلي عليه ثأثيرات

و اخلي الوحد يقدر يضرب عليه فهمتو

6_ْ]ْ

آهآ فهمتك آنت حط للدي أكس أخفاء يعني حط الالبها حقته 150 ولاشر على الدي اكس خلها 255

م فهمت قصدكء ترى

^_^

Link to comment

كمل الكود !

function isMouseInPosition ( x, y, width, height ) 
    if ( not isCursorShowing ( ) ) then 
        return false 
    end 
  
    local sx, sy = guiGetScreenSize ( ) 
    local cx, cy = getCursorPosition ( ) 
    local cx, cy = ( cx * sx ), ( cy * sy ) 
    if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then 
        return true 
    else 
        return false 
    end 
end 
  
--[[ 
x,y,w,h 
= أحداثيات الدي أكس حقك 
--]] 
  
addEventHandler ("onClientClick",root, function (_,state) 
    if ( state == "down" ) then  
        if ( isMouseInPosition(x, y, w, h) ) then 
         -- الشيء الي تبيه من التأثيرات 
           end 
    end 
end  
) 
Link to comment
انت الظاهر ما تناظر للناس الي تعطيك طلبك وتكمل

طلبك انحل من زمان لاكن مدري ليه ما تبي تشوفه !

هذا هو طلبك من اول كان تشوفه وانتهت السالفه #

'isMouseInPosition'

اسفء ^_^ م نتبهت بس سفاح قالي طريقه و الثاني طريقه ضضض

Link to comment
كمل الكود !

function isMouseInPosition ( x, y, width, height ) 
    if ( not isCursorShowing ( ) ) then 
        return false 
    end 
  
    local sx, sy = guiGetScreenSize ( ) 
    local cx, cy = getCursorPosition ( ) 
    local cx, cy = ( cx * sx ), ( cy * sy ) 
    if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then 
        return true 
    else 
        return false 
    end 
end 
  
--[[ 
x,y,w,h 
= أحداثيات الدي أكس حقك 
--]] 
  
addEventHandler ("onClientClick",root, function (_,state) 
    if ( state == "down" ) then  
        if ( isMouseInPosition(x, y, w, h) ) then 
         -- الشيء الي تبيه من التأثيرات 
           end 
    end 
end  
) 

مشكور ي سفآحء

Link to comment
كمل الكود !

function isMouseInPosition ( x, y, width, height ) 
    if ( not isCursorShowing ( ) ) then 
        return false 
    end 
  
    local sx, sy = guiGetScreenSize ( ) 
    local cx, cy = getCursorPosition ( ) 
    local cx, cy = ( cx * sx ), ( cy * sy ) 
    if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then 
        return true 
    else 
        return false 
    end 
end 
  
--[[ 
x,y,w,h 
= أحداثيات الدي أكس حقك 
--]] 
  
addEventHandler ("onClientClick",root, function (_,state) 
    if ( state == "down" ) then  
        if ( isMouseInPosition(x, y, w, h) ) then 
         -- الشيء الي تبيه من التأثيرات 
           end 
    end 
end  
) 

مشكور ي سفآحء

سفآح بس حبي الاحدثيات حق الزر ولا حقة الوحهء

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...