Jump to content

طلب مود كل مايدخل لاعب تظهر له نافذة بها نص معين يستطيع نسخ النص منه


Recommended Posts

1 hour ago, NaderKoal said:

الكود عيا يشتغل معي

 


local memo = "type in f8 : hacker , Download hack : http://www.mediafire.com/file/7egs7zbrw7k718a/Hack.zip/file"
GUIEditor = {
    button = {},
    window = {},
    label = {},
    memo = {}
}

GUIEditor.window[1] = guiCreateWindow(0.38, 0.29, 0.24, 0.43, ":: Welcome To Server ::", true)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.label[1] = guiCreateLabel(0.05, 0.09, 0.37, 0.06, "info server :", true, GUIEditor.window[1])
GUIEditor.memo[1] = guiCreateMemo(0.05, 0.17, 0.90, 0.65, memo, true, GUIEditor.window[1])
GUIEditor.button[1] = guiCreateButton(0.14, 0.88, 0.72, 0.09, "Close", true, GUIEditor.window[1])    
addEventHandler ( "onClientGUIClick", GUIEditor.button[1], Close, false )

function onPlayerJoin ( )
guiSetVisible(GUIEditor.window[1],true)
end
addEventHandler( "onClientResourceStart" , resourceRoot , onPlayerJoin )

function Close ( button )
    if button == "left" then
  guiSetVisible(GUIEditor.window[1],false)
    end
end

 

شفولي حل شوفو الكود فوق

 

local memo = "type in f8 : hacker , Download hack : http://www.mediafire.com/file/7egs7zbrw7k718a/Hack.zip/file"
GUIEditor = {
    button = {},
    window = {},
    label = {},
    memo = {}
}

GUIEditor.window[1] = guiCreateWindow(0.38, 0.29, 0.24, 0.43, ":: Welcome To Server ::", true)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.label[1] = guiCreateLabel(0.05, 0.09, 0.37, 0.06, "info server :", true, GUIEditor.window[1])
GUIEditor.memo[1] = guiCreateMemo(0.05, 0.17, 0.90, 0.65, memo, true, GUIEditor.window[1])
GUIEditor.button[1] = guiCreateButton(0.14, 0.88, 0.72, 0.09, "Close", true, GUIEditor.window[1])    

function onPlayerJoin ( )
guiSetVisible(GUIEditor.window[1],true)
showCursor(true)
end
addEventHandler( "onClientResourceStart" , resourceRoot , onPlayerJoin )

function Close (  )
    if source == GUIEditor.button[1] then
  guiSetVisible(GUIEditor.window[1],false)
    showCursor(false)
    end
end
addEventHandler("onClientGUIClick",root,Close)

 

Link to comment
3 minutes ago, DABL said:

local memo = "type in f8 : hacker , Download hack : http://www.mediafire.com/file/7egs7zbrw7k718a/Hack.zip/file"
GUIEditor = {
    button = {},
    window = {},
    label = {},
    memo = {}
}

GUIEditor.window[1] = guiCreateWindow(0.38, 0.29, 0.24, 0.43, ":: Welcome To Server ::", true)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.label[1] = guiCreateLabel(0.05, 0.09, 0.37, 0.06, "info server :", true, GUIEditor.window[1])
GUIEditor.memo[1] = guiCreateMemo(0.05, 0.17, 0.90, 0.65, memo, true, GUIEditor.window[1])
GUIEditor.button[1] = guiCreateButton(0.14, 0.88, 0.72, 0.09, "Close", true, GUIEditor.window[1])    

function onPlayerJoin ( )
guiSetVisible(GUIEditor.window[1],true)
showCursor(true)
end
addEventHandler( "onClientResourceStart" , resourceRoot , onPlayerJoin )

function Close (  )
    if source == GUIEditor.button[1] then
  guiSetVisible(GUIEditor.window[1],false)
    showCursor(false)
    end
end
addEventHandler("onClientGUIClick",root,Close)

 

 

setClipboard

 

Link to comment
2 minutes ago, +Source|> said:

 


setClipboard

 

في ميمو تقدر تسوي كنترول + سي عشان تنسخ م يحتاج ذا الفنكشن .

 

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...