I have another problem ><
I made this:
local DermaText1 = vgui.Create( “DTextEntry”, TAB7 )
DermaText1:SetPos( 20,25 )
DermaText1:SetTall( 20 )
DermaText1:SetWide( 120 )
DermaText1:SetEnterAllowed( true )
DermaText1:SetText(“text”)
DermaText1.OnEnter = function()
RunConsoleCommand( "name " , “DermaText1:GetValue()” ) end
And i am not sure that i must use RunConsole Command.My purpose is that when i enter something
in the text menu ingame, the text i entered is ran in the console with "name " before it.For example:
i have entered " dog " in the menu,
then when i press enter, the console recieves the command
“name dog”
Please help me again.
Thank you!