dialog/what the wrong with this?
#4

First use that :
pawn Код:
//==============================================================================
COMMAND:rules(playerid,params[])
{
    new DialogText[1024];
    strcat(DialogText, "             The Server Rules\n");
    strcat(DialogText, "        The Admins Rules\n");
    strcat(DialogText, "(1)Admins Rule: Don't ban forever\n");
    strcat(DialogText, "(2)Admins Rule: Don't ban or kick or mute or freeze without reason\n");
    strcat(DialogText, "       The Players Rules\n");
    strcat(DialogText, "(1)Players Rule: Don't hack/cheat / (2)Players Rule: Don;t ad / (3)Players Rule: Don't Ask to be Admin /\n");
    strcat(DialogText, "(4)Players Rule: Don't say bad word / (4)Players Rule: Don't say bad words / (5)Player Rules: Don't Go To Admins House Only Admins\n");
    ShowPlayerDialog(playerid, 701, DIALOG_STYLE_MSGBOX, "Rules", DialogText, "OK", "");
    return 1;
}
//==============================================================================
COMMAND:cmds(playerid,params[])
{
    new DialogText[1024];
    strcat(DialogText, "Account: /login /register /stats\n");
    strcat(DialogText, "Chat: /pm /me /do\n");
    strcat(DialogText, "Basic: /rules /report\n");
    strcat(DialogText, "Teleports: /gs /lsa /lc /pipe /minigames\n");
    strcat(DialogText, "Other: /lol /emenu /call /kill /healme /gang /call /hangup /pickup /flip /afk afklist /back /flip /jobs /anims\n");
    strcat(DialogText, "Cars: /tunecar /cars /lock /unlock\n");
    strcat(DialogText, "(4)Players Rule: Don't say bad word / (4)Players Rule: Don't say bad words / (5)Player Rules: Don't Go To Admins House Only Admins\n");
    ShowPlayerDialog(playerid, 700, DIALOG_STYLE_MSGBOX, "Commands", DialogText, "OK", "");
    return 1;
}
If you don't use zcmd, try this, but i don't know, is that working :
pawn Код:
//==============================================================================
if(strcmp(cmdtext, "/rules", true) == 0)
{
    new DialogText[1024];
    strcat(DialogText, "             The Server Rules\n");
    strcat(DialogText, "        The Admins Rules\n");
    strcat(DialogText, "(1)Admins Rule: Don't ban forever\n");
    strcat(DialogText, "(2)Admins Rule: Don't ban or kick or mute or freeze without reason\n");
    strcat(DialogText, "       The Players Rules\n");
    strcat(DialogText, "(1)Players Rule: Don't hack/cheat / (2)Players Rule: Don;t ad / (3)Players Rule: Don't Ask to be Admin /\n");
    strcat(DialogText, "(4)Players Rule: Don't say bad word / (4)Players Rule: Don't say bad words / (5)Player Rules: Don't Go To Admins House Only Admins\n");
    ShowPlayerDialog(playerid, 701, DIALOG_STYLE_MSGBOX, "Rules", DialogText, "OK", "");
    return 1;
}
//==============================================================================
if(strcmp(cmdtext, "/cmds", true) == 0)
{
    new DialogText[1024];
    strcat(DialogText, "Account: /login /register /stats\n");
    strcat(DialogText, "Chat: /pm /me /do\n");
    strcat(DialogText, "Basic: /rules /report\n");
    strcat(DialogText, "Teleports: /gs /lsa /lc /pipe /minigames\n");
    strcat(DialogText, "Other: /lol /emenu /call /kill /healme /gang /call /hangup /pickup /flip /afk afklist /back /flip /jobs /anims\n");
    strcat(DialogText, "Cars: /tunecar /cars /lock /unlock\n");
    strcat(DialogText, "(4)Players Rule: Don't say bad word / (4)Players Rule: Don't say bad words / (5)Player Rules: Don't Go To Admins House Only Admins\n");
    ShowPlayerDialog(playerid, 700, DIALOG_STYLE_MSGBOX, "Commands", DialogText, "OK", "");
    return 1;
}
Reply


Messages In This Thread
dialog/what the wrong with this? - by misho1 - 20.04.2011, 15:40
Re: dialog/what the wrong with this? - by Stigg - 20.04.2011, 15:51
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 15:55
Re: dialog/what the wrong with this? - by Gertin - 20.04.2011, 15:56
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 15:59
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 16:01
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 16:04
Re: dialog/what the wrong with this? - by Gertin - 20.04.2011, 16:06
Re: dialog/what the wrong with this? - by misho1 - 20.04.2011, 16:14
Re: dialog/what the wrong with this? - by Gertin - 20.04.2011, 16:22

Forum Jump:


Users browsing this thread: 1 Guest(s)