01.05.2013, 15:24
That's actually very useful! Maybe you can add this to your small library to get the address instead of using emit.
pawn Код:
stock GetAddressFromText(text[]) {
#emit load.s.pri text
#emit retn
return 0;
}
pawn Код:
new
text[] = "Hello World"
;
print(GetTextFromAddress(GetAddressFromText(text))); // "Hello World"