ΞĪŚŚÀ Posted March 23, 2014 Share Posted March 23, 2014 السلام عليكم شباب بغيت كود يجيب اسم الاعب Link to comment
ΞĪŚŚÀ Posted March 23, 2014 Author Share Posted March 23, 2014 getPlayerName ابي احطه في لبل وش استخدم Link to comment
shwaeki Posted March 23, 2014 Share Posted March 23, 2014 addEventHandler ( "onClientRender", root, function ( ) if ( guiGetVisible ( اسم الوحة ) ) then guiSetText ( اسم اليبل, "Name: " .. getPlayerName ( localPlayer ) ) end end ) Link to comment
#DRAGON!FIRE Posted March 23, 2014 Share Posted March 23, 2014 في طريقة افضل من الرندر .. من باب تخفيف اللاق addEventHandler( "onClientResourceStart", resourceRoot, function( ) guiSetText( element, "YourName"..getPlayerName( localPlayer ) ) end ) addEventHandler ( "onClientPlayerChangeNick", localPlayer, function ( _,newNick ) guiSetText( element, "YourName"..newNick ) end ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now