Jump to content

******


Recommended Posts

Client Side

addEvent("ServerName",true) 
addEventHandler("ServerName",root, 
    function(name) 
        guiSetText(label,name) -- label = اسم الليبل اللي رآح يكون فيه أسم السيرفر 
    end 
)  
triggerServerEvent("ServerName",localPlayer) 

Server Side

addEvent("ServerName",true) 
addEventHandler("ServerName",getRootElement(), 
function () 
triggerClientEvent(source,"ServerName",source,getServerName(name)) 
end) 

بسس مآ فهمت وشش تقصد بـ كود الإخفآء ؟

Link to comment

ClientSide

addEvent('ServerName', true) 
addEventHandler('ServerName', root, 
function(name) 
    guiSetText(ServerName,name) 
    end 
) 

ServerSide

addEvent('ServerName', true) 
addEventHandler('ServerName', root, 
function() 
triggerClientEvent(source,'ServerName',source,getServerName(name)) 
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...