AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Count last online ago (https://forums.alliedmods.net/showthread.php?t=217646)

TroyeL 06-05-2013 11:32

Count last online ago
 
i want to do when player disconnect it will start to count the seconds until the he will connect again to the server.

what the problem? i don't know from where to start, if someone can give me the start of the way of the code it will help me much :).

jimaway 06-05-2013 11:43

Re: Count last online ago
 
get system time on player disconnect and save it somewhere with users steamid, when player connects find his steamid and calculate the seconds hes been off


All times are GMT -4. The time now is 16:25.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.