Add Timer Betwen Each Report?
#5

@Saw: no need to report, your enhanced command have let us all assume that you dont really need help at coding your copy-n-pasted little shit, so Kush pointed you to the right direction. GetTickCount() returns a milliseconds value of the time the server is up already. so by assuming that i would type a command for my very first time, would lead me to the conclusion that
ActualTime-PreviouslyStoredTime = Difference in ms
so how to script that? make a check like
Код:
if(GetTickCount()-GetPVarInt(playerid,"LastCommandUsedTime")>2*60*1000)
{
SetPVarInt(playerid,"LastCommandUsedTime",GetTickCount());
}
you will figure out how to indent, and how and where to insert it in your command?
or shall someone else explain/show you that? if you respond wisely, someone will.
Reply


Messages In This Thread
Add Timer Betwen Each Report?[OLD+Resolved] - by Saw® - 08.10.2011, 12:04
Re: Add Timer Betwen Each Report? - by Kush - 08.10.2011, 12:14
Re: Add Timer Betwen Each Report? - by Saw® - 08.10.2011, 17:48
Re: Add Timer Betwen Each Report? - by admantis - 08.10.2011, 18:17
Re: Add Timer Betwen Each Report? - by Babul - 08.10.2011, 22:20
Re: Add Timer Betwen Each Report? - by Scenario - 08.10.2011, 22:32
Re: Add Timer Betwen Each Report? - by Saw® - 12.02.2013, 11:53

Forum Jump:


Users browsing this thread: 1 Guest(s)