17.01.2011, 14:19
Reservar um item da lista? Assim:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == seudialog)
{
switch(listitem)
{
case 0:
{
if(PlayerInfo[playerid][pMembroOrg] == 21)
{
//fazer isso
}
else // do contrario
{
SendClientMessage(playerid, COLOR_YELLOW, "pegadinha do malandro! rб!");
return 1;
}
}
case 1:
{
//
}
}
}
return 0;
}