If you want time in seconds hud wont be difficult.
Call this function on playerConnected: ( self thread _countTime() )
and on CallbackStartGametype add:
precacheString(&"Seconds Played: ");
PHP Code:
_countTime()
{
self endon("disconnect");
self.seconds_HUD = newClientHudElem(self);
self.seconds_HUD.x = 305;
self.seconds_HUD.y = 140;
self.seconds_HUD.alignX = "center";
self.seconds_HUD.alignY = "middle";
self.seconds_HUD.sort = 1;
self.seconds_HUD.alpha = 1;
self.seconds_HUD.fontScale = 1.3;
self.seconds_HUD.label = &"Seconds Played: ";
self.timeplayed = 0;
while(1)
{
wait 1;
self.timeplayed+= 1;
self.seconds_HUD setValue(self.timeplayed);
}
}
I hope, I helped you a bit.