Guest User

Untitled

a guest
May 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.44 KB | None | 0 0
  1. case DIALOG_COLLOCAMENTO: {
  2.     if(response == 1) {
  3. ShowPlayerDialog(playerid,DIALOG_DOMANDA1,DIALOG_STYLE_INPUT,"Iscrizione al collocamento","Indichi il suo nome e cognome.", "Fatto", "Annulla");
  4.     }
  5. }
  6. case DIALOG_DOMANDA1: {
  7.     if(response) {
  8. ShowPlayerDialog(playerid,DIALOG_DOMANDA2,DIALOG_STYLE_INPUT,"Iscrizione al collocamento","Recapito Telefonico","Fatto","Annulla");
  9.     }
  10. }
  11. case DIALOG_DOMANDA2: {
  12.     if(response) {
  13. ShowPlayerDialog(playerid,DIALOG_DOMANDA3,DIALOG_STYLE_INPUT,"Iscrizione al collocamento","Che tipo di lavoro cerca?","Fatto","Annulla");
  14.     }
  15. }
  16.  
  17. //COMANDO PER VEDERE CIO CHE IL PLAYER HA REGISTRATO SCRIVENDO NEI DIALOG
  18. CMD:consulta(playerid, params[]) {
  19.     SendClientMessage(playerid, COLOR_WHITE, "-------------------------------------------------------------------------------------------------------------------------------");
  20.     new string[128];
  21.  
  22.     foreach(Player, i) {
  23.         if(playerVariables[i][pIscritto] >= 1) {
  24.             GetPlayerName(i, szPlayerName, MAX_PLAYER_NAME);
  25.             format(string, sizeof(string), "[Iscritto] %s - Recapito Telefonico: %d - %s", szPlayerName, playerVariables[playerid][pPhoneNumber], playerVariables[playerid][pIscrittoMessage]);
  26.             SendClientMessage(playerid, COLOR_YELLOW, string);
  27.             }
  28.         }
  29.     SendClientMessage(playerid, COLOR_WHITE, "-------------------------------------------------------------------------------------------------------------------------------");
  30.     return 1;
  31.  }
Add Comment
Please, Sign In to add comment