Blockland Forums > Modification Help
Client MessageboxOK
(1/4) > >>
Ipquarx:
Hi, im working on a script, but i need to be able to have a selected client have a messageboxOK popup, how do i do that if im the host, using a server-sided script? ive tryed everything i could think of, nothing has worked.

Replys appriciated!
-Ipquarx
Treynolds416:
Edit: Actually, your question is so unclear I have no idea what you are asking. Ignore this post.
cucumberdude:
Actually I think there's a premade command for it. Not sure of the specifics, search it.
Headcrab Zombie:
commandtoclient(client,'MessageBoxOK',"Title","Message");
Iban:

--- Code: ---commandToClient(%client, 'MessageBoxOK', %title, %message);
--- End code ---

I'm pretty sure there is a 5th argument that lets you do a callback, if they choose to press OK instead of X.

Like so:


--- Code: ---commandToClient(%client, 'MessageBoxOK', %title, %message, 'ConfirmMessage');

function serverCmdConfirmMessage(%client)
{
// Code here.
}
--- End code ---

You'd have to try it out, I can't say for certain.
Navigation
Message Index
Next page

Go to full version