Filterscript + Script, Possible to combine?
#6

You could, it's the same as the example i gave you before.

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

public _IsPlayerVIP(playerid)
{
  if(IsPlayerConnected(playerid))
  {
    // or whatever you use to check if player is VIP.
    if(PlayerInfo[playerid][VIP] == 1) return true;
    return false;
  }
  return false;
}
In your gamemode:
pawn Код:
stock IsPlayerVIP(playerid)
{
  CallRemoteFunction("_IsPlayerVIP", "i", playerid);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)