Bug with variables formating.
#1

Hi,

I see bug with pawno, when you use i don't really know exatly how much but now i need format 136 variables, and pawno crashes.
Reply
#2

If this was a bug, then it would be in the bug report section. Can you provide the code you are trying to use when pawno crashes?
Reply
#3

Код:
new mstring[ 500 ];
format(mstring,499,"%d %d %d %d %d %d about 136 times %d....",
VARIABLE[ 0 ],
VARIABLE[ 0 ],
VARIABLE[ 0 ],
VARIABLE[ 0 ],
VARIABLE[ 0 ],
VARIABLE[ 0 ],
VARIABLE[ 0 ],
VARIABLE[ 0 ],
VARIABLE[ 0 ],
VARIABLE[ 0 ],
VARIABLE[ 0 ] );
// and end with 135.
Reply
#4

Make sure you pawno is updated, i heard that it is over a year old but that is not confirmed. Is there any thing in your "pawno" folder in server files that should'nt be there. Here is a link you should check for pawno http://www.compuphase.com/pawn/pawn.htm
Reply
#5

I never used a variable in samp to be honest, In scripting class in my high school we used Var; So for samp im pretty sure they're are possibly no variables
Reply
#6

of you're using more than 64 arguments then that's a problem because pawn is limited to 64
Reply
#7

But now i used 70 and no problems compiling.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)