02.09.2018, 03:51
Hi guys I want to make an identifier with gettime to know if 90 seconds have passed.
I only have this that identifies if 6 minutes have not passed, but I want to detect if 90 seconds have already passed
How could I make it detect if 90 seconds have already passed?
I only have this that identifies if 6 minutes have not passed, but I want to detect if 90 seconds have already passed
PHP код:
if(gettime() < PLAYER[playerid][TIME] + 360) return SendClientMessage(playerid, -1, "You can only use this command every 6 minutes");
PLAYER[playerid][TIME] = gettime();