02.03.2011, 11:45
You should use GetTickCount()
At the start of the command:
It's something like this.
pawn Код:
new EquipTickCount[MAX_PLAYERS];
pawn Код:
EquipTickCount[playerid] = GetTickCount();
if(GetTickCount()-EquipTickCount[playerid] < 600000/*I think it's 10 minutes*/) return /*ERROR MESSAGE*/;