Faction's HQ lock not working.
#8

Код:
  if(strcmp(cmd, "/unlockhq", true) == 0)
    {
        new fam = PlayerInfo[playerid][pMember];
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pMember] <= 6)
            {
                return 1;
            }
            if(FamilyInfo[fam][FamilyLocked] == 0)
            {
                FamilyInfo[fam][FamilyLocked] = 0;
                SendClientMessage(playerid,COLOR_GREY,"HQ Unlocked.");
            }
        }
        return 1;
    }
This should do it I think..
Reply


Messages In This Thread
Faction's HQ lock not working. - by jaami - 19.04.2012, 11:05
Re: Faction's HQ lock not working. - by jaami - 19.04.2012, 13:21
Re: Faction's HQ lock not working. - by SuperViper - 19.04.2012, 14:24
Re: Faction's HQ lock not working. - by jaami - 19.04.2012, 15:19
Re: Faction's HQ lock not working. - by nilanjay - 19.04.2012, 15:58
Re: Faction's HQ lock not working. - by jaami - 19.04.2012, 18:33
Re: Faction's HQ lock not working. - by jaami - 20.04.2012, 02:43
Re: Faction's HQ lock not working. - by Derek_Westbrook - 20.04.2012, 06:46

Forum Jump:


Users browsing this thread: 1 Guest(s)