05.04.2017, 17:50
When user registers, save current timestamp. Something like:
Then when he joins again, again, get current timestamp, read timestamp from when he registered(from where you saved it), and substract it from current one. Then just check if the result is bigger then 86400 (that is 24h in seconds), if it is 24h have passed.
pawn Код:
new curTimestamp = gettime(playerid);