Sol Posted August 25, 2012 Share Posted August 25, 2012 Hello, I searched the source code, UI macross and I didn't find any UI Macro with empty execute cmd.Generally I mean that it would be very usefull to create UI's custom cmds for LUA.I want to create UI frame with string and I want to send string to server, and I can't do it, because I can send it only by callvotes.This should be look like this else if ( Q_stricmp( name, "customcmd" ) == 0 ) { trap_Cmd_ExecuteText( EXEC_APPEND, va( "%s\n", trap_Cvar_VariableValue( "ui_customcmd" ) ) ); } Then you can send everything by this and catch it by LUA.It is very helpful in making many kinds of UI frames for clients. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted August 25, 2012 Management Share Posted August 25, 2012 What do you mean with UI frames? Quote Link to comment Share on other sites More sharing options...
Sol Posted August 25, 2012 Author Share Posted August 25, 2012 What do you mean with UI frames?I mean UI's window Quote Link to comment Share on other sites More sharing options...
Dragonji Posted August 25, 2012 Share Posted August 25, 2012 I mean UI's windowIt doesn't explain much Quote Link to comment Share on other sites More sharing options...
Sol Posted August 25, 2012 Author Share Posted August 25, 2012 http://screenshooter.net/data/uploads/oh/nx/uiku.jpgI can't explain it better. Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted August 26, 2012 Management Share Posted August 26, 2012 I get it, you want to have commands to send custom information, the frames are not that important in this case, just the ui cmd that is missing, right? Quote Link to comment Share on other sites More sharing options...
Sol Posted August 26, 2012 Author Share Posted August 26, 2012 I get it, you want to have commands to send custom information, the frames are not that important in this case, just the ui cmd that is missing, right?Yep, its not possible to send "easy" custom information via ui cmd to server. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.