Wanted list unkonw on dialog?
#1

pawn Код:
if(strcmp(cmd, "/wanted", true) == 0)
    {
        if(PlayerInfo[playerid][pMember] != 1)
        {
            SendClientMessage(playerid, COLOR_GRAD2, "    You are not a cop.");
            return 1;
        }
        new index;
        new stringx[456];
        format(stringx, sizeof(stringx), "{f48555}_______________________________\nListг urmгrire:");
        for (new i; i<=MAX_PLAYERS; i++)
        {
            new zone[MAX_ZONE_NAME];
            index ++;
            GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
            if(PlayerInfo[playerid][pIsolated] != 1)
            {
                format(stringx, 456, "%s\n{f48555}%d. %s (%d) {fec879}(W.%d){f48555} (%s)", stringx, index, GetName(i),i, PlayerInfo[i][pWanted],zone);
            }
            else
            {
                format(stringx, 456, "%s\n{f48555}%d. %s (%d) {9b0000}(IZOLAT){f48555} (%s)", stringx, index,GetName(i),i,zone);
            }
        }
        format(stringx,456, "%s\n{f48555}_______________________________", stringx);
        ShowPlayerDialog(playerid, DIALOG_WANTED, DIALOG_STYLE_MSGBOX, "{9E9E9E}Listг de urmгrire", stringx, "Done", "");
    }
result
.... why?
[img]
http://i.imgur.com/j3FOE69.jpg
[/img]
Reply


Messages In This Thread
Wanted list unkonw on dialog? - by Metharon - 27.07.2015, 03:35
Re: Wanted list unkonw on dialog? - by DarkLored - 27.07.2015, 03:38
Re: Wanted list unkonw on dialog? - by SickAttack - 27.07.2015, 03:43

Forum Jump:


Users browsing this thread: 1 Guest(s)