10.12.2009, 20:18
In your filterscript:
In your gamemode:
I got this from my head, i haven't tested it.
pawn Код:
forward _IsPlayerMuted(playerid);
public _IsPlayerMuted(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][Muted] == 1) return true;
return false;
}
return false;
}
pawn Код:
stock IsPlayerMuted(playerid)
{
CallRemoteFunction("_IsPlayerMuted", "i", playerid);
}