10.03.2017, 09:14
I don't think you could use that for this purpose,
You can save the player 'last time' as unix time ( gettime() ) under OnPlayerDisconnect. When they connect again, compare the saved time with the actual time (unix) and send that info to the player. You would want to make a function for this in order to make it look nicer (like not just seconds but to separate seconds, hours, days, etc)
You can save the player 'last time' as unix time ( gettime() ) under OnPlayerDisconnect. When they connect again, compare the saved time with the actual time (unix) and send that info to the player. You would want to make a function for this in order to make it look nicer (like not just seconds but to separate seconds, hours, days, etc)