Can we create functions with "any" parameter that might be int / float ?
Code:
stock void SetTopTimer( any value )
{
//if <int> do nothing
//if <float> convert to <int>
PrintToServer( "%d", value );
}
stock void OnRoundStart()
{
//I need both to work
SetTopTimer( 5.0 );
SetTopTimer( 5 );
}
UPD:
Ok, it works. lol, solved