27.06.2012, 04:02
K. The OnDialogResponse is okay now. Guess it was the command.
and my define for the 'Toys':
Still having problems with the return.
pawn Код:
command(attach, playerid, params[])
{
ShowPlayerDialog(playerid, DIALOG_TOYS, DIALOG_STYLE_LIST, "Attach toys", "Briefcase\nFire Hydrant\nGas Pump\nWooden Crate\nSmall Buolder\nBBQ Grill\nBeer\nTelevision", "Select", "Cancel");
}
return 1;
}
pawn Код:
#define DIALOG_TOYS 1
Still having problems with the return.