hi I would like to understand from this script what the value "21" has before the word LASTENTERTIME, and why in the table db mysql I get such a high value:
150035 LASTENTERTIME 0 1572792886
1572792886?
mes "Is possible to enter once a day.";
if (select("Yes!","No thanks.") == 2) close;
if(LASTENTERTIME > gettimetick(2)){
mes "You can enter once every 24h!";
mes "Come back after " + gettimestr("%H:%M:%S",21,LASTENTERTIME);
mes "of the " + gettimestr("%d/%m/%Y",21,LASTENTERTIME);
end;
}
LASTENTERTIME = gettimetick(2) + (60*60*24);
warp "xxxxx",xxx,xxx;
end;
}
Question
domez86
hi I would like to understand from this script what the value "21" has before the word LASTENTERTIME, and why in the table db mysql I get such a high value:
150035 LASTENTERTIME 0 1572792886
1572792886?
mes "Is possible to enter once a day.";
if (select("Yes!","No thanks.") == 2) close;
if(LASTENTERTIME > gettimetick(2)){
mes "You can enter once every 24h!";
mes "Come back after " + gettimestr("%H:%M:%S",21,LASTENTERTIME);
mes "of the " + gettimestr("%d/%m/%Y",21,LASTENTERTIME);
end;
}
LASTENTERTIME = gettimetick(2) + (60*60*24);
warp "xxxxx",xxx,xxx;
end;
}
tnx!
Edited by domez861 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.