Author Topic: GUIs.  (Read 2583 times)

I was wondering if someone could point me towards documentation or a tutorial specifically relating to GUIs.
I has an idear.


before people start telling you how...what is the "idear"

before people start telling you how...what is the "idear"
Making a GUI for all the /slash commands.



Making a GUI for all the /slash commands.
Would require both client and server to have the mod, if even possible then.
The /commands are stored as servercmd functions, and not as objects.

Would require both client and server to have the mod, if even possible then.
The /commands are stored as servercmd functions, and not as objects.
Server does not need anything, just the client.
The button would call the commandtoserver function.

And yes it is possible, it's been done several times.

Would require both client and server to have the mod, if even possible then.
The /commands are stored as servercmd functions, and not as objects.
Your first part is wrong. I am making a gui for KRP without touching any of their files. "Commandtoserver('cmdhere',"oh.em.gee"); would be the same as someone typing "/cmdhere oh.emg.ee


Im pretty sure the person isnt talking about every single /command there is in blockland, he can just put the ones he wants onto it.

Chrono, what are you trying to prove by quoting that?
It is, in fact, completely possible without serverside mods.
Having a button call a commandtoserver is no different that having a key bound to it, typing a /command, as Eryehk said.

I know it's possible to have it call the command, I'm saying it's impossible to have it get all the commands.

dumpconsolefunctions();

dumpconsolefunctions();
Or, open the console, type in serverCmd, and keep pressing tab.
A lot less crap to go through.