I'm trying to find a message which appears in the chatbox but i need to know what the chars would be. It's asking for an integer.
SCAR Code:FindText(x, y, 'earch', font, mcx1, mcy1, mcx2, mcy2);
Printable View
I'm trying to find a message which appears in the chatbox but i need to know what the chars would be. It's asking for an integer.
SCAR Code:FindText(x, y, 'earch', font, mcx1, mcy1, mcx2, mcy2);
Just use SRL's chat functions?
In core. Chat.scar
IsChatBoxTextAnyLine(Text: string; TextCol: Integer) : boolean
Looks like a good one.
The Font for the chat box is SmallChars:
SCAR Code:FindText(X, Y, 'earch', SmallChars, MCX1, MCY1, MCX2, MCY2);
or like Garrett suggested you can use the chatbox functions in Text.scar to find/get text too.