Quote:
Originally Posted by Norn
pawn Код:
new ReportCheck[MAX_PLAYERS]; // Global // Inside report command: new current_time = gettime(); if(!ReportCheck[playerid] || ReportCheck[playerid] >= current_time + 15) { ReportCheck[playerid] = current_time; // The report code in here } else { // Send message telling the user that he has to wait 15 seconds. }
|
Thank you that helped me alot
![Smiley](images/smilies/smile.png)
++ rep.