For statement
Hi, I am building building an xp mod with some classes, but I can't seem to get it working.
It should be loading xp and lvl from each class, and it's this sentence that is wrong: PHP Code:
I really hope someone can help me :) When I compile it doesn't point out any errors, but when I run it on debug it says: Code:
L 05/09/2009 - 20:53:35: [AMXX] Displaying debug trace (plugin "xp-mod.amxx")PHP Code:
PHP Code:
[JPro] ReTaRD [ToY] |
Re: For statement
Array indices are zero based. A valid index is 0,1,2,3, or 4. The first code here is more efficient and you don't need a sum if the number of iterations is hardcoded.
PHP Code:
PHP Code:
|
Re: For statement
YES! Thank you very much for the fast and good reply! :)
You just saved my day. +karma Regards [JPro] ReTaRD [ToY] |
Re: For statement
Lucky timing I guess. I also just added a comment in my last post :).
|
| All times are GMT -4. The time now is 01:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.