[Ajuda] Comando /TRabalhar nao funciona.
#1

NA hora que do /trabalhar nao funciona, nao fica como admin oque eu faзo?

PHP код:
if(dialogid == EVENTOS)
    {
        if(
response)
        {
                if(
listitem == 0)
                {
                    if(
IsPlayerConnected(playerid))
                    {
                        if(
PlayerInfo[playerid][pAdmin] >= 3)
                        {
                            if(
admtrampando[playerid] < && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342)
                            {
                                
SendClientMessage(playeridCOLOR_GRAD1"Vocк nгo estб trabalhando! (/trabalhar)");
                                return 
1;
                            }
                            new 
eventos[256];
                            new 
AdminName[MAX_PLAYER_NAME];
                            
GetPlayerPos(playeridtrazerxtrazerytrazerz);
                            for(new 
i=0i<MAX_PLAYERSi++)
                            {
                                if(
IsPlayerConnected(i))
                                {
                                     
TrazerRally[i] = 1;
                                    
OnTrazerRally 1;
                                    
format(eventossizeof(eventos),"O Admin %s estб chamando todos para um evento de Rally!\nVai ir ?",AdminName);
                                    
ShowPlayerDialog(i,  5426DIALOG_STYLE_MSGBOX"Evento Criado"eventos"Sim""Nгo");
                                }
                            }
                            if(
TrazerRally[playerid] == 1)
                            {
                                
SetPlayerPos(playerid, -2390.8176,-2203.0850,33.2891);
                                
SendClientMessage(playerid ,COLOR_LIGHTRED"Evento Criado!");
                                   
TrazerRally[playerid] = 0;
                                   return 
1;
                            }
                            if(
OnTrazerKart == || OnTrazer == || OnTrazerRally == || OnTrazerX1 == 1)
                            {
                                
SendClientMessage(playerid ,COLOR_GREY"Jб estб havendo um evento espere terminar!");
                                return 
1;
                            }
                            return 
1;
                        }
                        return 
1;
                    }
                }
                if(
listitem == 1)
                {
                    if(
IsPlayerConnected(playerid))
                    {
                        if(
PlayerInfo[playerid][pAdmin] >= 3)
                        {
                            if(
admtrampando[playerid] < && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342)
                            {
                                
SendClientMessage(playeridCOLOR_GRAD1"Vocк nгo estб trabalhando! (/trabalhar)");
                                return 
1;
                            }
                            new 
eventos[256];
                            new 
AdminName[MAX_PLAYER_NAME];
                            for(new 
i=0i<MAX_PLAYERSi++)
                            {
                                if(
IsPlayerConnected(i))
                                {
                                    
TrazerKart[i] = 1;
                                    
OnTrazerKart 1;
                                    
format(eventossizeof(eventos),"O Admin %s estб chamando todos para um evento de Kart!\nVai ir ?",AdminName);
                                    
ShowPlayerDialog(i,  5427DIALOG_STYLE_MSGBOX"Evento Criado"eventos"Sim""Nгo");
                                }
                            }
                            if(
TrazerKart[playerid] == 1)
                            {
                                
SetPlayerPos(playerid,-2415.3999,2219.0083,4.9844);
                                
SendClientMessage(playerid ,COLOR_LIGHTRED"Evento Criado!");
                                   
TrazerKart[playerid] = 0;
                                   
Limite26 0;
                                   return 
1;
                            }
                            if(
OnTrazerKart == || OnTrazer == || OnTrazerRally == || OnTrazerX1 == 1)
                            {
                                
SendClientMessage(playerid ,COLOR_GREY"Jб estб havendo um evento espere terminar!");
                                return 
1;
                            }
                            return 
1;
                        }
                        return 
1;
                    }
                }
                if(
listitem == 2)
                {
                    if(
IsPlayerConnected(playerid))
                    {
                        if(
PlayerInfo[playerid][pAdmin] >= 3)
                        {
                            if(
admtrampando[playerid] < && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342)
                            {
                                
SendClientMessage(playeridCOLOR_GRAD1"Vocк nгo estб trabalhando! (/trabalhar)");
                                return 
1;
                            }
                            new 
eventos[256];
                            new 
AdminName[MAX_PLAYER_NAME];
                               
GetPlayerPos(playeridtrazerxtrazerytrazerz);
                            for(new 
i=0i<MAX_PLAYERSi++)
                            {
                                if(
IsPlayerConnected(i))
                                {
                                    
TrazerTodosX1[i] = 1;
                                    
OnTrazerX1 1;
                                    
format(eventossizeof(eventos),"O Admin %s estб chamando todos para um evento de X1!\nVai ir ?",AdminName);
                                    
ShowPlayerDialog(i,  5424DIALOG_STYLE_MSGBOX"Evento Criado"eventos"Sim""Nгo");
                                }
                            }
                            if(
TrazerTodosX1[playerid] == 1)
                            {
                                
SetPlayerPos(playerid,-2326.8809,-1636.9822,483.7031);
                                
SendClientMessage(playerid ,COLOR_LIGHTRED"Evento Criado!");
                                   
TrazerTodosX1[playerid] = 0;
                                   return 
1;
                            }
                            if(
OnTrazerX1 == 1)
                            {
                                
SendClientMessage(playerid ,COLOR_GREY"Jб estб havendo um evento espere ele terminar!");
                                return 
1;
                            }
                            return 
1;
                        }
                        return 
1;
                    }
                }
                if(
listitem == 3)
                {
                    if(
IsPlayerConnected(playerid))
                    {
                        if(
PlayerInfo[playerid][pAdmin] >= 3)
                            {
                                if(
admtrampando[playerid] < && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342)
                                {
                                    
SendClientMessage(playeridCOLOR_GRAD1"Vocк nгo estб trabalhando! (/trabalhar)");
                                    return 
1;
                                }
                                new 
eventos[256];
                                new 
AdminName[MAX_PLAYER_NAME];
                                   
GetPlayerPos(playeridtrazerxtrazerytrazerz);
                                for(new 
i=0i<MAX_PLAYERSi++)
                                {
                                    if(
IsPlayerConnected(i))
                                    {
                                        
TrazerCorrida[i] = 1;
                                        
OnTrazerCorrida 1;
                                        
format(eventossizeof(eventos),"O Admin %s estб chamando todos para um evento de Corrida!\nVai ir ?",AdminName);
                                        
ShowPlayerDialog(i,  5428DIALOG_STYLE_MSGBOX"Evento Criado"eventos"Sim""Nгo");
                                    }
                                }
                                if(
TrazerCorrida[playerid] == 1)
                                {
                                    
SetPlayerPos(playerid,1496.0188,1760.1008,10.8125);
                                    
SendClientMessage(playerid ,COLOR_LIGHTRED"Evento Criado!");
                                       
TrazerCorrida[playerid] = 0;
                                       return 
1;
                                }
                                if(
OnTrazerCorrida == 1)
                                {
                                    
SendClientMessage(playerid ,COLOR_GREY"Jб estб havendo um evento espere ele terminar!");
                                    return 
1;
                                }
                                return 
1;
                            }
                        }
                    }
                }
            } 
Reply
#2

O que tem a ver o /trabalhar comos eventos ?
Reply
#3

Num sei eu peguei esse gm na net
Reply
#4

Quote:
Originally Posted by Pablo_Seven
Посмотреть сообщение
Num sei eu peguei esse gm na net
kkk ai meu deus nem vc sabe o que quer fazere
Reply
#5

Que naao...
Eu copiei o comando /trabalhar todo do geito que ta no gm...
To querendo sabe oque eu posso fazer pra Conseguir /trabalhar porque nao ta funcionando parece que o comando e inexistente.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)