#1

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

PHP код:
if(gettime() < PLAYER[playerid][TIME] + 360) return SendClientMessage(playerid, -1"You can only use this command every 6 minutes");
PLAYER[playerid][TIME] = gettime(); 
How could I make it detect if 90 seconds have already passed?
Reply


Messages In This Thread
Time - by SapMan - 02.09.2018, 03:51
Re: Time - by Sew_Sumi - 02.09.2018, 04:30
Re: Time - by Shinja - 02.09.2018, 12:20
Re: Time - by NeXTGoD - 02.09.2018, 14:01
Re: Time - by SapMan - 02.09.2018, 17:23
Re: Time - by Shinja - 02.09.2018, 18:12
Re: Time - by SapMan - 02.09.2018, 18:17
Re: Time - by Shinja - 02.09.2018, 23:24

Forum Jump:


Users browsing this thread: 2 Guest(s)