10.12.2009, 20:22
You could, it's the same as the example i gave you before.
In your filterscript:
In your gamemode:
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;
}
pawn Код:
stock IsPlayerVIP(playerid)
{
CallRemoteFunction("_IsPlayerVIP", "i", playerid);
}