Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case DIALOG_COLLOCAMENTO: {
- if(response == 1) {
- ShowPlayerDialog(playerid,DIALOG_DOMANDA1,DIALOG_STYLE_INPUT,"Iscrizione al collocamento","Indichi il suo nome e cognome.", "Fatto", "Annulla");
- }
- }
- case DIALOG_DOMANDA1: {
- if(response) {
- ShowPlayerDialog(playerid,DIALOG_DOMANDA2,DIALOG_STYLE_INPUT,"Iscrizione al collocamento","Recapito Telefonico","Fatto","Annulla");
- }
- }
- case DIALOG_DOMANDA2: {
- if(response) {
- ShowPlayerDialog(playerid,DIALOG_DOMANDA3,DIALOG_STYLE_INPUT,"Iscrizione al collocamento","Che tipo di lavoro cerca?","Fatto","Annulla");
- }
- }
- //COMANDO PER VEDERE CIO CHE IL PLAYER HA REGISTRATO SCRIVENDO NEI DIALOG
- CMD:consulta(playerid, params[]) {
- SendClientMessage(playerid, COLOR_WHITE, "-------------------------------------------------------------------------------------------------------------------------------");
- new string[128];
- foreach(Player, i) {
- if(playerVariables[i][pIscritto] >= 1) {
- GetPlayerName(i, szPlayerName, MAX_PLAYER_NAME);
- format(string, sizeof(string), "[Iscritto] %s - Recapito Telefonico: %d - %s", szPlayerName, playerVariables[playerid][pPhoneNumber], playerVariables[playerid][pIscrittoMessage]);
- SendClientMessage(playerid, COLOR_YELLOW, string);
- }
- }
- SendClientMessage(playerid, COLOR_WHITE, "-------------------------------------------------------------------------------------------------------------------------------");
- return 1;
- }
Add Comment
Please, Sign In to add comment