Skip to content

Instantly share code, notes, and snippets.

View Kolesias123's full-sized avatar

Iván Bravo Bravo Kolesias123

View GitHub Profile
function calculate(time, num)
{
var inte = ["segundo", "minuto", "hora", "día", "semana", "mes", "año"];
var dur = [60, 60, 24, 7, 4.35, 12];
time = parseInt(time);
var now = parseInt( Math.round((new Date()).getTime() / 1000) );
var j = 0;
var dif = 0;
//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============//
#include "cbase.h"
#include "hud.h"
#include "hudelement.h"
#include "hud_numericdisplay.h"
#include <vgui_controls/Panel.h>
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Sunlight shadow control entity.
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "c_baseplayer.h"