Something easy- timer..
i add to beginscene procedure this timer:
SetTimer(10, 1);
and to script this procedure timer..
public void timer(int timerID, float arg0, float arg1, float arg2, float arg3)
{
if(timerID == 1)
{
//add by RuThaN
// Codex.Console.DisplayFloatText(int clientGuid, String floatText, int fontSize, int x, int y, int expireTime, int fadeIn, int fadeOut, int scrollSpeed);
DisplayFloatText(0, "Game runs: " + CodexSystem.GetGameTime() , 15, 5, 5, 50000, 10, 10, 1);
}
}
What i want? Write on screen and every 10 second refresh how log time game runs..