Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //OnDialogResponse
- if(dialogid == DIALOGCHAR) //dialog postaci, komenda /postac DO ZMIANY
- {
- if(!response)
- return 1;
- if(listitem == 0)
- {
- print("listitem 0");
- }
- else if(listitem == 1)
- {
- print("listitem 1");
- }
- else if(listitem == 2)
- {
- print("listitem 2");
- }
- else if(listitem == 3)
- {
- print("listitem 3");
- }
- else if(listitem == 4)
- {
- print("listitem 4");
- }
- return 1;
- }
- //CMD
- CMD:postac(playerid, params[]) //komenda na postać, mozliwosc jej stworzenia
- {
- SendClientMessage(playerid, COLOR_GRAY, "Tip: >> Tutaj możesz stworzyć własną postać z gotowym eq lub wybrania gotowej!"), print("debug 1");
- ShowPlayerDialog(playerid, DIALOGCHAR, DIALOG_STYLE_LIST, "Ustawienia postaci", "Stwórz własną postać\nWybierz gotową postać\n \n------\n \nWczytaj własną postać", "Wybierz", "Anuluj"), print("debug 2");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment