[Ajuda] Chave a mais, chave a menos.. nгo sei. e.e
#4

PHP код:
if(strcmp(cmd,"/roubar",true)==0

    if(
PlayerInfo[playerid][pMembro] != && PlayerInfo[playerid][pLider] != 
    
&& PlayerInfo[playerid][pMembro] != 14 && PlayerInfo[playerid][pLider] != 14 
    
&& PlayerInfo[playerid][pMembro] != 17 && PlayerInfo[playerid][pLider] != 17 
    
&& PlayerInfo[playerid][pMembro] != 18 && PlayerInfo[playerid][pLider] != 18 
    
&& PlayerInfo[playerid][pMembro] != 19 && PlayerInfo[playerid][pLider] != 19 
    
&& PlayerInfo[playerid][pMembro] != 20 && PlayerInfo[playerid][pLider] != 20 
    
&& PlayerInfo[playerid][pMembro] != 21 && PlayerInfo[playerid][pLider] != 21 
    
&& GetPlayerOrg(playerid) != && GetPlayerOrg(playerid) != 12 
    
&& GetPlayerOrg(playerid) != 13    && GetPlayerOrg(playerid) != 15 
    
&& GetPlayerOrg(playerid) != 23
    { 
        
SendClientMessage(playerid,COLOR_GREY,"Vocк nгo pode assaltar !"); 
        return 
true
    } 
    if(
roubando[playerid] == 1
    { 
        
SendClientMessage(playeridCOLOR_GRAD5"Vocк ja estб roubando algum lugar."); 
        return 
true
    } 
    if(
PlayerToPoint(2.0,playerid2144.4177,1641.5360,993.5761)) 
    { 
        if(
roubobanco == 1
        { 
            
SendClientMessage(playeridCOLOR_GRAD5"Jб estб tendo uma tentativa de roubo nesse cofre."); 
            return 
true
        } 
        if(
temporoubobanco == 1
        { 
            
SendClientMessage(playerid,COLOR_GREY,"Jб roubaram o cofre do banco espere 3 minutos para roubar de novo !"); 
            return 
true
        } 
        
GetPlayerName(playeridplayernameMAX_PLAYER_NAME); 
        
SendClientMessageToAll(COLOR_WHITE"(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=({FFD700}Assalto ao Banco{BFC0C2})=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)"); 
        
format(stringsizeof(string), "%s e os %s estгo tentando roubar o cofre banco! ID:[%d]"playernameNomeORG(playerid) , playerid); 
        
SendClientMessageToAll(GetPlayerColor(playerid), string); 
        
SendClientMessage(playeridCOLOR_GRAD5"Espere 40 segundos para terminar de roubar o banco."); 
        
SetPlayerCriminal(playerid,255"Tentativa de Roubo ao Banco"); 
        
roubando[playerid] = 1
        
ProvocoBanco[playerid] = 1
        
roubobanco 1
        
temporoubobanco 1
        
Controle(playerid0); 
        
SetPlayerPos(playerid2144.3711,1641.4792,993.5761); 
        
SetPlayerFacingAngle(playerid,1.2666); 
        
SetTimer("Aroubo"2200000); 
        
SetTimerEx("AnimRouboBanco"9000"i"playerid); 
        
ApplyAnimation(playerid"ROB_BANK""CAT_Safe_Rob"4.010010); 
        
tempobanco SetTimerEx("RouboBanco"400000"i"playerid); 
        
SetPlayerAttachedObject(playerid0155010.000000, -0.3136110.0210030.44549086.754409355.3702390.9268151.0000001.000000); 
        
SetTimerEx("AcabarMochila"1200000"i"playerid); 
        return 
true
    } 
    else if(
PlayerToPoint(2.0,playerid,820.6042,8.3990,1004.1962)) 
    { 
        if(
roubolot == 1
        { 
            
SendClientMessage(playeridCOLOR_GRAD5"Jб estб tendo uma tentativa de roubo nesse cofre."); 
            return 
true
        } 
        if(
temporoubolot == 1
        { 
            
SendClientMessage(playerid,COLOR_GREY,"Jб roubaram o cofre da Lotйrica espere 3 minutos para roubar de novo !"); 
            return 
true
        } 
        
GetPlayerName(playeridplayernameMAX_PLAYER_NAME); 
        
SendClientMessageToAll(COLOR_WHITE"(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=({FFD700}Assalto а Lotйrica{BFC0C2})=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)"); 
        
format(stringsizeof(string), "%s e os %s estгo tentando roubar o cofre da Lotйrica! ID:[%d]"playernameNomeORG(playerid) , playerid); 
        
SendClientMessageToAll(GetPlayerColor(playerid), string); 
        
SendClientMessage(playeridCOLOR_GRAD5"Espere 40 segundos para terminar de roubar a Lotйrica."); 
        
SetPlayerCriminal(playerid,255"Tentativa de Roubo a Lotйrica"); 
        
roubando[playerid] = 1
        
ProvocoLot[playerid] = 1
        
roubolot 1
        
temporoubolot 1
        
Controle(playerid0); 
        
SetPlayerPos(playerid820.9382,8.4020,1004.1957); 
        
SetPlayerFacingAngle(playerid,91.2409); 
        
SetTimer("Aroubo2"2200000); 
        
tempolot SetTimerEx("RouboLot"400000"i"playerid); 
        
SetTimerEx("AnimRouboLot"9000"i"playerid); 
        
ApplyAnimation(playerid"ROB_BANK""CAT_Safe_Rob"4.010010); 
        
SetPlayerAttachedObject(playerid0155010.000000, -0.3136110.0210030.44549086.754409355.3702390.9268151.0000001.000000); 
        
SetTimerEx("AcabarMochila"1200000"i"playerid); 
        return 
true
    } 
    else if(
PlayerToPoint(2.0,playerid,303.9740,-168.8060,999.5938)) 
    { 
        if(
rouboloja1 == 1
        { 
            
SendClientMessage(playeridCOLOR_GRAD5"Jб estб tendo uma tentativa de roubo nessa loja."); 
            return 
true
        } 
        if(
temporouboloja1 == 1
        { 
            
SendClientMessage(playerid,COLOR_GREY,"Jб roubaram a Loja de Armas 1 espere 3 minutos para roubar de novo !"); 
            return 
true
        } 
        
GetPlayerName(playeridplayernameMAX_PLAYER_NAME); 
        
SendClientMessageToAll(COLOR_WHITE"(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=({FFD700}Assalto а Loja de Armas{BFC0C2})=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)"); 
        
format(stringsizeof(string), "%s e os %s estгo tentando roubar a Loja de Armas 1! ID:[%d]"playernameNomeORG(playerid) , playerid); 
        
SendClientMessageToAll(GetPlayerColor(playerid), string); 
        
SendClientMessage(playeridCOLOR_GRAD5"Espere 40 segundos para terminar de roubar a Loja de Armas 1."); 
        
SetPlayerCriminal(playerid,255"Tentativa de Roubo a Loja de Armas 1"); 
        
roubando[playerid] = 1
        
ProvocoLoja1[playerid] = 1
        
rouboloja1 1
        
temporouboloja1 1
        
Controle(playerid0); 
        
SetPlayerPos(playerid303.9886,-169.0725,999.5938); 
        
SetPlayerFacingAngle(playerid,178.6149); 
        
SetTimer("Aroubo3"2200000); 
        
tempoloja1 SetTimerEx("RouboLoja1"400000"i"playerid); 
        
SetTimerEx("AnimRouboLoja"9000"i"playerid); 
        
ApplyAnimation(playerid"ROB_BANK""CAT_Safe_Rob"4.010010); 
        
SetPlayerAttachedObject(playerid0155010.000000, -0.3136110.0210030.44549086.754409355.3702390.9268151.0000001.000000); 
        
SetTimerEx("AcabarMochila"1200000"i"playerid); 
        return 
true
    } 
    else if(
PlayerToPoint(2.0,playerid,294.8272,-57.8448,1001.5156)) 
    { 
        if(
rouboloja2 == 1
        { 
            
SendClientMessage(playeridCOLOR_GRAD5"Jб estб tendo uma tentativa de roubo nessa loja."); 
            return 
true
        } 
        if(
temporouboloja2 == 1
        { 
            
SendClientMessage(playerid,COLOR_GREY,"Jб roubaram a Ammu Nation espere 3 minutos para roubar de novo !"); 
            return 
true
        } 
        
GetPlayerName(playeridplayernameMAX_PLAYER_NAME); 
        
SendClientMessageToAll(COLOR_WHITE"(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=({FFD700}Assalto а Ammu Nation{BFC0C2})=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)"); 
        
format(stringsizeof(string), "%s e os %s estгo tentando roubar a Ammu Nation! ID:[%d]"playernameNomeORG(playerid) , playerid); 
        
SendClientMessageToAll(GetPlayerColor(playerid), string); 
        
SendClientMessage(playeridCOLOR_GRAD5"Espere 40 segundos para terminar de roubar a Ammu Nation."); 
        
SetPlayerCriminal(playerid,255"Tentativa de Roubo a Ammu Nation"); 
        
roubando[playerid] = 1
        
ProvocoLoja2[playerid] = 1
        
rouboloja2 1
        
temporouboloja2 1
        
Controle(playerid0); 
        
SetPlayerPos(playerid294.8029,-57.8727,1001.5156); 
        
SetPlayerFacingAngle(playerid,356.5900); 
        
SetTimer("Aroubo4"2200000); 
        
tempoloja2 SetTimerEx("RouboLoja2"400000"i"playerid); 
        
SetTimerEx("AnimRouboAmmu"9000"i"playerid); 
        
ApplyAnimation(playerid"ROB_BANK""CAT_Safe_Rob"4.010010); 
        
SetPlayerAttachedObject(playerid0155010.000000, -0.3136110.0210030.44549086.754409355.3702390.9268151.0000001.000000); 
        
SetTimerEx("AcabarMochila"1200000"i"playerid); 
        return 
true
    } 
    
//========== BINCO ================================================================================== 
    
else if(PlayerToPoint(2.0,playerid,211.3917,-96.1839,1005.2578)) 
    { 
        if(
roubobinco == 1
        { 
            
SendClientMessage(playeridCOLOR_GRAD5"Jб estб tendo uma tentativa de roubo nessa Loja de Roupas."); 
            return 
true
        } 
        if(
temporoubobinco == 1
        { 
            
SendClientMessage(playerid,COLOR_GREY,"Jб roubaram a Binco espere 3 minutos para roubar de novo !"); 
            return 
true
        } 
        
GetPlayerName(playeridplayernameMAX_PLAYER_NAME); 
        
SendClientMessageToAll(COLOR_WHITE"(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=({FFD700}Assalto а Binco{BFC0C2})=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)"); 
        
format(stringsizeof(string), "%s e os %s estгo tentando roubar a Binco ! ID:[%d]"playernameNomeORG(playerid) , playerid); 
        
SendClientMessageToAll(GetPlayerColor(playerid), string); 
        
SendClientMessage(playeridCOLOR_GRAD5"Espere 40 segundos para terminar de roubar a Binco."); 
        
SetPlayerCriminal(playerid,255"Tentativa de Roubo a Loja de Roupas"); 
        
roubando[playerid] = 1
        
ProvocoBinco[playerid] = 1
        
roubobinco 1
        
temporoubobinco 1
        
Controle(playerid0); 
        
SetPlayerPos(playerid211.3817,-96.1272,1005.2578); 
        
SetPlayerFacingAngle(playerid,2.5667); 
        
SetTimer("Aroubo6"2200000); 
        
tempobinco SetTimerEx("RouboBinco"400000"i"playerid); 
        
SetTimerEx("AnimRouboBinco"9000"i"playerid); 
        
ApplyAnimation(playerid"ROB_BANK""CAT_Safe_Rob"4.010010); 
        
SetPlayerAttachedObject(playerid0155010.000000, -0.3136110.0210030.44549086.754409355.3702390.9268151.0000001.000000); 
        
SetTimerEx("AcabarMochila"1200000"i"playerid); 
        return 
true
    } 
    
//================= ZIP ========================================================================= 
    
else if(PlayerToPoint(2.0,playerid,162.1060,-79.8251,1001.8047)) 
    { 
        if(
roubozip == 1
        { 
            
SendClientMessage(playeridCOLOR_GRAD5"Jб estб tendo uma tentativa de roubo nessa Loja de Roupas."); 
            return 
true
        } 
        if(
temporoubozip == 1
        { 
            
SendClientMessage(playerid,COLOR_GREY,"Jб roubaram a Zip espere 3 minutos para roubar de novo !"); 
            return 
true
        } 
        
GetPlayerName(playeridplayernameMAX_PLAYER_NAME); 
        
SendClientMessageToAll(COLOR_WHITE"(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=({FFD700}Assalto а Zip{BFC0C2})=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)"); 
        
format(stringsizeof(string), "%s e os %s estгo tentando roubar a Zip ! ID:[%d]"playernameNomeORG(playerid) , playerid); 
        
SendClientMessageToAll(GetPlayerColor(playerid), string); 
        
SendClientMessage(playeridCOLOR_GRAD5"Espere 40 segundos para terminar de roubar a Zip."); 
        
SetPlayerCriminal(playerid,255"Tentativa de Roubo a Loja de Roupas"); 
        
roubando[playerid] = 1
        
ProvocoZip[playerid] = 1
        
roubozip 1
        
temporoubozip 1
        
Controle(playerid0); 
        
SetPlayerPos(playerid162.1254,-79.7925,1001.8047); 
        
SetPlayerFacingAngle(playerid,269.5058); 
        
SetTimer("Aroubo7"2200000); 
        
tempozip SetTimerEx("RouboZip"400000"i"playerid); 
        
SetTimerEx("AnimRouboZip"9000"i"playerid); 
        
ApplyAnimation(playerid"ROB_BANK""CAT_Safe_Rob"4.010010); 
        
SetPlayerAttachedObject(playerid0155010.000000, -0.3136110.0210030.44549086.754409355.3702390.9268151.0000001.000000); 
        
SetTimerEx("AcabarMochila"1200000"i"playerid); 
        return 
true
    } 
    
//================= VICTIM ========================================================================= 
    
else if(PlayerToPoint(2.0,playerid,205.4029,-11.5629,1005.2109)) 
    { 
        if(
roubovictim == 1
        { 
            
SendClientMessage(playeridCOLOR_GRAD5"Jб estб tendo uma tentativa de roubo nessa Loja de Roupas."); 
            return 
true
        } 
        if(
temporoubovictim == 1
        { 
            
SendClientMessage(playerid,COLOR_GREY,"Jб roubaram a Victim espere 3 minutos para roubar de novo !"); 
            return 
true
        } 
        
GetPlayerName(playeridplayernameMAX_PLAYER_NAME); 
        
SendClientMessageToAll(COLOR_WHITE"(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=({FFD700}Assalto а Victim{BFC0C2})=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)"); 
        
format(stringsizeof(string), "%s e os %s estгo tentando roubar a Victim ! ID:[%d]"playernameNomeORG(playerid) , playerid); 
        
SendClientMessageToAll(GetPlayerColor(playerid), string); 
        
SendClientMessage(playeridCOLOR_GRAD5"Espere 40 segundos para terminar de roubar a Victim."); 
        
SetPlayerCriminal(playerid,255"Tentativa de Roubo a Loja de Roupas"); 
        
roubando[playerid] = 1
        
ProvocoVictim[playerid] = 1
        
roubovictim 1
        
temporoubovictim 1
        
Controle(playerid0); 
        
SetPlayerPos(playerid205.4959,-11.5585,1005.2109); 
        
SetPlayerFacingAngle(playerid,90.3009); 
        
SetTimer("Aroubo8"2200000); 
        
SetTimerEx("AnimRouboVictim"9000"i"playerid); 
        
ApplyAnimation(playerid"ROB_BANK""CAT_Safe_Rob"4.010010); 
        
SetPlayerAttachedObject(playerid0155010.000000, -0.3136110.0210030.44549086.754409355.3702390.9268151.0000001.000000); 
        
SetTimerEx("AcabarMochila"1200000"i"playerid); 
        return 
true
    }

Reply


Messages In This Thread
Chave a mais, chave a menos.. nгo sei. e.e - by duuuwh - 15.11.2012, 14:50
Re: Chave a mais, chave a menos.. nгo sei. e.e - by Q.I - 15.11.2012, 15:00
Re: Chave a mais, chave a menos.. nгo sei. e.e - by duuuwh - 15.11.2012, 15:02
Re: Chave a mais, chave a menos.. nгo sei. e.e - by Emerson.PWN - 15.11.2012, 15:04
Re: Chave a mais, chave a menos.. nгo sei. e.e - by Q.I - 15.11.2012, 15:04
Re: Chave a mais, chave a menos.. nгo sei. e.e - by humildadeforever - 15.11.2012, 15:09
Re: Chave a mais, chave a menos.. nгo sei. e.e - by duuuwh - 15.11.2012, 15:25
Re: Chave a mais, chave a menos.. nгo sei. e.e - by MatheusAlcapone - 15.11.2012, 15:58

Forum Jump:


Users browsing this thread: 1 Guest(s)