KaLu17

[pawno.pl] -> #25873

May 3rd, 2014
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.87 KB | None | 0 0
  1. //OnDialogResponse
  2.  
  3. if(dialogid == DIALOGCHAR) //dialog postaci, komenda /postac DO ZMIANY
  4. {
  5.     if(!response)
  6.         return 1;
  7.     if(listitem == 0)
  8.     {
  9.         print("listitem 0");       
  10.     }
  11.     else if(listitem == 1)
  12.     {
  13.         print("listitem 1");
  14.     }
  15.     else if(listitem == 2)
  16.     {
  17.         print("listitem 2");
  18.     }
  19.     else if(listitem == 3)
  20.     {
  21.         print("listitem 3");
  22.     }
  23.     else if(listitem == 4)
  24.     {
  25.         print("listitem 4");
  26.     }
  27.     return 1;
  28. }
  29.  
  30. //CMD
  31.  
  32. CMD:postac(playerid, params[]) //komenda na postać, mozliwosc jej stworzenia
  33. {
  34.     SendClientMessage(playerid, COLOR_GRAY, "Tip: >> Tutaj możesz stworzyć własną postać z gotowym eq lub wybrania gotowej!"), print("debug 1");
  35.     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");
  36.     return 1;
  37. }
Advertisement
Add Comment
Please, Sign In to add comment