[DUV]Pq n domina?
#4

Ai ta definido sу pra pm dominar, posta continuaзao disso ai, mais em baixo deve ter definido pra outras orgs, como a mafia que ja consegue dominar, tu pega e copia por exemplo o da pm, cola mais em baixo e muda o
Код:
if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)// PM
pro numero da org, por exemplo
Код:
if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)//Costuma ser rotam no thug ..
sacou ?


@

Код:
	 if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)// rotam
    {
        if(IsPlayerInMorro(playerid))
            {
                if(Dominando[playerid] == 1)
                {
                   SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
                return 1;
                }
                if(GuerranoMorro == 1)
                {
                   SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
                return 1;
                }
                if(donomorro == 6) //akie
                {
                SendClientMessage(playerid, COLOR_GRAD5, "Este territуrio ja esta sob seu comando.");
                return 1;
                }
                GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
               format(string, sizeof(string), "%s e a ROTAM estгo dominando o Morro!",playername);
					SendClientMessageToAll(COP_COLOR, string);
                SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, todas as gangues foram avisadas!");
                SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para recuperar esta area .");
                GangZoneFlashForAll(GZMorro,COP_COLOR);
                Dominando[playerid] = 1;
                ProvocoMorro[playerid] = 1;
                GuerranoMorro = 1;
                TempoGuerraMorro = SetTimerEx("GuerraMorro", 60000, 0, "i", playerid);
                return 1;
            }
             if(IsPlayerInSkate(playerid))
            {
                if(Dominando[playerid] == 1)
                {
                   SendClientMessage(playerid, COLOR_GRAD5, "Vocк ja estб dominando um territorio.");
                return 1;
                }
                if(GuerranoSkate == 1)
                {
                   SendClientMessage(playerid, COLOR_GRAD5, "Jб estб tendo uma guerra nesse territorio.");
                return 1;
                }
                if(donoskate == 6) //tijoka
                {
                SendClientMessage(playerid, COLOR_GRAD5, "Este territуrio ja esta sob seu comando.");
                return 1;
                }
                GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
                 format(string, sizeof(string), "%s e a ROTAM estгo dominando a Pista de Skate!",playername);
					SendClientMessageToAll(COP_COLOR, string);
                SendClientMessage(playerid, COLOR_GRAD3, "Fique esperto, todas as gangues foram avisadas!");
                SendClientMessage(playerid, COLOR_GRAD5, "Espere 1 minuto para recuperar esta area .");
                GangZoneFlashForAll(GZSkate,COP_COLOR);
                Dominando[playerid] = 1;
                ProvocoSkate[playerid] = 1;
                GuerranoSkate = 1;
                TempoGuerraSkate = SetTimerEx("GuerraSkate", 60000, 0, "i", playerid);
                return 1;
            }

            				else
				{
				SendClientMessage(playerid, COLOR_GRAD3, "Vocк nгo estб em nenhum territуrio!");
				}
				return 1;
      }
deu pra intender ?
Reply


Messages In This Thread
[DUV]Pq n domina? - by Vanderson - 22.12.2010, 16:17
Re: [DUV]Pq n domina? - by [FeK]Netizen - 22.12.2010, 16:43
Re: [DUV]Pq n domina? - by Vanderson - 22.12.2010, 17:15
Re: [DUV]Pq n domina? - by Pierox_ - 23.12.2010, 02:41

Forum Jump:


Users browsing this thread: 2 Guest(s)