[Ajuda] set
#4

Coloque no seu gamemode essa public:
pawn Код:
forward CheckIfPlayerIsAdmin(playerid);
public CheckIfPlayerIsAdmin(playerid)
{
    if(aInfo[playerid][Admin] == 1)
        return true;
    else
        return false;
}
E onde tiver if(IsPlayerAdmin(playerid)) no Filterscript substitua por:

pawn Код:
if(CallRemoteFunction("CheckIfPlayerIsAdmin", "d", playerid))
Veja se funciona corretamente.
Reply


Messages In This Thread
set - by Mackanor - 09.12.2018, 18:53
Re: set - by ipsLuan - 09.12.2018, 18:58
Re: set - by SmokeKiLL - 10.12.2018, 03:19
Re: set - by willttoonn - 10.12.2018, 10:57

Forum Jump:


Users browsing this thread: 2 Guest(s)