Errors
#3

Try it now
pawn Код:
enum fInfo
{
    Furnitures,
    Furniture[100],
    FurnitureName[100][MAX_PLAYER_NAME] // line 697
} // line 698

new fur[MAX_PLAYERS][fInfo];

new string[256];

    if(strcmp(cmd, "/command", true) == 0)
    {
        new s[20][MAX_PLAYER_NAME];
        for(new f = 0; f < 20; f++)
        {
            if(fur[playerid][Furniture][f] == 0) { format(s[f],sizeof(s[f]),"Free slot!");
            else { format(s[f],sizeof(s[f]),"%s",fur[playerid][FurnitureName][f]);
            strcat(string, s[f], sizeof(s[f]));
        }
        ShowPlayerDialog(playerid,28,DIALOG_STYLE_LIST,"Furnitures:",string,"Select","Exit");
        return 1;
    }
Reply


Messages In This Thread
Errors - by BGMike - 22.08.2012, 17:29
Re: Errors - by TaLhA XIV - 22.08.2012, 17:31
Re: Errors - by Glint - 22.08.2012, 17:34
Re: Errors - by BGMike - 22.08.2012, 17:41
Re: Errors - by Glint - 22.08.2012, 17:58

Forum Jump:


Users browsing this thread: 2 Guest(s)