ZCMD help
#1

pawn Код:
command(helpers, playerid, params[])
{
    #pragma unused params
    if(Player[playerid][Helper] >= 1)
    {
        new string[128];
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(Player[i][Helper] >= 1)
            {
                format(string, sizeof(string), "{37DB45}HELPER: {FFFFFF}%s", GetName(i));
                ShowPlayerDialog(playerid, 0, 9315, "Online helpers:", string, "Done", "");
            }
        }
    }
    return 1;
}
This command should show me all the online helpers into a dialog, but it shows me a dialog with an imput text and something doesn't work at all.
I made sure at OnDialogResponse there's nothing associated with this dialog ID.
Why's that?
Reply


Messages In This Thread
ZCMD help [SOLVED] - by GangsTa_ - 22.06.2011, 22:22
Re: ZCMD help - by =WoR=Varth - 22.06.2011, 22:26
Re: ZCMD help - by GangsTa_ - 22.06.2011, 22:27
Re: ZCMD help - by Laronic - 22.06.2011, 22:37
Re: ZCMD help - by Calgon - 22.06.2011, 22:39
Re: ZCMD help - by GangsTa_ - 22.06.2011, 22:47

Forum Jump:


Users browsing this thread: 1 Guest(s)