AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   runtime error pm (https://forums.alliedmods.net/showthread.php?t=60862)

Exolent[jNr] 09-14-2007 19:45

runtime error pm
 
ok. so i have created a plugin that tells me in a runtime error that my formatted string's last arg is out of bounds.
Code:

L 09/14/2007 - 18:43:53: [AMXX] Run time error 4: index out of bounds
L 09/14/2007 - 18:43:53: [AMXX]    [0] phpglnW5U.sma::fm_PreThink (line 103)

and
Code:

L 09/14/2007 - 18:43:53: [AMXX] Run time error 4: index out of bounds
L 09/14/2007 - 18:43:53: [AMXX]    [0] phpglnW5U.sma::fm_PreThink (line 113)

if youd like to help, and plz do, pm me.

thanks to anyone who helps =]

Arkshine 09-14-2007 23:42

Re: runtime error pm
 
Quote:

and plz do, pm me.
Why not here ?! -_-

kp_uparrow 09-15-2007 00:34

Re: runtime error pm
 
duh its out of bounds!

Exolent[jNr] 09-15-2007 00:47

Re: runtime error pm
 
why not here? cause its something i dont want public =\

and i know it says its out of bounds, but the formatted string has the exact amount of "%d" and "%s" to match all the variables/strings im substituting in.

thats what doesnt make sense.

kp_uparrow 09-15-2007 01:34

Re: runtime error pm
 
why not want it here
post your code

Arkshine 09-15-2007 01:40

Re: runtime error pm
 
You don't need to paste your full code. Just related on this problem.


All times are GMT -4. The time now is 16:03.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.