Blockland Forums > Modification Help
MessageBoxYesNo help
Pages: (1/1)
Jasa1:
How do I make it so when I prompt the client with a MessageBoxYesNo and they press "Yes" it sends a command to the server?
Superb:
--- Quote from: Jasa1 on December 22, 2011, 08:01:20 PM ---How do I make it so when I prompt the client with a MessageBoxYesNo and they press "Yes" it sends a command to the server?
--- End quote ---
mbyn only works client sided i believe.
Jasa1:
--- Quote from: Superb on December 22, 2011, 08:04:21 PM ---mbyn only works client sided i believe.
--- End quote ---
I was afraid of that.
Destiny/Zack0Wack0:
--- Code: ---commandToClient('MessageBoxYesNo',"title","message",'YourServerCommand');
--- End code ---
function serverCmdYourServerCommand will be called when yes is clicked.
Jasa1:
--- Quote from: Destiny/Zack0Wack0 on December 22, 2011, 08:41:45 PM ---
--- Code: ---commandToClient('MessageBoxYesNo',"title","message",'YourServerCommand');
--- End code ---
function serverCmdYourServerCommand will be called when yes is clicked.
--- End quote ---
Thanks. That's all I needed.
Pages: (1/1)