Blockland Forums > Modification Help
Get client from GUI?
Bauklotz:
serverConnection*. Only localClientConnection if you are hosting.
Red_Guy:
why do you need to know the client thats running the gui?
if you need to store values someplace -- put them in the gui object:
%stuff = ClientSideGui.stuff;
<scripting stuff>
ClientSideGui.stuff = %result;
then later on:
commandToServer('stuff', ClientSideGui.stuff );
Greek2me:
Wow, I'm dumb.
When you do commandToServer, the client is sent automatically. duh
locking