SA-MP Forums Archive
Add Timer Betwen Each Report? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Add Timer Betwen Each Report? (/showthread.php?tid=288593)



Add Timer Betwen Each Report?[OLD+Resolved] - Saw® - 08.10.2011

RESOLVED long time..


Re: Add Timer Betwen Each Report? - Kush - 08.10.2011

https://sampwiki.blast.hk/wiki/GetTickCount


Re: Add Timer Betwen Each Report? - Saw® - 08.10.2011

ok explain more?


Re: Add Timer Betwen Each Report? - admantis - 08.10.2011

Quote:
Originally Posted by Saw®
Посмотреть сообщение
....... You Know that i'm New ? why U Send to me that , i don't Understand AnyThing , so , Can u Explain yourself ?

Cause all Tutorials/Wiki-samp Are Hard and Bad Bad Explained.
watch you are saying...
Just because your mind-lazy doesn't mean all the documents trying to help people like you are bad.


Re: Add Timer Betwen Each Report? - Babul - 08.10.2011

@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.


Re: Add Timer Betwen Each Report? - Scenario - 08.10.2011

Quote:
Originally Posted by Saw®
Посмотреть сообщение
Reported
BTW : why whene u insulte Some one u say Kid ? Kid are Good than U.
You submitted a false report and now, instead of me getting in trouble you will.


Re: Add Timer Betwen Each Report? - Saw® - 12.02.2013

Wrong Message...