Hello, I'm wondering how you set up a loop to display things like variables in a bottom print for all players who join the server, so if the variables for one player changes, it can show the variables in the bottom print for that player. (not everyone) I'm assuming %client is for the individual player, but I could be mistaken. I'm pretty new to coding and any help is greatly appreciated :)
The only thing I've learned how to do so far is to display chat messages when a / command is entered, to show a variable in chat;
package Gold
{
function ServerCmdGold(%client)
{
%gold = 5;
messageClient(%client,'',"<color:FFFF00>You have "@%gold@" gold.");
}
};
ActivatePackage(Gold);