Compiler problem
2 Attachment(s)
Hi guys
I want to delete one of the blocks from the plugin but i get every time a error. Plz Help Original Plugin Code:
new const gszBlockNames[gBlockMax][32] =I deleted all of the "Invincibility" things out of the plugin Code:
new const gszBlockNames[gBlockMax][32] =& if i try "new const gszBlockNames[gBlockMax][31 or 23] =" then i get "error 018 initialization data exceeds declared size" Whats wrong? I have no idea more. Plz Help Sry, for the bad english. |
Re: Compiler problem
|
Re: Compiler problem
Quote:
Anyways, new const gszBlockNames[gBlockMax][32] As you can see, then gszBlockNames is two dimensional array, and the number 32 represents the ammount of data in the array. If you remove "Invincibility", then there will be only 31 items in array and that means that you get error, because compiler is told that there MUST be 32 items in array. Mean that you need to change: gszBlockNames[gBlockMax][32] to gszBlockNames[gBlockMax][31] This thread will get trashed soon, but i hope that you get the point i was trying to explain. Edit: sh*t i think i totally failed, but you can try. |
Re: Compiler problem
i edited my post,
i tried it with gszBlockNames[gBlockMax][31] and gszBlockNames[gBlockMax][23] ;) Need Help |
Re: Compiler problem
Check the value of gBlockMax. DaxProxy is on the right track with his statement
|
Re: Compiler problem
What?
I did it or not?! |
Re: Compiler problem
Quote:
|
Re: Compiler problem
Plz help me or shut your mouth -.-
|
Re: Compiler problem
Line 249:
PHP Code:
PHP Code:
|
Re: Compiler problem
Quote:
|
| All times are GMT -4. The time now is 00:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.