View Single Post
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 02-10-2022 , 19:18   Re: Time played ( First seen & Last seen )
Reply With Quote #8

Quote:
Originally Posted by bigdaddy424 View Post
Why do you think that set_task is better and faster than get_user_time()
I think that these natives are made so it's easier for you to work around with player time saving and all that. The person who coded also went an extra mile by counting the time it takes to connect. How generous
I think check the time automatic when connected to the server is faster than using get_user_time, if i am not correct then tell me why and i will use this way:

PHP Code:
@TotalTimePlayedid )
{
    new 
iTotalTime g_iPlayerid ][ Time_Played ] += get_user_timeid ) / 60;
    
client_print_coloridprint_team_default"You total time played is %i"iTotalTime )

__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 02-10-2022 at 20:43.
Supremache is offline