[Ajuda] Tunar o Carro
#2

Mude apenas este cуdigo:
pawn Код:
if(strcmp(cmd, "/tunar", true) == 0)
    {
        new org = GetPlayerOrg(playerid);
        if(org != 25 && org != 28) return SendClientMessage(playerid, COLOR_GRAD2, "Vocк nгo й dos Drifters ou Racers");
        {
            if(!PlayerToPoint(5.0,playerid,833.0647,-2055.8433,12.9073) && !PlayerToPoint(5.0,playerid,1058.8296,-877.0164,43.5195))
            {
                SendClientMessage(playerid, COLOR_GRAD2, "Vocк nгo estб no tunning");
                return true;
            }
             new playerstate = GetPlayerState(playerid);
             if(playerstate == PLAYER_STATE_DRIVER || playerstate == PLAYER_STATE_PASSENGER)
             {
                   return ShowPlayerDialog(playerid, 26547, DIALOG_STYLE_LIST, "Menu Tunning","Reparar Veiculo\nAuto Tunar\nTunning Personalizado\nInstalar Neon\nInstalar Nitro", "Selecionar", "Sair");
             }
             else
              {
                   return SendClientMessage(playerid, 0xADADADAA, "** Vocк nгo estб em um veiculo!");
            }
        }
    }
Por este:
pawn Код:
if(strcmp(cmd, "/tunar", true) == 0)
    {
        if(!PlayerToPoint(5.0,playerid,833.0647,-2055.8433,12.9073) && !PlayerToPoint(5.0,playerid,1058.8296,-877.0164,43.5195))
        {
            SendClientMessage(playerid, COLOR_GRAD2, "Vocк nгo estб no tunning");
            return true;
        }
        new playerstate = GetPlayerState(playerid);
        if(playerstate == PLAYER_STATE_DRIVER || playerstate == PLAYER_STATE_PASSENGER)
        {
            return ShowPlayerDialog(playerid, 26547, DIALOG_STYLE_LIST, "Menu Tunning","Reparar Veiculo\nAuto Tunar\nTunning Personalizado\nInstalar Neon\nInstalar Nitro", "Selecionar", "Sair");
        }
        else
        {
            return SendClientMessage(playerid, 0xADADADAA, "** Vocк nгo estб em um veiculo!");
        }
    }
Reply


Messages In This Thread
Tunar o Carro - by zGuigui2068 - 23.09.2014, 02:35
Re: Tunar o Carro - by DavidCosta - 23.09.2014, 19:01
Re: Tunar o Carro - by zGuigui2068 - 24.09.2014, 15:40

Forum Jump:


Users browsing this thread: 1 Guest(s)