Online admins in dialog
#4

Result is Unknown Command.
Where's wrong ?

pawn Код:
if(strcmp(cmd, "/allhouses",true)==0)
{
    new info[2000];
    for(new i = 0; i < 30; i++)
    {
        if(HouseInfo[i][hOwned] == 0)
        {
            format(string,sizeof(string),"{00FF00}House ID %d: The House Is Free\n",i);
        }
        else
        {
            format(string,sizeof(string),"{FF8000}House ID %d: Owned by: %s\n",i,HouseInfo[i][hOwner]);
        }
        strcat(info, string, sizeof(info));
        ShowPlayerDialog(playerid,17,DIALOG_STYLE_MSGBOX,"{0080FF}ALL HOUSES:",info,"Other","Close");
    }
    return 1;
}
Reply


Messages In This Thread
Online admins in dialog - by BGMike - 02.07.2012, 16:52
Re: Online admins in dialog - by rVar - 02.07.2012, 16:54
Re: Online admins in dialog - by Yashas - 02.07.2012, 16:55
Re: Online admins in dialog - by BGMike - 02.07.2012, 18:16
Re: Online admins in dialog - by Universal - 02.07.2012, 18:35
Re: Online admins in dialog - by BGMike - 02.07.2012, 19:21
Re: Online admins in dialog - by Universal - 02.07.2012, 19:43
Re: Online admins in dialog - by BGMike - 02.07.2012, 20:08
Re: Online admins in dialog - by BGMike - 03.07.2012, 11:39

Forum Jump:


Users browsing this thread: 2 Guest(s)