Blockland Forums > Modification Help
Client of GUI?
MegaScientifical:
--- Quote from: Tom on August 09, 2010, 01:35:38 AM ---clientCmdCenterprint(msg, time);
--- End quote ---
Well, isn't that using it clientside? If you wanted to tell from the server, you'd use "commandToClient(client, msg, time);" right?
Tom:
--- Quote from: Pew446 on August 09, 2010, 11:02:25 AM ---Dang it... I was hoping to make a gui for my Name Wand. Guess I can't do that ;-;
--- End quote ---
Yes you can. You just need to have the client tell the server to turn the name wand variable on. It will be easy for what your doing, because you already have a server command that does that. Considering the simplicity of this, I would make the GUI RTB-compatible too so people who have RTB can use the GUI without having the mod.
commandToServer('namewand', %arg);
Pew446:
--- Quote from: Tom on August 11, 2010, 07:03:38 PM ---Yes you can. You just need to have the client tell the server to turn the name wand variable on. It will be easy for what your doing, because you already have a server command that does that. Considering the simplicity of this, I would make the GUI RTB-compatible too so people who have RTB can use the GUI without having the mod.
commandToServer('namewand', %arg);
--- End quote ---
Tom. I love you.
otto-san:
--- Quote from: Pew446 on August 11, 2010, 07:34:40 PM ---Tom. I love you.
--- End quote ---
i love him too
Pew446:
What do you mean "RTB-Compatible"? Please example.