daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest Apr 24th, 2016 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     if(pickupid == panel_pickup)
  2.     {
  3.         new nazwa[MAX_PLAYER_NAME]; //Nazwa gracza
  4.         new string[256]; //Wiadomosc
  5.         GetPlayerName(playerid,nazwa,sizeof(nazwa));
  6.         format(string,sizeof(string),"Panel gracza {0048FF}%s", nazwa);
  7.         ShowPlayerDialog(playerid, panel_dialog, DIALOG_STYLE_LIST, string, "Dane {0048FF}Konta\nDane {0048FF}Biznesu\n", "Wybierz", "Anuluj");
  8.     }
  9. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  10. {
  11.     if(dialogid == panel_dialog)
  12.     {
  13.         new nazwa[MAX_PLAYER_NAME]; //Nazwa gracza
  14.         new string[256]; //Wiadomosc
  15.         new dane[256];
  16.         GetPlayerName(playerid,nazwa,sizeof(nazwa));
  17.         format(dane,sizeof(dane),"Twoj AdminLevel: %d", AdminLevel);
  18.         format(string,sizeof(string),"Panel gracza {0048FF}%s", nazwa);
  19.         switch(listitem)
  20.         {
  21.             case 0: ShowPlayerDialog(playerid, panel_konto_dialog, DIALOG_STYLE_LIST, string, dane, "Wybierz", "Anuluj");
  22.         }
  23.     }
  24.     return 1;
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top