FlyingSpoon 42 Posted November 7, 2014 Well here is my code so, far. I am starting on wards from Basic Roleplay updated by Socialz and Anubhav. addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(188, 157, 452, 187, "", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(20, 35, 103, 28, "Character Name :", false, GUIEditor.window[1]) GUIEditor.edit[1] = guiCreateEdit(128, 31, 166, 26, "Firstname_Lastname", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(343, 139, 94, 38, "Spawn", false, GUIEditor.window[1]) end ) Would I use guiGetText( GUIEditor.edit[1] ) and how would I set the player's nick to Firstname_Lastname ?? Share this post Link to post
SkatCh 0 Posted November 7, 2014 addEventHandler("onClientResourceStart", resourceRoot, function() Window = guiCreateWindow(188, 157, 452, 187, "", false) guiWindowSetSizable(Window, false) guiSetVisible (window ,false) label = guiCreateLabel(20, 35, 103, 28, "Character Name :", false, Window) edit = guiCreateEdit(128, 31, 166, 26, "Firstname_Lastname", false, Window) button = guiCreateButton(343, 139, 94, 38, "Spawn", false, Window) end ) Share this post Link to post
FlyingSpoon 42 Posted November 8, 2014 No, no. You don't understand me. What I was meant to say is when the player writes their Firstname_Lastname in the edit box, and press 'Spawn' their name will change into the Firstname_Lastname they chosen. Any ideas? Share this post Link to post
Anubhav 12 Posted November 8, 2014 Oh thanks for using it. You must set the nametag text. setPlayerNametagText Good luck! Share this post Link to post