Thread: [Tutorial] Mute & Unmute commands
View Single Post
Old 03/05/2018, 06:43 PM   #6
CrystalGamer
Banned
 
Join Date: Apr 2018
Posts: 52
Reputation: 2
Default Re: Mute & Unmute commands

nezo you must killtimer on public unmute, otherwise timer wont make u unmute

EDIT: like

Code:
forward Unmute(playerid);
public Unmute(playerid)
{
muted[playerid] = false; 
KillTimer(Unmute(playerid));
SendClientMessage(playerid, color, "Server unmuted you automatically");
return 1;
}
CrystalGamer is offline   Reply With Quote