24.01.2018, 02:13
Using Time Stamp with number variables.
Example:
Example:
Quote:
new YourVariable; // Stored Date YourVariable = gettime() + 25200 +3600; // 25200 is a fix number to get it sync real time // 3600 is the expired time, change it to the expired time you want (https://sampforum.blast.hk/showthread.php?tid=254915%5D) // Check if(gettime() > YourVariable) // Expried { // Do something here } |