04.10.2015, 16:21
pawn Код:
COMMAND:suggest(playerid, params[])
{
SetTimer("message", (1000 * 60 * 5), false);
return 1;
}
forward message();
public message()
{
print("1 second has passed.");
}
If you are going to make that timer set a variable to 0 (false) so that you are able to use the command again then use timestamps instead. Over-check: https://sampforum.blast.hk/showthread.php?tid=254915.