Jump to content

شباب بغيت اكواد لتزين القيم مود


Recommended Posts

يا شباب بغيت اكواد لتزين قيم مود عملته

ابي كود لما تمرر الماوس يقوم بصوت

و الثاني لما تمرر الماوس على الصورة تجي شوية قوية

مدري alpha او مدري شسمه المهم

يعني مثلا لما ادخل القيم مود بدون ما امرر الماوس على الهجوله ما تكون الصورة غامقه

بس لما امرر عليها تكون غامقه و شكرا

Link to comment

ذا مثل طلبك لمن ما تلمس يكون مثل غامق و لمن تلمس يجي فاتح مع صوت بعد

يجب وضع تحت الصوره يلي تبي تعملها

guiSetAlpha(GUIEditor_Image[1],0.2)

  
addEventHandler("onClientMouseEnter", root, 
function ( ) 
if ( source == GUIEditor_Image[1] ) then 
guiSetAlpha(GUIEditor_Image[1],1) 
playSoundFrontEnd ( 15 ) 
    end 
end 
) 
  
addEventHandler("onClientMouseLeave", root, 
function ( ) 
if ( source == GUIEditor_Image[1] ) then 
guiSetAlpha(GUIEditor_Image[1],0.2) 
     end 
end 
) 

Link to comment

مثل ككذا

اعمل مثلن هجوله في عالم رقم 0

و خلي الديث في عالم 1

و اعمل لوحه مثلن و خط ذا الكود بدل كود فتح لوحه

bindKey("F2","down", 
if ( getElementDimension ( localPlayer ) == 1 ) then 
    guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) 
    showCursor(guiGetVisible(GUIEditor_Window[1])) 
    guiSetInputEnabled(guiGetVisible(GUIEditor_Window[1])) 
     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...