Just create a database that stores a time for each player. if a player trys to claim, and it has been 24 hours since their last present claim, set their value to to the current time and award the prize.
PHP: for ($i=30; $i>1; $i--) {$player->sendMessage("Game start in". $i );if($i == 0) {$sender->sendMessage("Started"); Now is startime 30 if you want change it change $i= starttime and $i>starttime + 1;
Uhm this is not what he meant at all. You can't go count 24 hours in a task to do that. What if the server restarts?