Simba Code:
{*******************************************************************************
procedure SMART_EnableSmartCanvas;
by: Cstrike
Description: Enables canvas for drawing on.
*******************************************************************************}
procedure SMART_EnableSmartCanvas;
begin
SmartSetDebug(true);
end;
{*******************************************************************************
procedure SMART_DisableSmartCanvas;
by: Cstrike
Description: Disables canvas.
*******************************************************************************}
procedure SMART_DisableSmartCanvas;
begin
SmartSetDebug(false);
end;
{*******************************************************************************
procedure SMART_ClearSmartCanvas;
by: Cstrike
Description: Clears canvas.
*******************************************************************************}
procedure SMART_ClearSmartCanvas;
begin
SMART_DrawTextEx(true, 1, 1, StatChars, ' ', clRed);
end;
The last one would need to be placed after SMART_DrawTextEx or something like that, or find another way to free the canvas other than my crap method. I really suck with canvases though.