can someone make me a procedure that checks the time, and if the time exceeds one hour then the script logs out.



I assume that you want each player to run for an hour?SCAR Code:var
T: Integer;
procedure CheckTime;
begin
if(T = 0)then
T:= GetSystemTime;
if((GetSystemTime - T) >= 3600000)then
begin
Logout;
T:= 0;
end;
end;
There are currently 1 users browsing this thread. (0 members and 1 guests)