It would be
very nice to have a blocking version of triggerserver that could wait for a return from onActionServerside. Often times triggering back to the client becomes a really roundabout, inconvenient way of designing your code. I want something like this:
PHP Code:
function onActionServerside()
{
return "test";
}
//#CLIENTSIDE
function onCreated()
{
temp.result = blockedtrigger("gui", this.name);
player.chat = result; // Should be "test"
}
Note:
I don't mean something like waitfor() to check when the client is triggered, that can still lead to splitting up code into unorganized places and is just not very convenient.