golanu21 Posted March 21, 2013 Share Posted March 21, 2013 this is the script addEventHandler( "onClientResourceStart", getRootElement( ), function ( ) local elementType = getPlayerName(source) guiSetText ( numele, elementType ) end end) and this is the label numele = guiCreateLabel(46, 21, 120, 15, "", false, fereastra) why the name not appear in the label ? no errors on debugscript 3 Link to comment
golanu21 Posted March 21, 2013 Author Share Posted March 21, 2013 addEventHandler( "onClientResourceStart", getRootElement( ), function ( ) local elementType = getPlayerName() guiSetText ( numele, elementType ) end) i fix the end but don't work Link to comment
iPrestege Posted March 21, 2013 Share Posted March 21, 2013 addEventHandler( "onClientResourceStart",resourceRoot, function ( ) local elementType = getPlayerName(localPlayer) guiSetText ( numele, elementType ) 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