/mute Command
#2

https://sampforum.blast.hk/showthread.php?tid=55261 - Read this.

---

Now to your problem.
Simply use SetTimerEx:

pawn Code:
SetTimerEx("muteTimer", 60*1000, false, "i", playerid); //60*1000 = 1 minute
Then make your timer callback:

pawn Code:
forward muteTimer(playerid);
public muteTimer(playerid)
{
    muted[playerid] = 0;
    return SendClientMessage(playerid, 0x00FF0000, "You are no longer muted.");
}
Reply


Messages In This Thread
/mute Command - by MikeMike1997 - 06.12.2012, 19:33
Re: /mute Command - by LarzI - 06.12.2012, 19:39
Re: /mute Command - by MikeMike1997 - 06.12.2012, 19:47
Re: /mute Command - by Konstantinos - 06.12.2012, 19:49
Re: /mute Command - by MikeMike1997 - 06.12.2012, 20:54
Re: /mute Command - by LarzI - 06.12.2012, 21:27
Re: /mute Command - by MikeMike1997 - 07.12.2012, 14:46

Forum Jump:


Users browsing this thread: 1 Guest(s)