їComo hago esto?
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/vermapa", cmdtext, true, 10) == 0)
    {
        howPlayerDialog(playerid, 1,  DIALOG_STYLE_LIST , "titulo", " opcion 1 \nopcion 2 \nopcion 3", "seleccionar", "cancelar");
        return 1;
    }
    return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case 0:
        {
               //aca tu SetPlayerCheckpoint y demas Funcion...
        }
        case 1:
        {
               //aca tu SetPlayerCheckpoint y demas Funcion...
        }
        case 2:
        {
               //aca tu  SetPlayerCheckpointy demas Funcion...
        }
        //ETC..
    }
    return 1;
}
SetPlayerCheckpoint
OnDialogResponse
howPlayerDialog
Reply


Messages In This Thread
їComo hago esto? - by [D]aniel - 09.10.2012, 20:26
Respuesta: їComo hago esto? - by OTACON - 09.10.2012, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)