Dialog Help
#2

pawn Код:
case 4:
                    {
                        {
                                new string[128];
                                for(new x;x<MAX_PLAYER_ATTACHED_OBJECTS;x++)
                                {
                                    if(IsPlayerAttachedObjectSlotUsed(playerid, x))
                                    {
                                    format(string, sizeof(string), "%s%d (Used)\n", string, x);
                                     }
                                    else
                                    {
                                    format(string, sizeof(string), "%s%d\n", string, x);
                                    ShowPlayerDialog(playerid, DIALOG_ATTACH_INDEX_SELECTION, DIALOG_STYLE_LIST, "Toy Editor - Index Selection", string, "Select", "Cancel");
                                    }
                                    }
                                return 1;
                            }
                        }
Reply


Messages In This Thread
Dialog Help - by arko123 - 21.12.2012, 18:01
Re: Dialog Help - by DaRk_RaiN - 21.12.2012, 18:30
Re: Dialog Help - by arko123 - 21.12.2012, 18:32

Forum Jump:


Users browsing this thread: 1 Guest(s)