[pawn]#include <a_samp> public OnFilterScriptInit() { print("\n--------------------------------------"); print(" FS by Andy47"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/cmds", cmdtext, true, 10) == 0) { new cmds[123];//am facut new-ul am pus 1 acolo daca ai gm deja ceva definit schimbal.... strcat(cmds,"Drifts \n",123);//am facut strcat strcat(cmds,"/drift[1-100] \n",123);//am facut strcat strcat(cmds,"/adrift /sdrift /vdrift \n",123);//am facut strcat ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "Commands Page 1:",cmds, "Next","Close"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 123) //apasa playeru primu buton adica Next { if(response) { ShowPlayerDialog(playerid, 124, DIALOG_STYLE_MSGBOX,"Commands Part2", "Others \n /lvair /ls /sf /lsair \n", "Next","Close"); } else // a doilea buton nu face nimic...aici puteai face cu back { } return 1; } if(dialogid == 124) // asta e la cea din inainte cand dai Next { if(response) { ShowPlayerDialog(playerid, 124, DIALOG_STYLE_MSGBOX,"Commands Part3", "DM \n /ddz /ddz2 /m4am /ak47 \n", "Ok","Close"); } else // a doilea buton nu face nimica aici puteai face cu back { } return 1; } return 1; } [/pawn] EDIT: vroiam sa tio fac si cu back dar..trb acolo schimbat ceva daca vrei sa-ti fac cautama:D