[Ajuda] Simples
#3

Quote:
Originally Posted by Pedro_Miranda
Посмотреть сообщение
pawn Код:
if(!strcmp(cmdtext, "/veh", true))
{
    if(PlayerInfo[playerid][pAdmin] < 1)
        return SendClientMessage(playerid,VERMELHO,"[Erro] Vocк nгo tem permissгo para usar este comando.");

    ShowPlayerDialog(playerid,DIALOG_CARROS, DIALOG_STYLE_LIST, "Carros", "Sultan \nInfernus \nФnibus 1 \nBMX \nMountain Bike \nФnibus 2 \nFaggio \nSanchez \nQuad \nPacker \nCamper \nVortex \nNRG-500\nSolair", "Criar", "Cancelar");
    return 1;
}
pawn Код:
if(!strcmp(cmdtext, "/veh", true))
{
    if(PlayerInfo[playerid][pAdmin] < 1 || PlayerInfo[playerid][pORG] < 1 || PlayerInfo[playerid][pVIP] < 1 )
        return SendClientMessage(playerid,VERMELHO,"[Erro] Vocк nгo tem permissгo para usar este comando.");

    ShowPlayerDialog(playerid,DIALOG_CARROS, DIALOG_STYLE_LIST, "Carros", "Sultan \nInfernus \nФnibus 1 \nBMX \nMountain Bike \nФnibus 2 \nFaggio \nSanchez \nQuad \nPacker \nCamper \nVortex \nNRG-500\nSolair", "Criar", "Cancelar");
    return 1;
}
se eu deixar assim vai funcionar?
Reply


Messages In This Thread
Simples - by maluco88 - 16.09.2012, 16:57
Re: Simples - by Jason` - 16.09.2012, 17:07
Re: Simples - by maluco88 - 16.09.2012, 17:12
Re: Simples - by maluco88 - 16.09.2012, 17:23
Re: Simples - by FenixBorn - 16.09.2012, 17:25
Re: Simples - by Jason` - 16.09.2012, 17:33
Re: Simples - by maluco88 - 16.09.2012, 17:45
Re: Simples - by Jason` - 16.09.2012, 17:50
Re: Simples - by maluco88 - 16.09.2012, 17:57

Forum Jump:


Users browsing this thread: 2 Guest(s)