Author Topic: GUI help  (Read 1385 times)

Alright, so I'm pretty new to Torque, and I need a little help with a GUI I'm making for Cciamlazy's CityRPG. Heres a couple of things I need to know, or even better yet. If you know the link to an updated GUI tutorial, that'd help me a lot!

But anyways here are the things I need to know:

   1. How to show a value in the server mod, because I am working on a client sided GUI
   2. How to show to players current Avatar in picture form
   3. How to make the GUI work in-game, not like, how do I work it.  But how do I make it function in-game on the typing of "/stats"

You'd need to create some clientCmd functions that the server uses to tell the client what certain values in the GUI should be set to, like clientCmdSetCityRPGValues(%value1, %value2, ...). As for opening it, it would be easier to register a keybind on the client side.

You'd need to create some clientCmd functions that the server uses to tell the client what certain values in the GUI should be set to, like clientCmdSetCityRPGValues(%value1, %value2, ...). As for opening it, it would be easier to register a keybind on the client side.
Thanks


If you're just starting out with torque, I would recommend learning the basics first, instead of jumping right into more complicated things like GUI's and Client-Server interaction.