Author Topic: Calling a function for every online player.  (Read 299 times)

How would I go about calling a function for every client on the server?

In what way?

A commandToClient?
A gameConnection.function?

GameConnection::Function

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