Small code needs fixing.
L 05/02/2012 - 16:02:06: [AMXX] Displaying debug trace (plugin "pokemod.amxx")
L 05/02/2012 - 16:02:06: [AMXX] Run time error 4: index out of bounds L 05/02/2012 - 16:02:06: [AMXX] [0] pokeskills.inl::Triple_Team (line 2620) PHP Code:
|
Re: Small code needs fixing.
PHP Code:
PHP Code:
|
Re: Small code needs fixing.
I run pokemod, I have many skills with ramdom_num, can they all be changed into ramdom(x) instead of ramdom_num(x)?
And thank you for the support. Also, it has about 549 skills with Public functions, is there any other way that I can make it call without being Public functions? |
Re: Small code needs fixing.
random(x) = random_num(0, x - 1)
Your random range in this case was just wrong. You needed 0 - 2, not 1 - 3. |
Re: Small code needs fixing.
I understand, also I asked above too..
PHP Code:
|
| All times are GMT -4. The time now is 00:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.