// Console Begin
s32 fps;
fps = driver->getFPS();
driver->draw2DRectangle(SColor(100,0,0,0),rect<s32>(0,565,800,600));
font->draw(L"This is some text.", // Text
rect<s32>(0,565,800,600), // Position
SColor(100,255,255,255) // Color
);
// Console End
How can I update "This is some text." with my fps var ?
"We are all lost, like tears in the rain and the water from above kills the eternal flame"
since the string is in wchar_t format (instaed of just char) you need to get the fps (as an int) and print it to wchar_t using something like sprintf for wide chars.