Author Topic: MessageBoxYesNo help  (Read 606 times)

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?

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?

mbyn only works client sided i believe.

mbyn only works client sided i believe.
I was afraid of that.

Code: [Select]
commandToClient('MessageBoxYesNo',"title","message",'YourServerCommand');
function serverCmdYourServerCommand will be called when yes is clicked.

Code: [Select]
commandToClient('MessageBoxYesNo',"title","message",'YourServerCommand');
function serverCmdYourServerCommand will be called when yes is clicked.
Thanks. That's all I needed.