Surf xp
Solved
|
Re: Surf xp
Look, you have to define maxkevels which are 6. Then set a size tonthe constants with the define (so there won't be anny mismatches). Your while loop is not correct. You have to "while" it like this:
PHP Code:
|
Re: Surf xp
Quote:
|
Re: Surf xp
Well,because he is using more than one constants and they all have to be with the same size. I think he has to use enum and put all the data in one constant, or define one certain size for all constants (so there won't be size mismatches and other rank for other level, etc. I don't know how to express it right). And practiculary, he will use that defined size as a size of all constants. It's like a size marker. I don't know if I explained it right....
|
Re: Surf xp
If he want that plugin to be working, he need the same size for every constant, so there is no reason to hardcode it. Still, if define the max size and put more/less intems in a constant he won't be able to compile, and will ask here. Both ways will reach the same thing: a new topic here. An enum is not a must if you know how to count.
|
Re: Surf xp
I have no idea what you're talking ..
Please you can fix me the code? |
Re: Surf xp
Quote:
nvm you edited the code. |
| All times are GMT -4. The time now is 21:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.