Time and Date

Started by PLAYER, Dec 23, 2024, 04:26 PM

Previous topic - Next topic

PLAYER

Hey Guys! I used Every Time Function I got this one on Wiki
if ( cmd == "date" )
     {
          ClientMessage( "The time is now: " + GetFullTime(), plr, 135, 210, 40 );
     }

This Also Not Worked And Console Printed A Message:  GetTime is deprecated and may be removed in the future.
Please use Squirrel's time() function instead.
Btw I used This one Also GetTime() But same Message printed on Console.

MEGAMIND

Quote from: PLAYER on Dec 23, 2024, 04:26 PMHey Guys! I used Every Time Function I got this one on Wiki
if ( cmd == "date" )
    {
          ClientMessage( "The time is now: " + GetFullTime(), plr, 135, 210, 40 );
    }

This Also Not Worked And Console Printed A Message:  GetTime is deprecated and may be removed in the future.
Please use Squirrel's time() function instead.
Btw I used This one Also GetTime() But same Message printed on Console.
MessagePlayer( "Its " + GetFullTime() + " in server..!", player );