Quote:
Originally Posted by MrEgg0
1-Is there an explanation of how to do this
|
I did essentially tell you how. I said that you need to increase the size of the arrays and that the size of the array is set by MAXLEVEL.
Quote:
Originally Posted by MrEgg0
2-How can I increase the size of the matrix? Is it possible to make the size of the array indefinite and how to do it
|
There are no matrices in this particular programming language. Yes, often there is a way to make certain arrays indefinite. You should probably to learn the basics of programming to be able to understand how this part works. Especially since this plugin is comprised of multiple files (I haven't actually looked at the other files so it may be simple or it may not be so simple).
Quote:
Originally Posted by MrEgg0
This way you mean to increase the size of an array?:
new const WEAPONCONST[][]
|
No. The brackets set the dimension of the array, not the size. Also, that variable is already a 2D array so that wouldn't change anything.
-------------------------------
If you're actually interested in learning how to write and modify plugins, you really need to start by learning the basic concepts of programming. There are many tutorials available to help you out with this. The first two tutorials under General Pawn Programming on
this list of tutorials are probably good places to start. If you prefer visual analogies, looking at the picture tutorial might be best, otherwise the second one might be better.
Also, you should post in the Scripting Help forum for getting help with your own coding. If you're not wanting to learn how to code, you should post in the Suggestions/Requests forum and wait for someone to help you out.
__________________