[Off] Dъvida rбpida
#1

Eu tou com dъvida nessa parte, Quando eu uso o DIALOG_STYLE_LIST, eu queria saber se pode retornar o listitem que eu escolhi na Dialog?

Exemplo: Eu escolhi o Listitem 1(Segunda), aн eu posso retornar nesse caso

PHP код:
        if(response)
        {
            new 
vehicleid GetNearVehicleID(playerid);
            
            return 
AdicionarCaixa(playeridvehicleidSlotCaixote[playerid], listitem 1);
        } 
E nгo precisar ficar fazendo isso:

PHP код:
if(listitemk == 0)
{
}
if(
listitem == 1)
{
}
if(
listitem == 2)
{
}
.... 
Posso fazer o primeiro caso acima?
Reply
#2

Sim, sem problemas.
Reply
#3

Quote:
Originally Posted by Eiss
Посмотреть сообщение
Sim, sem problemas.
Valeu!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)