Author Topic: How would I use bottomPrintAll in a server to display a variable in everyone's-  (Read 372 times)

How would I use bottomPrintAll in a server to display a variable in everyone's individual client?

like if i put
findClientByName("Alchemy").empire = "Lost Kingdom";

and i do this for everyone, how would I use bottomprint to everyone to display their individual variable?

I would recommend either a) having a general purpose questions thread or b) getting a single person to answer your questions, like on steam or something. You're cluttering up the coding help board.

As for your question, use something like this:
Code: [Select]
%clientCount = clientGroup.getCount();
for(%i=0;%i<%clientCount;%i++)
{
    %client = clientGroup.getObject(%i);
    %client.bottomPrint("Your empire is currently " @ %client.empire);
}