Hi guys,
I'm facing a strange problem using the formattime function and i don't see what i'm doing wrong. Here is my piece of code, very simple, but the last line doesn't compile "bad or missing expression in ="...
Also i can't find the formattime function definition so maybe i'm calling it wrong ? But i've already such code working in ut2 base code...
Thx for the help !
I'm facing a strange problem using the formattime function and i don't see what i'm doing wrong. Here is my piece of code, very simple, but the last line doesn't compile "bad or missing expression in ="...
Code:
local string Timer;
local int RemainTime;
if ( PlayerOwner.GameReplicationInfo != None )
RemainTime = PlayerOwner.GameReplicationInfo.RemainingTime;
Timer = FormatTime(RemainTime);
Also i can't find the formattime function definition so maybe i'm calling it wrong ? But i've already such code working in ut2 base code...
Thx for the help !