CMD:cmds(playerid)
{
new PT[2900];
strcat(PT, "{FF0000}Server Commands \n", sizeof(PT));
strcat(PT, "/ranks |/myrank |/rules|/topscores |/richlist \n", sizeof(PT));
strcat(PT, "/help | /pm | /r [text] | /ep | /anims | /laseron \n", sizeof(PT));
strcat(PT, "/lasercol | /radiohelp | /order [text] | /groupcmds \n", sizeof(PT));
strcat(PT, "/radiohelp | /order [text] | /spree |/credits |/acredits \n", sizeof(PT));
strcat(PT, "/moderators | /admins | /cmds | /st | /sc | /kill | /objective | /teams \n", sizeof(PT));
strcat(PT, "this Is Our tempory List Of Commands We Will Update More Soon!. \n", sizeof(PT));
strcat(PT, "Thanks For View Our Commands List Server will Update List Evry Time ! \n", sizeof(PT));
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "_________|- Call Of Duty - World At War Commands -|_________", PT, "Next", "Cancel");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 5 && response != 0)
{
//show the next list
And What I do more to Show the Next Page :\ can you just do this please :\
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 5 && response != 0) { Example !!!! |
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 5 && response != 0)
{
new PT[2900];
strcat(PT, "{FF0000}Server Commands 2 \n", sizeof(PT));
strcat(PT, "Here you type your commands again \n", sizeof(PT));
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX, "_________|- Call Of Duty - World At War Commands Page 2-|_________", PT, "Next", "Cancel");
if(dialogid == 6 && response != 0)
{
new PT[2900];
strcat(PT, "{FF0000}Server Commands 2 \n", sizeof(PT));
strcat(PT, "Here you type your commands again \n", sizeof(PT));
ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX, "_________|- Call Of Duty - World At War Commands Page 2-|_________", PT, "Next", "Cancel");