Is there a way to get current line in pawn? - 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: Is there a way to get current line in pawn? (
/showthread.php?tid=361366)
Is there a way to get current line in pawn? -
Night Dreamer - 20.07.2012
printf("line where messaje is %d ", __line);
http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf
Predefined Macros
__line
Re: Is there a way to get current line in pawn? -
Vince - 20.07.2012
Unfortunately not possible. Someone else asked this same question recently. The language guide on the website is "too new". SA-MP still uses a Pawn version from 2006, which does not have the __line constant.