weapondialog not working
#6

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == dmdia && response)
    {
        if(response)
        {
            if(listitem == 0)
            {
        GivePlayerWeapon(playerid,31,999);
            }
            else if(listitem == 1)
            {
        GivePlayerWeapon(playerid,23,999);
            }
            else if(listitem == 2)
            {
        GivePlayerWeapon(playerid,25,999);
            }
            else if(listitem == 3)
            {
        GivePlayerWeapon(playerid,8,999);
            }          
        }
    }
if(dialogid == dmdia+1&& response)
    {
         if(response)
             {  
           if(listitem == 0)
                  {
            GivePlayerWeapon(playerid,27,999);
                   }
                  else if(listitem == 1)
                 {
            GivePlayerWeapon(playerid,23,999);
                  }
                  if(listitem == 2)
                 {
           GivePlayerWeapon(playerid,34,999);
                  }
                  else if(listitem == 3)
                  {
            GivePlayerWeapon(playerid,8,999);
                   }   
               else if(listitem==4)
               {
            GivePlayerWeapon(playerid,28,999);
        }
    }
    return 1;
}
Reply


Messages In This Thread
weapondialog not working - by webhead - 28.06.2014, 18:08
Re: weapondialog not working - by Konstantinos - 28.06.2014, 18:10
Re: weapondialog not working - by webhead - 28.06.2014, 18:44
Re : weapondialog not working - by Clad - 28.06.2014, 18:48
Re: weapondialog not working - by webhead - 28.06.2014, 19:01
Re : weapondialog not working - by Clad - 28.06.2014, 19:05
Re: weapondialog not working - by webhead - 28.06.2014, 19:09
Re : weapondialog not working - by Clad - 28.06.2014, 19:10
Re: weapondialog not working - by webhead - 28.06.2014, 19:32
Re: weapondialog not working - by Konstantinos - 29.06.2014, 12:09

Forum Jump:


Users browsing this thread: 1 Guest(s)