Attachment Items won't show **Picture**
#5

Quote:
Originally Posted by Voxel
Посмотреть сообщение
Its defenitly your string size, increase it.
Quote:
Originally Posted by offon
Посмотреть сообщение
As donhu said, your string size might be wrong. Try making it higher. Or, you did reach the text limit, although I doubt that, however it might be possible.

The limit is 2048.

Show us the rest of the code.
Quote:
Originally Posted by donhu789
Посмотреть сообщение
Show me Your Commands please ? maybe is your string Size
Here is the code:

pawn Код:
if(!strcmp(cmdtext, "/toys", true))
    {
        for(new x;x<MAX_PLAYER_ATTACHED_OBJECTS;x++)
        {
            if(IsPlayerAttachedObjectSlotUsed(playerid, x)) format(string1, sizeof(string1), "%s%d (Used)\n", string1, x);
            else format(string1, sizeof(string1), "Item 1\nItem 2\nItem 3\nItem 4\nItem 5\nItem 6\nItem 7\nItem 8\nItem 9\nItem 10", string1, x);
        }
        ShowPlayerDialog(playerid, DIALOG_ATTACH_INDEX_SELECTION, DIALOG_STYLE_LIST, \
        "{FF0000}Items Modification - Index Selection", string1, "Select", "Cancel");
        return 1;
    }
On the public OnPlayerCommandText I already have "new string[256];"..
Reply


Messages In This Thread
Attachment Items won't show **Picture** - by kubeba59 - 06.01.2014, 10:00
Re: Attachment Items won't show **Picture** - by donhu789 - 06.01.2014, 11:09
Re: Attachment Items won't show **Picture** - by offon - 06.01.2014, 11:19
Re: Attachment Items won't show **Picture** - by Voxel - 06.01.2014, 12:53
Re: Attachment Items won't show **Picture** - by kubeba59 - 06.01.2014, 15:19
Re: Attachment Items won't show **Picture** - by RedFusion - 06.01.2014, 15:49
Re: Attachment Items won't show **Picture** - by kubeba59 - 06.01.2014, 17:44
Re: Attachment Items won't show **Picture** - by RedFusion - 06.01.2014, 20:21
Re: Attachment Items won't show **Picture** - by kubeba59 - 08.01.2014, 17:40
Re: Attachment Items won't show **Picture** - by AustinWeerdGuy - 08.01.2014, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)