06.12.2012, 19:39
https://sampforum.blast.hk/showthread.php?tid=55261 - Read this.
---
Now to your problem.
Simply use SetTimerEx:
Then make your timer callback:
---
Now to your problem.
Simply use SetTimerEx:
pawn Code:
SetTimerEx("muteTimer", 60*1000, false, "i", playerid); //60*1000 = 1 minute
pawn Code:
forward muteTimer(playerid);
public muteTimer(playerid)
{
muted[playerid] = 0;
return SendClientMessage(playerid, 0x00FF0000, "You are no longer muted.");
}