FOnline Development > Questions and Answers
FOnline SDK - Question
BlindMaster:
Where can i get that draw text??
Mayck:
--- Quote from: BlindMaster on May 21, 2011, 06:20:45 am ---Where can i get that draw text??
--- End quote ---
In client_main.fos
edit render_iface function so it looks like this
--- Code: ---... code ...
void render_iface(uint layer)
{
if(layer == 3)
{
//next 3 lines were added
uint16 hexX=0, hexY=0;
GetMonitorHex(__MouseX, __MouseY, hexX, hexY);
DrawText("Hex: "+hexX+" "+hexY,__ScreenWidth-100,20, 100, 20, 0, FONT_FALLOUT, FT_CENTERR);
DrawChosenTabs();
... code ...
--- End code ---
that should do the trick
barter1113:
How all script should look? Can someone put here drawtext?
Surf:
Mayck posted everything you need already. ::)
BlindMaster:
How can i add slavery back in TLA?
edit: After i did what Mayec sayed i can't see my inv or annything like this.Can you give me a copy from your client main?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version