Using single global variable for formatting text
#1

Hello, I have one question about functionality of above.

Instead of creating a string in every single public/function, I have declared one global variable as an array, which I used basicly everywhere I want to format and display some text for certain player.

And my question is, when for example will get something executed for player X, where's global string is being processed, meanwhile player Y need that variable too, will server wait till player X is processed or not?

Becouse I'm afraid of some disruption in this, if for example more players executed a piece of code where global string is being processed.

Actually, if server would wait till code called will get processed, it should be working properly, but I'm not sure about how it does.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)