[Ajuda] Me Ajuda com Isso Aki!!!
#1

Й palhaзada apagaram meu tуpico anterior, seguinte galera... quero que a opзгo Voltar que й a linha
pawn Код:
case 8: return ChangeMenu(playerid,Current,LMainMenu);
essa opзгo retornarб o player para o menu, й isso que eu nгo quero, quero que essa opзгo apareзa somente para o admin, esse й um sub-menu do MENU, eu liberei para os players terem acesso, mais se o cara der voltar ele terб acesso aos outros comandos, entederam?

Cуdigo:

pawn Код:
if(Current==LVehicles){
        switch(row){
            case 0: ChangeMenu(playerid,Current,twodoor);
            case 1: ChangeMenu(playerid,Current,fourdoor);
            case 2: ChangeMenu(playerid,Current,fastcar);
            case 3: ChangeMenu(playerid,Current,Othercars);
            case 4: ChangeMenu(playerid,Current,bikes);
            case 5: ChangeMenu(playerid,Current,boats);
            case 6: ChangeMenu(playerid,Current,planes);
            case 7: ChangeMenu(playerid,Current,helicopters);
            case 8: return ChangeMenu(playerid,Current,LMainMenu);
        }
        return 1;
    }
.
Reply
#2

pawn Код:
if(Current == LVehicles)
{
    switch(row)
    {
        case 0: ChangeMenu(playerid, Current, twodoor);
        case 1: ChangeMenu(playerid, Current, fourdoor);
        case 2: ChangeMenu(playerid, Current, fastcar);
        case 3: ChangeMenu(playerid, Current, Othercars);
        case 4: ChangeMenu(playerid, Current, bikes);
        case 5: ChangeMenu(playerid, Current, boats);
        case 6: ChangeMenu(playerid, Current, planes);
        case 7: ChangeMenu(playerid, Current, helicopters);
        case 8: ChangeMenu(playerid, Current, LMainMenu);
    }
    return 1;
}
Reply
#3

Pra que esse return?
Reply
#4

Quote:
Originally Posted by BeK
Посмотреть сообщение
Pra que esse return?
Vai intender...
Reply
#5

Quote:
Originally Posted by [NV]Dr._.THE
Посмотреть сообщение
Vai intender...
kkkkk
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)