18.04.2014, 10:35
PHP код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 5001)
{
if(response)
{
switch(listitem)
{
case 0: ShowPlayerDialog(playerid,5010,DIALOG_STYLE_INPUT,"Deposit","Type ammount of money you want deposit in your house","Done!","Quit");
case 1: ShowPlayerDialog(playerid,5020,DIALOG_STYLE_INPUT,"Withdraw","Type ammount of money you want withdraw from your house","Done!","Quit");
}
}
if(!response) return 0;
}
return 0;
}
Help.