Filterscript + Script, Possible to combine?
#4

In your filterscript:
pawn Код:
forward _IsPlayerMuted(playerid);

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)