Pragma
#1

pawn Код:
#pragma amxlimit
#pragma library
#pragma overlay
#pragma pack //does this affect some strings?
#pragma compress
There is something useful?
Reply
#2

1) http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf

2) Scroll to page 118
Reply
#3

I know that thanks.. but i need some one explain me if this is useful on sa-mp pawn
Reply
#4

#pragma pack isn't in pawn-lang.pdf. Are you sure it exists?
Reply
#5

yea :/ i think yes
Reply
#6

#pragma pack just reverses the meaning of packed and unpacked strings. So instead of strings being unpacked by default, they are now packed by default. #pragma library is used in plugin includes to refer to the library (.dll/.so file) that contains the native functions. I believe #pragma amxlimit sets the maximum size the script can grow to. This is only useful when you have limited memory available; like on an embedded system.

I don't know what the rest does. But I doubt they're useful in any way.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)