27.01.2013, 11:47
pawn Код:
#define ejemplo 101
pawn Код:
if(dialogid == ejemplo)
{
if(response)
{
if(listitem == 0)
{
GameTextForPlayer(playerid, "EJEMPLO", 20000, 3);
}
}
}
if(listitem == 1)
{
GameTextForPlayer(playerid, "EJEMPLO", 3000, 3);
}
if(listitem == 2)
{
GameTextForPlayer(playerid, "EJEMPLO", 3000, 3);
}
pawn Код:
if(strcmp(cmdtext, "/ejemplo", true) ==0)
{
ShowPlayerDialog(playerid, ejemplo, DIALOG_STYLE_LIST, "Ejemplo", "Aceptar", "Cancelar");
return 1;
}

