Blockland Forums > Modification Help
Calling a function for every online player.
(1/1)
Jasa1:
How would I go about calling a function for every client on the server?
Chrono:
In what way?

A commandToClient?
A gameConnection.function?
Jasa1:
GameConnection::Function
Chrono:

--- Code: ---for(%x=0;%x<ClientGroup.getCount();%x++)
{
%cl = ClientGroup.getObject(%x);
//Do stuff to %cl, like:
//%cl.DoSomething();
}

--- End code ---
Navigation
Message Index

Go to full version