Lua:AddHudTimerToTeam
From Fortress Forever Wiki
Jump to navigationJump to search
AddHudTimerPuts a countdown timer on a player's screen. UsageAddHudTimerToTeam( team, huditemname, timername, x, y ) AddHudTimerToTeam( team, huditemname, timername, x, y, align ) AddHudTimerToTeam( team, huditemname, timername, x, y, alignx, aligny ) Input
OutputReturns noting Examplelocal player = CastToPlayer( player_entity ) AddHudTimer(player, "timer", 300, -1, 0, 70, 4) NoteThe timer is strictly a visual aid. To time actual game events, Use the Scheduling System or Lua:Timer |