16.01.2015, 16:16
If you use the first, you will be able to store one value in that one variable.
If you use the second, you will be able to store a value for every player in your server. This type of variable is called an array. You can access it by doing:
You can then set a variable per individual player: useful for other systems.
If you use the second, you will be able to store a value for every player in your server. This type of variable is called an array. You can access it by doing:
PHP код:
new Money[MAX_PLAYERS];
Money[playerid] = 500;