Is there a way to get current line in pawn?
#1

printf("line where messaje is %d ", __line);

http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf
Predefined Macros
__line
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)