17.02.2014, 02:09
Today, I learned that you can access the index of a returned string from a function!
Prints:
pawn Code:
stock returnString() {
static str[24];
str = "Hello there!";
return str;
}
public OnFilterScriptInit() {
print((returnString())[1]);
}
Code:
ello there!