DrawRulesFont

From King Arthur's Gold Wiki
Jump to: navigation, search

Draws the given text with the given colour, position and alignment.


This is client only - it should be wrapped in "if ( getNet().isClient() )" or be in a client-only script.

void drawRulesFont(string text, SColor colour, Vec2f topleft, Vec2f bottomright, bool halign, bool valign)