Bug with variables formating. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bug with variables formating. (
/showthread.php?tid=551754)
Bug with variables formating. -
Banditukas - 20.12.2014
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.
Re: Bug with variables formating. -
Abagail - 20.12.2014
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?
Re: Bug with variables formating. -
Banditukas - 20.12.2014
Код:
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.
Re: Bug with variables formating. -
Wingman - 20.12.2014
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
Re: Bug with variables formating. -
Wingman - 20.12.2014
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
Re: Bug with variables formating. -
cessil - 21.12.2014
of you're using more than 64 arguments then that's a problem because pawn is limited to 64
Re: Bug with variables formating. -
Banditukas - 21.12.2014
But now i used 70 and no problems compiling.