27.07.2011, 22:28
Act something like this:
You could also make it using PVars since this data isn't often accessed.
pawn Код:
new lastRobbed[MAX_PLAYERS];
// in the command
if(GetTickCount() - lastRobbed[playerid] < 120 * 1000)
return SendClientMessage(playerid, COLOR, "You must wait 2 minutes before robbing again!");
lastRobbed[playerid] = GetTickCount();

