Quick and nooby question
A quick and nooby question:
Wich should be first, size or id? PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: Quick and nooby question
id
|
Re: Quick and nooby question
Quote:
On outher stuff like: PHP Code:
|
Re: Quick and nooby question
No, it's not.
new g_szMessage[33][128] - id is first, size is second if(equal(g_szMessage[id], "bla bla")) - you only use id here if(g_szMessage[id][0]) - id is first, the character is second I don't see where they are used the other way around. |
Re: Quick and nooby question
new array[33][64] means that all 32 players (33 - 1, because there shall be 1 cell free, the 33th cell) have a string with maximum length 63 characters(64-1)
for example array[1] = "hello" array[2] = "watsup" and so on you can't place string first and second players. If you put array[64][33] then you will have 1 string and every value of the every cell of it will have 32 cells. I can't explain next ... |
Re: Quick and nooby question
I just tested this like 4 times already.
On new its size first and id second. On outher stuff like: PHP Code:
|
Re: Quick and nooby question
new g_IdMessage[33][129]
32 players have one string with length 128. |
Re: Quick and nooby question
Show us your code, you are certainly doing something wrong. "On other stuff like..." isn't enough.
|
Re: Quick and nooby question
Quote:
Spoiler
Something like this ^ If i use "new g_Chat_FinalMessage" with id first and size second then the message will only have 32 characters... |
Re: Quick and nooby question
Quote:
|
| All times are GMT -4. The time now is 18:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.