What's difference between...
What's the difference between this:
PHP Code:
PHP Code:
NOTE: It should be noted that from where I see it, there is no difference, but I may be wrong... |
Re: What's difference between...
1 Attachment(s)
You create array and 2d array.
*edit Ok, I misread, it should be new a[32][2]; Because if you create [array], you set array size. Array index start from 0. Code:
new a[32];Code:
new a[32][2];here picture 3D g_variable[1][3][0] = 1337 https://forums.alliedmods.net/attach...1&d=1546123151 |
Re: What's difference between...
That means that for each player of the 32 players can be created 2 different entities or just one?
PHP Code:
The thing is that I want to create an array for each player where I can store an undetermined number of entities. |
Re: What's difference between...
Quote:
|
Re: What's difference between...
Quote:
|
Re: What's difference between...
Quote:
Create an array of each player, where for each player at least 4 entities (of any kind or nature) can be created. PHP Code:
That is, I want to know if they could "mix" or "affect" each other ... |
Re: What's difference between...
Quote:
|
Re: What's difference between...
There is a bit diffs which is you can achieve it using 1dArray, making it 2d array is just useless by adding one cell to each row.
If you have another question start a new thread... |
| All times are GMT -4. The time now is 07:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.