09.01.2014, 12:20
pawn Код:
new CANNON_WAIT[MAX_PLAYERS];
// When going to shoot again you need to check
if (CANNON_WAIT[playerid] >= gettime())
return SendClientMessage(playerid, -1, "Oh fuck, not so fast.");
// When shot set 5 seconds so when he is going to shot within 5s ^^^ prevent it.
CANNONT_WAIT[playerid] = (gettime() + 5);