Game Development Community

Client and GUI

by Spencer Strombotne · in General Discussion · 08/19/2008 (7:46 am) · 1 replies

I have a command:

Canvas.pushDialog(MenuDlg);

The problem is that it is on the server side code and whoever trys to open it, the host of the server always gets a gui pop up on their screen. Is there anyway to specify a client instead of doing commandToClient all the time?

#1
08/19/2008 (10:28 am)
You should not reference the gui in server side script for this reason. commandToClient is really the easiest way to do it...