View Full Version : FindText
DeSnob
08-16-2009, 09:26 AM
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.
FindText(x, y, 'earch', font, mcx1, mcy1, mcx2, mcy2);
3Garrett3
08-16-2009, 09:31 AM
Just use SRL's chat functions?
In core. Chat.scar
IsChatBoxTextAnyLine(Text: string; TextCol: Integer) : boolean
Looks like a good one.
ZephyrsFury
08-16-2009, 05:11 PM
The Font for the chat box is SmallChars:
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.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.