05.08.2016, 13:37
Check if the player's is admin inside the if statement about faction >= 0
pawn Код:
if (pData[playerid][pFaction] >= 0)
{
format(str, sizeof(str), "%sList %s's Members\n", str, fData[pData[playerid][pFaction]][fName]);
if (pData[playerid][pFactionRank] >= fData[pData[playerid][pFaction]][fManageRank])
{
format(str, sizeof(str), "%sManage %s's Members\n", str, fData[pData[playerid][pFaction]][fName]);
}
if (pData[playerid][pAdmin] > 1)
{
format(str, sizeof(str), "%sCreate Faction\nEdit Faction", str, fData[pData[playerid][pFaction]][fName]);
}
}