14.03.2014, 09:29
Why are you trying to check if the player is an admin in the dialog responce? If they've got that far they have to be that level anyway.
That's just the framework for it, add the items yourself it should be easier enough.
pawn Код:
if(response)
{
switch(dialogid)
{
case YOUR_DIALOG_NAME: //Change this to what ever your dialog is defined as
{
switch(listitem)
{
case 0:
{
//The first lot of items here
}
case 1:
{
//Second lot of items
}
case 2:
{
//And you guessed it, the third lot of items
}
}