Jump to content

طلب كوود مهم **


Recommended Posts

يعني

احطها عندي كذاا

حقت الميمو قرااءه فقط

guiMemoSetReadOnly(GUIEditor.memo[1], true) 

طيب الباقي وين وبأأي شكل احطهم

* Client Side:

addEventHandler ( "onClientGUIChanged", اسم الإيديت, 
    function ( ) 
        guiSetText ( GUIEditor.memo[1], guiGetText ( source ) ) 
    end, false 
) 

Link to comment

* Client Side:

addEventHandler ( "onClientGUIChanged", اسم الإيديت, 
    function ( ) 
        guiSetText ( GUIEditor.memo[1], guiGetText ( source ) ) 
    end, false 
) 

وش ذا انا سويته خلاصص

هذا هو الا اذا كتبت في الادت وطرشته يجي في الميمو

Link to comment

addEventHandler ("onClientGUIClick", root, 
function ( ) 
    if (source == GUIEditor.button[1]) then 
        local gWep = guiGetText (GUIEditor.edit[1]) 
             if gWep ~= '' then 
                guiSetText ( GUIEditor.memo[1], gWep ) 
            end 
        end 
    end 
) 
  
 guiMemoSetReadOnly(GUIEditor.memo[1], true) 
Edited by Guest
Link to comment
guiMemoSetReadOnly ( GUIEditor.memo[1], true ); 
-- 
addEventHandler ( "onClientGUIClick", root, 
    function ( ) 
        if ( source == GUIEditor.button[1] ) then 
        local gTextM = guiGetText ( GUIEditor.memo[1] ); 
        local gText = guiGetText ( GUIEditor.edit[1] ); 
            if gText ~= '' then 
                guiSetText ( GUIEditor.memo[1], gTextM .. "\n" .. gText ); 
            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...