Advantages/Disadvantages of using one string.
#1

Title pretty much says it all.

Let's say I have 100 multi-parameter commands in a huge roleplay mode, and in each command I would format a string to display a message. Now would it be efficient to just define one string to use in all the commands? I already know this would save tons of memory, but I read somewhere that Pawn is single-threaded.

For example

Player 1 types a command.
Player 2 types a command a few milliseconds after.

What are the chances of strings mixing up? Will that even happen?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)